Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java716 public void onStateChanged(int state, long expirationTimeMs) in setServiceForListenerLocked()
725 updateFutureLocked(state, expirationTimeMs); in setServiceForListenerLocked()
773 private void updateFutureLocked(@CarPowerState int state, long expirationTimeMs) { in updateFutureLocked() argument
789 }, expirationTimeMs); in updateFutureLocked()
878 private CompletablePowerStateChangeFutureImpl(Runnable runnable, long expirationTimeMs) { in CompletablePowerStateChangeFutureImpl() argument
880 mExpirationTimeMs = expirationTimeMs; in CompletablePowerStateChangeFutureImpl()
DICarPowerStateListener.aidl28 void onStateChanged(int state, long expirationTimeMs); in onStateChanged() argument
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java485 public void onStateChanged(int state, long expirationTimeMs) { in testSleepShutdownFromPreShutdownPrepare()
551 public void onStateChanged(int state, long expirationTimeMs) { in testShutdownImmediatelyFromPreShutdownPrepare()
636 public void onStateChanged(int state, long expirationTimeMs) { in testShutdownPostponeWhileListenerPendingInState()
714 public void onStateChanged(int state, long expirationTimeMs) { in registerListenerToFakeGarageMode()
/packages/modules/Wifi/WifiDialog/src/com/android/wifi/dialog/
DWifiDialogActivity.java385 long expirationTimeMs = intent.getLongExtra(EXTRA_DIALOG_EXPIRATION_TIME_MS, 0); in createAndShowDialogForIntent() local
386 if (expirationTimeMs > 0) { in createAndShowDialogForIntent()
387 timeoutMs = expirationTimeMs - SystemClock.uptimeMillis(); in createAndShowDialogForIntent()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeController.java80 public void onStateChanged(int state, long expirationTimeMs) { in onStateChanged() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java577 public void onStateChanged(int state, long expirationTimeMs) { in testEmergencyShutdown()
579 timeout[preShutdownPrepareTimeoutIndex] = expirationTimeMs; in testEmergencyShutdown()
581 expirationTimeMs).isLessThan(System.currentTimeMillis()); in testEmergencyShutdown()
584 timeout[shutdownPrepareTimeoutIndex] = expirationTimeMs; in testEmergencyShutdown()
586 expirationTimeMs).isLessThan(System.currentTimeMillis()); in testEmergencyShutdown()
997 public void onStateChanged(int state, long expirationTimeMs) { in testRegisterListenerWithCompletion()
1037 public void onStateChanged(int state, long expirationTimeMs) { in testUnregisterListenerWithCompletion()
1066 public void onStateChanged(int state, long expirationTimeMs) { in testShutdownPrepareWithCompletion_timeout()
3589 public void onStateChanged(int state, long expirationTimeMs) { in onStateChanged() argument
/packages/services/Car/service/src/com/android/car/wifi/
DCarWifiService.java85 public void onStateChanged(int state, long expirationTimeMs) {
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java143 public void onStateChanged(int state, long expirationTimeMs) {
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java218 public void onStateChanged(int state, long expirationTimeMs) {
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java1707 @CarPowerManager.CarPowerState int newState, long expirationTimeMs) { in notifyListeners() argument
1714 listener.onStateChanged(newState, expirationTimeMs); in notifyListeners()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java199 public void onStateChanged(int state, long expirationTimeMs) {