Home
last modified time | relevance | path

Searched refs:nextPowerState (Results 1 – 6 of 6) sorted by relevance

/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()
1094 mNextPowerState = nextPowerState; in setPowerStatePostTaskExecution()
1342 int nextPowerState; in shutdownIfNeeded() local
1358 nextPowerState = mNextPowerState; in shutdownIfNeeded()
1367 nextPowerState, runGarageMode); in shutdownIfNeeded()
1369 mPowerService.requestShutdownAp(nextPowerState, runGarageMode); in shutdownIfNeeded()
1371 Slogf.e(TAG, e, "Cannot shutdown to %s", nextPowerStateToString(nextPowerState)); in shutdownIfNeeded()
1761 private static String nextPowerStateToString(int nextPowerState) { in nextPowerStateToString() argument
1762 switch (nextPowerState) { in nextPowerStateToString()
[all …]
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DICarRemoteAccessService.aidl54 void setPowerStatePostTaskExecution(int nextPowerState, boolean runGarageMode); in setPowerStatePostTaskExecution() argument
DCarRemoteAccessManager.java508 public void setPowerStatePostTaskExecution(@NextPowerState int nextPowerState, in setPowerStatePostTaskExecution() argument
511 mService.setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in setPowerStatePostTaskExecution()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java302 int nextPowerState = CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM; in testSetPowerStatePostTaskExecution() local
305 mRemoteAccessManager.setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in testSetPowerStatePostTaskExecution()
307 verify(mService).setPowerStatePostTaskExecution(nextPowerState, runGarageMode); in testSetPowerStatePostTaskExecution()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3758 public void requestShutdownAp(int nextPowerState, boolean runGarageMode) { in requestShutdownAp() argument
3760 switch (nextPowerState) { in requestShutdownAp()
3780 Slogf.w(TAG, "Unknown power state(%d)", nextPowerState); in requestShutdownAp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java2690 private void suspendWithFailure(Integer nextPowerState) throws Exception { in suspendWithFailure() argument
2709 if (nextPowerState != null) { in suspendWithFailure()
2710 mPowerHal.setCurrentPowerState(new PowerState(nextPowerState, 0)); in suspendWithFailure()