Home
last modified time | relevance | path

Searched refs:runGarageMode (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/car-lib/src/android/car/remoteaccess/
DICarRemoteAccessService.aidl54 void setPowerStatePostTaskExecution(int nextPowerState, boolean runGarageMode); in setPowerStatePostTaskExecution() argument
DCarRemoteAccessManager.java509 boolean runGarageMode) { in setPowerStatePostTaskExecution() argument
511 mService.setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in setPowerStatePostTaskExecution()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java511 public void requestShutdownAp(@PowerState.ShutdownType int powerState, boolean runGarageMode) { in requestShutdownAp() argument
515 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.SHUTDOWN_ONLY in requestShutdownAp()
519 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.CAN_SLEEP in requestShutdownAp()
523 shutdownParam = runGarageMode ? VehicleApPowerStateShutdownParam.CAN_HIBERNATE in requestShutdownAp()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java303 boolean runGarageMode = true; in testSetPowerStatePostTaskExecution()
305 mRemoteAccessManager.setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in testSetPowerStatePostTaskExecution()
307 verify(mService).setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in testSetPowerStatePostTaskExecution()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java1088 public void setPowerStatePostTaskExecution(int nextPowerState, boolean runGarageMode) { in setPowerStatePostTaskExecution() argument
1091 nextPowerState, runGarageMode); in setPowerStatePostTaskExecution()
1095 mRunGarageMode = runGarageMode; in setPowerStatePostTaskExecution()
1343 boolean runGarageMode; in shutdownIfNeeded()
1359 runGarageMode = mRunGarageMode; in shutdownIfNeeded()
1367 nextPowerState, runGarageMode); in shutdownIfNeeded()
1369 mPowerService.requestShutdownAp(nextPowerState, runGarageMode); in shutdownIfNeeded()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java575 boolean runGarageMode = request.second; in testRequestShutdownAp()
576 Log.i(TAG, "Testing requestShutdownAp(" + powerState + ", " + runGarageMode + ")"); in testRequestShutdownAp()
577 mPowerHalService.requestShutdownAp(powerState, runGarageMode); in testRequestShutdownAp()
DMockedPowerHalService.java202 public void requestShutdownAp(@PowerState.ShutdownType int powerState, boolean runGarageMode) { in requestShutdownAp() argument
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3758 public void requestShutdownAp(int nextPowerState, boolean runGarageMode) { in requestShutdownAp() argument
3783 mHal.requestShutdownAp(shutdownParam, runGarageMode); in requestShutdownAp()