/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | GarageModeControllerTest.java | 21 import static com.android.car.power.CarPowerManagementService.INVALID_TIMEOUT; 52 import com.android.car.power.CarPowerManagementService; 86 @Mock private CarPowerManagementService mCarPowerManagementServiceMock; 88 private CarPowerManagementService mCarPowerManagementServiceOriginal; 105 CarPowerManagementService.class); in setUp() 110 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in setUp() 111 CarLocalServices.addService(CarPowerManagementService.class, in setUp() 136 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown() 137 CarLocalServices.addService(CarPowerManagementService.class, in tearDown()
|
D | GarageModeTest.java | 44 import com.android.car.power.CarPowerManagementService; 219 CarPowerManagementService mockCarPowerManagementService = in test_garageModeTestExitImmediately() 220 mock(CarPowerManagementService.class); in test_garageModeTestExitImmediately() 223 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in test_garageModeTestExitImmediately() 224 CarLocalServices.addService(CarPowerManagementService.class, mockCarPowerManagementService); in test_garageModeTestExitImmediately() 242 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in test_garageModeTestExitImmediately()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 29 import com.android.car.power.CarPowerManagementService; 40 private final CarPowerManagementService mCarPowerManagementService; 60 CarPowerManagementService carPowerService = CarLocalServices.getService( in newCarAudioPowerListener() 61 CarPowerManagementService.class); in newCarAudioPowerListener() 67 CarPowerManagementService carPowerManagementService) { in CarAudioPowerListener()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 52 import com.android.car.power.CarPowerManagementService; 70 void init(CarPowerManagementService carPowerManagementService, CarUserService carUserService); in init() 155 private CarPowerManagementService mCarPowerManagementService; 233 CarPowerManagementService carPowerManagementService = null; in refreshDisplayBrightness() 250 CarPowerManagementService carPowerManagementService, int displayId) { in refreshDisplayBrightnessFromDisplay() 261 CarPowerManagementService carPowerManagementService) { in refreshDisplayBrigtnessFromSetting() 282 CarPowerManagementService service; in handleDisplayChanged() 329 public void init(CarPowerManagementService carPowerManagementService, in init() 340 CarPowerManagementService carPowerManagementService; in startDisplayStateMonitoring() 388 CarPowerManagementService carPowerManagementService; in setDisplayState()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicy.java | 38 import com.android.car.power.CarPowerManagementService; 136 CarPowerManagementService cpms = CarLocalServices.getService( in init() 137 CarPowerManagementService.class); in init() 155 CarPowerManagementService cpms = in release() 156 CarLocalServices.getService(CarPowerManagementService.class); in release()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 335 CarPowerManagementService cpms = getCarPowerManagementService(); in testSleepEntry() 398 CarPowerManagementService cpms = getCarPowerManagementService(); in testUnallowedPowerStateEventAtSuspend() 482 CarPowerManagementService cpms = getCarPowerManagementService(); in testSleepShutdownFromPreShutdownPrepare() 486 if (!CarPowerManagementService.isCompletionAllowed(state)) { in testSleepShutdownFromPreShutdownPrepare() 548 CarPowerManagementService cpms = getCarPowerManagementService(); in testShutdownImmediatelyFromPreShutdownPrepare() 552 if (!CarPowerManagementService.isCompletionAllowed(state)) { in testShutdownImmediatelyFromPreShutdownPrepare() 604 CarPowerManagementService cpms = getCarPowerManagementService(); in testApplyPowerPolicy_vhalPropertyUpdated() 632 CarPowerManagementService cpms = getCarPowerManagementService(); in testShutdownPostponeWhileListenerPendingInState() 637 if (!CarPowerManagementService.isCompletionAllowed(state)) { in testShutdownPostponeWhileListenerPendingInState() 711 CarPowerManagementService cpms = getCarPowerManagementService(); in registerListenerToFakeGarageMode() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 51 import com.android.car.power.CarPowerManagementService; 84 private CarPowerManagementService mCarPowerManagementService; 90 private CarPowerManagementService mOriginalCarPowerManagementService; 106 CarPowerManagementService.class); in setUp() 107 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in setUp() 108 CarLocalServices.addService(CarPowerManagementService.class, mCarPowerManagementService); in setUp() 134 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown() 135 CarLocalServices.addService(CarPowerManagementService.class, in tearDown()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeController.java | 36 import com.android.car.power.CarPowerManagementService; 51 private CarPowerManagementService mCarPowerService; 65 mCarPowerService = CarLocalServices.getService(CarPowerManagementService.class); in init() 83 CarPowerManagementService.powerStateToString(state)); in onStateChanged()
|
D | GarageMode.java | 45 import com.android.car.power.CarPowerManagementService; 341 CarPowerManagementService carPowerService = CarLocalServices.getService( in enterGarageMode() 342 CarPowerManagementService.class); in enterGarageMode()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocalServices.java | 27 import com.android.car.power.CarPowerManagementService; 112 CarPowerManagementService service = getService(CarPowerManagementService.class); in createCarPowerManager()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicyTest.java | 40 import com.android.car.power.CarPowerManagementService; 61 @Mock private CarPowerManagementService mMockCarPowerManagementService; 113 CarLocalServices.addService(CarPowerManagementService.class, in setUp() 122 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown()
|
D | CarBluetoothServiceTest.java | 46 import com.android.car.power.CarPowerManagementService; 85 @Mock private CarPowerManagementService mMockCarPowerManagementService; 133 CarLocalServices.addService(CarPowerManagementService.class, in setUp() 143 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown()
|
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionController.java | 30 import com.android.car.power.CarPowerManagementService; 80 private CarPowerManagementService mCarPowerManagementService; 100 CarPowerManagementService carPowerManagementService, in SessionController()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 86 import com.android.car.power.CarPowerManagementService; 219 CarPowerManagementService powerService = 220 CarLocalServices.getService(CarPowerManagementService.class); 230 + CarPowerManagementService.powerStateToString(powerState)); 697 CarPowerManagementService powerService = in registerToDaemon() 698 CarLocalServices.getService(CarPowerManagementService.class); in registerToDaemon() 736 CarPowerManagementService powerService = in subscribePowerManagementService() 737 CarLocalServices.getService(CarPowerManagementService.class); in subscribePowerManagementService() 749 CarPowerManagementService powerService = in unsubscribePowerManagementService() 750 CarLocalServices.getService(CarPowerManagementService.class); in unsubscribePowerManagementService()
|
/packages/services/Car/service/src/com/android/car/wifi/ |
D | CarWifiService.java | 56 import com.android.car.power.CarPowerManagementService; 75 private final CarPowerManagementService mCarPowerManagementService; 174 mCarPowerManagementService = CarLocalServices.getService(CarPowerManagementService.class); in CarWifiService()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 59 import com.android.car.power.CarPowerManagementService; 82 private CarPowerManagementService mMockCarPowerManagementService; 131 mockGetCarLocalService(CarPowerManagementService.class, mMockCarPowerManagementService); in setUpMocks()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 232 private CarPowerManagementService mService; 260 super(CarPowerManagementService.TAG); in CarPowerManagementServiceUnitTest() 298 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown() 588 if (CarPowerManagementService.isCompletionAllowed(state)) { in testEmergencyShutdown() 999 if (CarPowerManagementService.isCompletionAllowed(state)) { in testRegisterListenerWithCompletion() 1104 mService = new CarPowerManagementService.Builder() in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled() 1114 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled() 1115 CarLocalServices.addService(CarPowerManagementService.class, mService); in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled() 1938 mService = new CarPowerManagementService.Builder() in testDisableWifiAndTethering() 1948 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in testDisableWifiAndTethering() [all …]
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/ |
D | EventLogTags.logtags | 160 ## CarPowerManagementService power state change 161 ### state: CarPowerManagementService.CpmsState 169 ## CarPowerManagementService power state change request (AP_POWER_STATE_REQ)
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/ |
D | DisplayInterfaceTest.java | 39 import com.android.car.power.CarPowerManagementService; 58 private CarPowerManagementService mCarPowerManagementService;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 60 import com.android.car.power.CarPowerManagementService; 135 private CarPowerManagementService mCarPowerManagementService; 163 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in setUp() 164 CarLocalServices.addService(CarPowerManagementService.class, mCarPowerManagementService); in setUp() 180 CarLocalServices.removeServiceForTest(CarPowerManagementService.class); in tearDown()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionControllerUnitTest.java | 38 import com.android.car.power.CarPowerManagementService; 64 private CarPowerManagementService mMockCarPowerManagementService;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 33 import com.android.car.power.CarPowerManagementService; 57 CarPowerManagementService mMockCarPowerService;
|
/packages/services/Car/car_product/sepolicy/private/ |
D | carservice_app.te | 116 # Allow CarPowerManagementService to access car power policy daemon 119 # Allow CarPowerManagementService to serve a callback from car power policy daemon
|
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 59 import com.android.car.power.CarPowerManagementService; 111 @Mock private CarPowerManagementService mMockCarPowerManagementService; 149 .when(() -> CarLocalServices.getService(CarPowerManagementService.class)); in setUp()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | SilentModeHandler.java | 85 private final CarPowerManagementService mService; 100 SilentModeHandler(@NonNull CarPowerManagementService service, FeatureFlags featureFlags, in SilentModeHandler()
|