Searched refs:nextPowerState (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 1088 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/ |
D | ICarRemoteAccessService.aidl | 54 void setPowerStatePostTaskExecution(int nextPowerState, boolean runGarageMode); in setPowerStatePostTaskExecution() argument
|
D | CarRemoteAccessManager.java | 508 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/ |
D | CarRemoteAccessManagerUnitTest.java | 302 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/ |
D | CarPowerManagementService.java | 3758 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/ |
D | CarPowerManagementServiceUnitTest.java | 2690 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()
|