Home
last modified time | relevance | path

Searched refs:STATE_SHUTDOWN_PREPARE (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeControllerTest.java144 mController.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, INVALID_TIMEOUT); in testOnShutdownPrepare_shouldInitiateGarageMode()
159 mController.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, INVALID_TIMEOUT); in testOnShutdownCancelled_shouldCancelGarageMode()
173 eq(CarPowerManager.STATE_SHUTDOWN_PREPARE), eq(mController)); in testOnShutdownCancelled_shouldCancelGarageMode()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java156 public static final int STATE_SHUTDOWN_PREPARE = 7; field in CarPowerManager
247 STATE_SHUTDOWN_PREPARE,
698 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in isCompletionAllowed()
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/
DSessionController.java113 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in onCarPowerStateChanged()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeController.java103 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in onStateChanged()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java225 CarPowerManager.STATE_SHUTDOWN_PREPARE, in testSetListener()
234 CarPowerManager.STATE_SHUTDOWN_PREPARE, in testSetListenerWithCompletion()
551 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in isCompletionAllowed()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java338 mCarLocationService.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, future); in testStoresLocationUponShutdownPrepare()
391 mCarLocationService.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, future); in testDoesNotStoreNullLocation()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionControllerUnitTest.java161 mPowerStateListenerCaptor.getValue().onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, in testGetSessionAnnotation_sessionOnSessionOffSequence()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java20 import static android.car.hardware.power.CarPowerManager.STATE_SHUTDOWN_PREPARE;
1154 if (prevState.mCarPowerStateListenerState == STATE_SHUTDOWN_PREPARE) { in handleShutdownPrepare()
1179 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in handleShutdownPrepare()
1240 CarPowerManager.STATE_SHUTDOWN_PREPARE); in handlePreShutdownPrepare()
1278 sendPowerManagerEvent(CarPowerManager.STATE_SHUTDOWN_PREPARE, timeoutMs); in doShutdownPrepare()
1539 int state = CarPowerManager.STATE_SHUTDOWN_PREPARE; in waitForShutdownPrepareListenersToComplete()
1640 boolean isShutdownPrepare = newState == CarPowerManager.STATE_SHUTDOWN_PREPARE; in sendPowerManagerEvent()
2002 {CarPowerManager.STATE_INVALID, CarPowerManager.STATE_SHUTDOWN_PREPARE})); in finished()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java960 powerStateListener.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, 0); in testNotifyApPowerState_shutdownPrepare()
963 verify(mCarPowerManagementService).finished(eq(CarPowerManager.STATE_SHUTDOWN_PREPARE), in testNotifyApPowerState_shutdownPrepare()
975 powerStateListener.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, 0); in testUnbindAllServiceOnShutdownPrepare()
979 verify(mCarPowerManagementService).finished(eq(CarPowerManager.STATE_SHUTDOWN_PREPARE), in testUnbindAllServiceOnShutdownPrepare()
984 powerStateListener.onStateChanged(CarPowerManager.STATE_SHUTDOWN_PREPARE, 0); in testUnbindAllServiceOnShutdownPrepare()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserNoticeServiceTest.java297 sendPowerStateChange(CarPowerManager.STATE_SHUTDOWN_PREPARE); in sendPowerShutDown()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java150 if (state == CarPowerManager.STATE_SHUTDOWN_PREPARE) {
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java341 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in onStateChanged()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java718 if (state == CarPowerManager.STATE_SHUTDOWN_PREPARE in registerListenerToFakeGarageMode()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java853 case CarPowerManager.STATE_SHUTDOWN_PREPARE: in carPowerStateToPowerCycle()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java583 if (state == CarPowerManager.STATE_SHUTDOWN_PREPARE) { in testEmergencyShutdown()
1023 .get(CarPowerManager.STATE_SHUTDOWN_PREPARE)).isTrue(); in testRegisterListenerWithCompletion()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java209 case CarPowerManager.STATE_SHUTDOWN_PREPARE:
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1684 field TIRAMISU_0 int STATE_SHUTDOWN_PREPARE = 7;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt1220 field public static final int STATE_SHUTDOWN_PREPARE = 7; // 0x7
/packages/services/Car/car-lib/api/
Dsystem-current.txt1220 field public static final int STATE_SHUTDOWN_PREPARE = 7; // 0x7
Dtest-current.txt1294 field public static final int STATE_SHUTDOWN_PREPARE = 7; // 0x7
Dsystem-lint-baseline.txt2712 UnflaggedApi: android.car.hardware.power.CarPowerManager#STATE_SHUTDOWN_PREPARE:
2713 …e flagged with @FlaggedApi: field android.car.hardware.power.CarPowerManager.STATE_SHUTDOWN_PREPARE