Searched refs:dataTimeValid (Results 1 – 1 of 1) sorted by relevance
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 328 bool dataTimeValid; in debugStateResidency() local 355 {}, [&status, &results, &dataTime, &dataTimeValid](auto rResults, auto rStatus) { in debugStateResidency() 358 dataTimeValid = (clock_gettime(CLOCK_BOOTTIME, &dataTime) == 0); in debugStateResidency() 377 if (dataTimeValid && prevDataTimeValid) { in debugStateResidency() 388 prevDataTimeValid = dataTimeValid; in debugStateResidency() 466 bool dataTimeValid = false; in debugEnergyData() local 482 {}, [&status, &energyData, &dataTime, &dataTimeValid](auto rEnergyData, auto rStatus) { in debugEnergyData() 485 dataTimeValid = (clock_gettime(CLOCK_BOOTTIME, &dataTime) == 0); in debugEnergyData() 503 if (dataTimeValid && prevDataTimeValid) { in debugEnergyData() 513 prevDataTimeValid = dataTimeValid; in debugEnergyData()
|