Home
last modified time | relevance | path

Searched refs:SET_HIBERNATION_ENTRY (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DMockedPowerHalService.java165 doSendState(SET_HIBERNATION_ENTRY, wakeupTimeSec); in sendHibernationEntry()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java153 public static final int SET_HIBERNATION_ENTRY = VehicleApPowerStateReport.HIBERNATION_ENTRY; field in PowerHalService
170 case SET_HIBERNATION_ENTRY: baseName = "HIBERNATION_ENTRY"; break; in powerStateReportName()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java338 mPowerSignalListener.addEventListener(PowerHalService.SET_HIBERNATION_ENTRY); in testCanHibernate()
347 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_HIBERNATION_ENTRY); in testCanHibernate()
348 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_ENTRY, WAIT_TIMEOUT_MS); in testCanHibernate()
521 mPowerSignalListener.addEventListener(PowerHalService.SET_HIBERNATION_ENTRY); in hibernateImmediately()
529 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_HIBERNATION_ENTRY, 0); in hibernateImmediately()
531 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_ENTRY, WAIT_TIMEOUT_MS); in hibernateImmediately()
2797 || lastState == MockedPowerHalService.SET_HIBERNATION_ENTRY) in assertStateReceivedForShutdownOrSleepWithPostpone()