Home
last modified time | relevance | path

Searched refs:SET_DEEP_SLEEP_ENTRY (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java649 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testEmergencyShutdownCancel()
702 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY); in suspendTest_withCarPowerCancelShellCommand()
736 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testShutdownOnSuspend()
759 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testShutdownCancel()
765 mPowerSignalListener.addEventListener(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testSleepImmediately()
775 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testSleepImmediately()
777 mPowerSignalListener.waitFor(PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_MS); in testSleepImmediately()
836 mPowerSignalListener.addEventListener(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testUserManagerOnResumeCallAfterSuspend()
842 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testUserManagerOnResumeCallAfterSuspend()
843 mPowerSignalListener.waitFor(PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_MS); in testUserManagerOnResumeCallAfterSuspend()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java193 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testRequestShutdownOnNextSuspend_negative()
208 PowerHalService.SET_DEEP_SLEEP_ENTRY, wakeTime); in testScheduleNextWakeupTime()
220 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testSetListener()
242 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testSetListenerWithCompletion()
262 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testClearListener()
275 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_DEEP_SLEEP_ENTRY, 0); in testGetPowerState()
277 .isEqualTo(PowerHalService.SET_DEEP_SLEEP_ENTRY); in testGetPowerState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DMockedPowerHalService.java129 doSendState(SET_DEEP_SLEEP_ENTRY, wakeupTimeSec); in sendSleepEntry()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java131 public static final int SET_DEEP_SLEEP_ENTRY = VehicleApPowerStateReport.DEEP_SLEEP_ENTRY; field in PowerHalService
163 case SET_DEEP_SLEEP_ENTRY: baseName = "DEEP_SLEEP_ENTRY"; break; in powerStateReportName()