Searched refs:requestShutdownAp (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessServiceUnitTest.java | 678 verify(mCarPowerManagementService, timeout(WAIT_TIMEOUT_MS)).requestShutdownAp( in testRemoveCarRemoteTaskClient_removeActiveTasks() 801 verify(mCarPowerManagementService, never()).requestShutdownAp(anyInt(), anyBoolean()); in testReportTaskDone_withPowerStateOff() 802 verify(mCarPowerManagementService, timeout(WAIT_TIMEOUT_MS)).requestShutdownAp( in testReportTaskDone_withPowerStateOff() 817 verify(mCarPowerManagementService, timeout(WAIT_TIMEOUT_MS)).requestShutdownAp( in testReportRemoteTaskDone_withPowerStateS2R() 833 verify(mCarPowerManagementService, never()).requestShutdownAp( in testReportRemoteTaskDone_withPowerStateOn() 850 verify(mCarPowerManagementService, never()).requestShutdownAp( in testReportRemoteTaskDone_vehicleInUse() 898 verify(mCarPowerManagementService, never()).requestShutdownAp(anyInt(), anyBoolean()); in testUnbindServiceAfterTaskComplete() 1013 .requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_OFF, in testWrappingUpCarRemoteAccessServiceAfterAllowedTime() 1029 .requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_OFF, in testWrappingUpCarRemoteAccessServiceAfterAllowedTime_vehicleInUse() 1218 verify(mCarPowerManagementService, never()).requestShutdownAp(anyInt(), anyBoolean()); in testReportReadyForShutdown() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | MockedPowerHalService.java | 202 public void requestShutdownAp(@PowerState.ShutdownType int powerState, boolean runGarageMode) { in requestShutdownAp() method in MockedPowerHalService
|
D | PowerHalServiceUnitTest.java | 577 mPowerHalService.requestShutdownAp(powerState, runGarageMode); in testRequestShutdownAp() 589 mPowerHalService.requestShutdownAp(/* powerState= */ 99999, /* runGarageMode= */ true); in testRequestShutdownAp_invalidInput()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 1962 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_ON, in testRequestShutDownAp_On() 1972 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_OFF, in testRequestShutDownAp_Off() 1984 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, in testRequestShutDownAp_SuspendToRam() 1996 assertThrows(UnsupportedOperationException.class, () -> mService.requestShutdownAp( in testRequestShutDownAp_SuspendToRam_notAllowed() 2004 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_DISK, in testRequestShutDownAp_SuspendToDisk() 2016 assertThrows(UnsupportedOperationException.class, () -> mService.requestShutdownAp( in testRequestShutDownAp_SuspendToDisk_notAllowed() 2023 mService.requestShutdownAp(/* nextPowerState= */ 999999, /* runGarageMode= */ true); in testRequestShutDownAp_InvalidPowerState()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 511 public void requestShutdownAp(@PowerState.ShutdownType int powerState, boolean runGarageMode) { in requestShutdownAp() method in PowerHalService
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 3758 public void requestShutdownAp(int nextPowerState, boolean runGarageMode) { in requestShutdownAp() method in CarPowerManagementService 3783 mHal.requestShutdownAp(shutdownParam, runGarageMode); in requestShutdownAp() 3818 requestShutdownAp(getLastShutdownState(), /* runGarageMode= */ true); in maybeEnterGarageModeOnBoot()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 1369 mPowerService.requestShutdownAp(nextPowerState, runGarageMode); in shutdownIfNeeded()
|