Home
last modified time | relevance | path

Searched refs:INVALID_TIMEOUT (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeControllerTest.java21 import static com.android.car.power.CarPowerManagementService.INVALID_TIMEOUT;
144 mController.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, INVALID_TIMEOUT); in testOnShutdownPrepare_shouldInitiateGarageMode()
159 mController.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, INVALID_TIMEOUT); in testOnShutdownCancelled_shouldCancelGarageMode()
162 mController.onStateChanged(CarPowerManager.STATE_SHUTDOWN_CANCELLED, INVALID_TIMEOUT); in testOnShutdownCancelled_shouldCancelGarageMode()
206 controller.onStateChanged(CarPowerManager.STATE_SHUTDOWN_CANCELLED, INVALID_TIMEOUT); in testOnStateChanged()
210 controller.onStateChanged(CarPowerManager.STATE_SHUTDOWN_ENTER, INVALID_TIMEOUT); in testOnStateChanged()
214 controller.onStateChanged(CarPowerManager.STATE_SUSPEND_ENTER, INVALID_TIMEOUT); in testOnStateChanged()
218 controller.onStateChanged(CarPowerManager.STATE_HIBERNATION_ENTER, INVALID_TIMEOUT); in testOnStateChanged()
222 controller.onStateChanged(CarPowerManager.STATE_INVALID , INVALID_TIMEOUT); in testOnStateChanged()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java153 public static final long INVALID_TIMEOUT = -1L; field in CarPowerManagementService
983 sendPowerManagerEvent(carPowerStateListenerState, INVALID_TIMEOUT); in handleWaitForVhal()
1063 sendPowerManagerEvent(CarPowerManager.STATE_ON, INVALID_TIMEOUT); in handleOn()
1637 notifyListeners(mPowerManagerListeners, newState, INVALID_TIMEOUT); in sendPowerManagerEvent()
1641 long internalListenerExpirationTimeMs = INVALID_TIMEOUT; in sendPowerManagerEvent()
1642 long binderListenerExpirationTimeMs = INVALID_TIMEOUT; in sendPowerManagerEvent()
1665 isShutdownPrepare ? INVALID_TIMEOUT : internalListenerExpirationTimeMs; in sendPowerManagerEvent()