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.cpp134 DEFAULT_TIME_TO_ACTIVATE_SECONDS, DEFAULT_TIME_TO_CLEAR_SECONDS, false) {} in BatteryDefenderTest()
191 .WillByDefault(Return(DEFAULT_TIME_TO_ACTIVATE_SECONDS)); in defaultThresholds()
194 .WillByDefault(Return(DEFAULT_TIME_TO_ACTIVATE_SECONDS)); in defaultThresholds()
219 DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in initToActive()
263 .WillOnce(DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in TEST_F()
276 int time_expected = DEFAULT_TIME_TO_ACTIVATE_SECONDS - 1; in TEST_F()
303 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1; in TEST_F()
308 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1; in TEST_F()
330 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS), in TEST_F()
333 testvar_systemTimeSecs += DEFAULT_TIME_TO_ACTIVATE_SECONDS; in TEST_F()
[all …]
/hardware/google/pixel/health/include/pixelhealth/
DBatteryDefender.h37 const uint32_t DEFAULT_TIME_TO_ACTIVATE_SECONDS = (4 * ONE_DAY_IN_SECONDS); variable
58 const int32_t timeToActivateSecs = DEFAULT_TIME_TO_ACTIVATE_SECONDS,