Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java512 int shutdownParam = VehicleApPowerStateShutdownParam.SHUTDOWN_IMMEDIATELY; in requestShutdownAp() local
515 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.SHUTDOWN_ONLY in requestShutdownAp()
519 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.CAN_SLEEP in requestShutdownAp()
523 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.CAN_HIBERNATE in requestShutdownAp()
534 mHal.set(SHUTDOWN_REQUEST, /* areaId= */ 0).to(shutdownParam); in requestShutdownAp()
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java593 private void verifyShutdownRequestSent(int shutdownParam) throws Exception { in verifyShutdownRequestSent() argument
600 assertThat(value.value.int32Values).isEqualTo(new int[]{shutdownParam}); in verifyShutdownRequestSent()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3759 int shutdownParam = PowerState.SHUTDOWN_TYPE_POWER_OFF; in requestShutdownAp() local
3765 shutdownParam = PowerState.SHUTDOWN_TYPE_POWER_OFF; in requestShutdownAp()
3771 shutdownParam = PowerState.SHUTDOWN_TYPE_DEEP_SLEEP; in requestShutdownAp()
3777 shutdownParam = PowerState.SHUTDOWN_TYPE_HIBERNATION; in requestShutdownAp()
3783 mHal.requestShutdownAp(shutdownParam, runGarageMode); in requestShutdownAp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java1118 int shutdownParam = 0; in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled() local
1119 mPowerHal.setCurrentPowerState(new PowerState(invalidPowerState, shutdownParam)); in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled()