/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | ICarPower.aidl | 38 int getPowerState(); in getPowerState() method
|
D | CarPowerManager.java | 400 public @CarPowerState int getPowerState() { in getPowerState() method in CarPowerManager 402 return mService.getPowerState(); in getPowerState()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 209 when(mCarPowerManagementService.getPowerState()).thenReturn(CarPowerManager.STATE_ON); in testPersistCarSettingOn_powerOnBeforeUserUnlock_tetheringOn() 225 when(mCarPowerManagementService.getPowerState()).thenReturn(CarPowerManager.STATE_ON); in testPersistCarSettingOff_powerOnBeforeUserUnlock_noTethering()
|
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionController.java | 136 onCarPowerStateChanged(mCarPowerManagementService.getPowerState()); in initSession()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionControllerUnitTest.java | 192 doReturn(CarPowerManager.STATE_ON).when(mMockCarPowerManagementService).getPowerState(); in testInitSession_triggersCallback()
|
/packages/services/Car/service/src/com/android/car/wifi/ |
D | CarWifiService.java | 298 if (mCarPowerManagementService.getPowerState() == CarPowerManager.STATE_ON) { in onSystemUserUnlocked()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 270 assertThat(mCarPowerManager.getPowerState()).isEqualTo(PowerHalService.SET_ON); in testGetPowerState() 276 assertThat(mCarPowerManager.getPowerState()) in testGetPowerState()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PowerHalServiceUnitTest.java | 254 assertWithMessage("Current requested power state").that(mEventListener.getPowerState()) in testHalEventListenerPowerStateChange() 746 public int getPowerState() { in getPowerState() method in PowerHalServiceUnitTest.PowerEventListenerImpl
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 224 int powerState = powerService.getPowerState(); 700 int powerState = powerService.getPowerState(); in registerToDaemon()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 412 when(mMockCarPowerManagementService.getPowerState()).thenReturn( in testWatchdogDaemonRestart() 1346 when(mMockCarPowerManagementService.getPowerState()).thenReturn(powerState); in setCarPowerState()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 2030 public @CarPowerManager.CarPowerState int getPowerState() { in getPowerState() method in CarPowerManagementService 2367 int currentPowerState = getPowerState(); in initializePowerPolicy()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1694 method TIRAMISU_0 int getPowerState();
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 1205 method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public int getPowerState();
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1205 method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public int getPowerState();
|
D | test-current.txt | 1278 method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public int getPowerState();
|
D | system-lint-baseline.txt | 2724 UnflaggedApi: android.car.hardware.power.CarPowerManager#getPowerState(): 2725 …must be flagged with @FlaggedApi: method android.car.hardware.power.CarPowerManager.getPowerState()
|