/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPowerManagementTest.java | 82 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal() 98 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromOn() 109 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromShutdownPrepare() 111 VehicleApPowerStateReport.SHUTDOWN_PREPARE); in testImmediateShutdownFromShutdownPrepare() 114 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromShutdownPrepare() 127 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testCancelShutdownFromShutdownPrepare() 129 VehicleApPowerStateReport.SHUTDOWN_PREPARE); in testCancelShutdownFromShutdownPrepare() 169 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testInvalidTransitionsFromPrepareShutdown() 171 VehicleApPowerStateReport.SHUTDOWN_PREPARE); in testInvalidTransitionsFromPrepareShutdown() 176 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testInvalidTransitionsFromPrepareShutdown() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPowerManagementService.java | 311 case CpmsState.SHUTDOWN_PREPARE: in doHandlePowerStateChange() 515 sendPowerManagerEvent(CarPowerStateListener.SHUTDOWN_PREPARE); in handleShutdownPrepare() 535 sendPowerManagerEvent(CarPowerStateListener.SHUTDOWN_PREPARE); in simulateShutdownPrepare() 630 boolean allowCompletion = (newState == CarPowerStateListener.SHUTDOWN_PREPARE); in sendPowerManagerEvent() 724 || (newState.mState == CpmsState.SHUTDOWN_PREPARE); in needPowerStateChangeLocked() 728 return (newState.mState == CpmsState.SHUTDOWN_PREPARE) in needPowerStateChangeLocked() 730 case CpmsState.SHUTDOWN_PREPARE: in needPowerStateChangeLocked() 732 return ((newState.mState == CpmsState.SHUTDOWN_PREPARE) && !newState.mCanPostpone) in needPowerStateChangeLocked() 888 if (mCurrentState.mState == CpmsState.SHUTDOWN_PREPARE in signalComplete() 1007 public static final int SHUTDOWN_PREPARE = 2; field in CarPowerManagementService.CpmsState [all …]
|
D | BluetoothDeviceConnectionPolicy.java | 76 if (state == CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE) {
|
D | CarLocationService.java | 209 case CarPowerStateListener.SHUTDOWN_PREPARE: in onStateChanged()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPowerManagementServiceTest.java | 220 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdown() 240 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testSuspend() 259 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownOnSuspend() 276 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownOnSuspend() 293 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownCancel() 304 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownCancel() 314 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, 0)); in testShutdownWithProcessing() 327 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testSleepEntryAndWakeup() 599 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in suspendAndResumeForUserSwitchingTests() 623 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in suspendAndResumeForUserSwitchingTests()
|
D | CarLocationServiceTest.java | 338 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, future); in testStoresLocationUponShutdownPrepare() 384 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, future); in testDoesNotStoreNullLocation()
|
D | BluetoothDeviceConnectionPolicyTest.java | 202 sendPowerStateChanged(CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE); in testReceivePowerShutdownPrepare_disableBluetooth()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | ControllerTest.java | 115 startAndAssertGarageModeWithSignal(CarPowerStateListener.SHUTDOWN_PREPARE); in testOnShutdownPrepare_shouldInitiateGarageMode() 122 startAndAssertGarageModeWithSignal(CarPowerStateListener.SHUTDOWN_PREPARE); in testOnShutdownCancelled_shouldCancelGarageMode() 147 startAndAssertGarageModeWithSignal(CarPowerStateListener.SHUTDOWN_PREPARE); in testWakeupTimeProgression() 155 mController.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, mFuture); in testWakeupTimeProgression() 166 mController.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, mFuture); in testWakeupTimeProgression()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 60 public static final int SET_SHUTDOWN_PREPARE = VehicleApPowerStateReport.SHUTDOWN_PREPARE; 92 case VehicleApPowerStateReq.SHUTDOWN_PREPARE: baseName = "SHUTDOWN_PREPARE"; break; in powerStateReqName() 132 if (mState != VehicleApPowerStateReq.SHUTDOWN_PREPARE) { in canEnterDeepSleep() 145 if (mState != VehicleApPowerStateReq.SHUTDOWN_PREPARE) { in canPostponeShutdown() 249 setPowerState(VehicleApPowerStateReport.SHUTDOWN_PREPARE, 0); in sendShutdownPrepare()
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 92 int SHUTDOWN_PREPARE = 7; field 275 if (state == CarPowerStateListener.SHUTDOWN_PREPARE) { in updateFutureLocked()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | Controller.java | 85 case CarPowerStateListener.SHUTDOWN_PREPARE: in onStateChanged()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 131 if (state == CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE) {
|