Home
last modified time | relevance | path

Searched refs:DEFAULT_TIME_TO_ACTIVATE_SECONDS (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp189 .WillByDefault(Return(DEFAULT_TIME_TO_ACTIVATE_SECONDS)); in defaultThresholds()
192 .WillByDefault(Return(DEFAULT_TIME_TO_ACTIVATE_SECONDS)); in defaultThresholds()
217 DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in initToActive()
261 .WillOnce(DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in TEST_F()
274 int time_expected = DEFAULT_TIME_TO_ACTIVATE_SECONDS - 1; in TEST_F()
301 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1; in TEST_F()
306 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1; in TEST_F()
328 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS), in TEST_F()
331 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS; in TEST_F()
334 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + in TEST_F()
[all …]
/hardware/google/pixel/health/include/pixelhealth/
DBatteryDefender.h36 const uint32_t DEFAULT_TIME_TO_ACTIVATE_SECONDS = (4 * ONE_DAY_IN_SECONDS); variable
55 const int32_t timeToActivateSecs = DEFAULT_TIME_TO_ACTIVATE_SECONDS,