Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java316 mPowerSignalListener.addEventListener(PowerHalService.SET_SHUTDOWN_START); in shutdownTest_withCarPowerCancelShellCommand()
325 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_SHUTDOWN_START); in shutdownTest_withCarPowerCancelShellCommand()
328 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in shutdownTest_withCarPowerCancelShellCommand()
544 mPowerSignalListener.addEventListener(PowerHalService.SET_SHUTDOWN_START); in testShutdownImmediately()
555 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_SHUTDOWN_START, 0); in testShutdownImmediately()
558 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdownImmediately()
568 mPowerSignalListener.addEventListener(PowerHalService.SET_SHUTDOWN_START); in testEmergencyShutdown()
603 assertStateReceivedForShutdownOrSleepWithoutPostpone(PowerHalService.SET_SHUTDOWN_START, 0); in testEmergencyShutdown()
608 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testEmergencyShutdown()
622 mPowerSignalListener.addEventListener(PowerHalService.SET_SHUTDOWN_START); in testEmergencyShutdownCancel()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DMockedPowerHalService.java147 doSendState(SET_SHUTDOWN_START, wakeupTimeSec); in sendShutdownStart()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java137 public static final int SET_SHUTDOWN_START = VehicleApPowerStateReport.SHUTDOWN_START; field in PowerHalService
166 case SET_SHUTDOWN_START: baseName = "SHUTDOWN_START"; break; in powerStateReportName()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java180 assertStateReceivedForShutdownOrSleepWithPostpone(PowerHalService.SET_SHUTDOWN_START, 0); in testRequestShutdownOnNextSuspend_positive()