Home
last modified time | relevance | path

Searched refs:CarPowerState (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java257 public @interface CarPowerState {} annotation in CarPowerManager
295 void onStateChanged(@CarPowerState int state); in onStateChanged()
332 void onStateChanged(@CarPowerState int state, in onStateChanged()
400 public @CarPowerState int getPowerState() { in getPowerState()
695 public static boolean isCompletionAllowed(@CarPowerState int state) { in isCompletionAllowed()
773 private void updateFutureLocked(@CarPowerState int state, long expirationTimeMs) { in updateFutureLocked()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java321 @CarPowerManager.CarPowerState
783 @CarPowerManager.CarPowerState int carPowerStateListenerState) { in onApPowerStateChange()
896 private void notifyPowerStateChangeToDaemon(@CarPowerManager.CarPowerState int powerState) { in notifyPowerStateChangeToDaemon()
910 @CarPowerManager.CarPowerState int powerState) { in notifyPowerStateChangeToDaemon()
967 @CarPowerManager.CarPowerState int carPowerStateListenerState = in handleWaitForVhal()
1102 private void applyDefaultPowerPolicyForState(@CarPowerManager.CarPowerState int state, in applyDefaultPowerPolicyForState()
1634 private void sendPowerManagerEvent(@CarPowerManager.CarPowerState int newState, in sendPowerManagerEvent()
1707 @CarPowerManager.CarPowerState int newState, long expirationTimeMs) { in notifyListeners()
1760 @CarPowerManager.CarPowerState int nextListenerState; in doHandleSuspend()
2030 public @CarPowerManager.CarPowerState int getPowerState() { in getPowerState()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java548 private static boolean isCompletionAllowed(@CarPowerManager.CarPowerState int state) { in isCompletionAllowed()