Home
last modified time | relevance | path

Searched refs:SHUTDOWN_PREPARE (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java124 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal()
138 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()
144 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()
150 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()
156 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()
173 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromOn()
185 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromShutdownPrepare()
187 VehicleApPowerStateReport.SHUTDOWN_PREPARE); in testImmediateShutdownFromShutdownPrepare()
190 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testImmediateShutdownFromShutdownPrepare()
203 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testDeepSleepEntryAfterGarageMode()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java323 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in shutdownTest_withCarPowerCancelShellCommand()
343 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testCanHibernate()
526 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in hibernateImmediately()
551 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownImmediately()
600 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testEmergencyShutdown()
634 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testEmergencyShutdownCancel()
646 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testEmergencyShutdownCancel()
656 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testEmergencyShutdownCancel()
699 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in suspendTest_withCarPowerCancelShellCommand()
718 VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testShutdownOnSuspend()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java177 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testRequestShutdownOnNextSuspend_positive()
190 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testRequestShutdownOnNextSuspend_negative()
203 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testScheduleNextWakeupTime()
217 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testSetListener()
240 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testSetListenerWithCompletion()
259 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testClearListener()
273 setPowerState(VehicleApPowerStateReq.SHUTDOWN_PREPARE, in testGetPowerState()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java141 public static final int SET_SHUTDOWN_PREPARE = VehicleApPowerStateReport.SHUTDOWN_PREPARE;
181 case VehicleApPowerStateReq.SHUTDOWN_PREPARE: baseName = "SHUTDOWN_PREPARE"; break; in powerStateReqName()
247 if (mState != VehicleApPowerStateReq.SHUTDOWN_PREPARE) { in canPostponeShutdown()
263 Preconditions.checkArgument(mState == VehicleApPowerStateReq.SHUTDOWN_PREPARE, in canSuspend()
281 Preconditions.checkArgument(mState == VehicleApPowerStateReq.SHUTDOWN_PREPARE, in getShutdownType()
438 setPowerState(VehicleApPowerStateReport.SHUTDOWN_PREPARE, 0); in sendShutdownPrepare()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java802 if (newState.mState == CpmsState.SHUTDOWN_PREPARE) { in onApPowerStateChange()
804 pendingState.mState == CpmsState.SHUTDOWN_PREPARE in onApPowerStateChange()
854 if (newState.mState == CpmsState.SHUTDOWN_PREPARE && newState.mState == prevState.mState in doHandlePowerStateChange()
875 case CpmsState.SHUTDOWN_PREPARE: in doHandlePowerStateChange()
1239 onApPowerStateChange(CpmsState.SHUTDOWN_PREPARE, in handlePreShutdownPrepare()
1787 || (newState.mState == CpmsState.SHUTDOWN_PREPARE); in needPowerStateChangeLocked()
1793 transitionAllowed = (newState.mState == CpmsState.SHUTDOWN_PREPARE) in needPowerStateChangeLocked()
1797 case CpmsState.SHUTDOWN_PREPARE: in needPowerStateChangeLocked()
1801 ((newState.mState == CpmsState.SHUTDOWN_PREPARE) && !newState.mCanPostpone) in needPowerStateChangeLocked()
2208 && (mCurrentState.mState == CpmsState.SHUTDOWN_PREPARE in finishShutdownPrepare()
[all …]
/packages/services/Car/cpp/powerpolicy/aidl/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl119 SHUTDOWN_PREPARE = 7, enumConstant
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/1/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl52 SHUTDOWN_PREPARE = 7, enumConstant
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/current/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl52 SHUTDOWN_PREPARE = 7, enumConstant
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java23 import static android.hardware.automotive.vehicle.VehicleApPowerStateReq.SHUTDOWN_PREPARE;
251 new int[]{SHUTDOWN_PREPARE, CAN_SLEEP}); in testHalEventListenerPowerStateChange()
255 .isEqualTo(SHUTDOWN_PREPARE); in testHalEventListenerPowerStateChange()
692 return new PowerHalService.PowerState(SHUTDOWN_PREPARE, flag); in createShutdownPrepare()
/packages/services/Car/service/proto/android/car/telemetry/
Datoms.proto243 SHUTDOWN_PREPARE = 2; enumerator
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp710 SHUTDOWN_PREPARE); in TEST_F()