/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 353 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerAudio); in testAddPowerPolicyListener() 354 mCarPowerManager.addPowerPolicyListener(mExecutor, filterWifi, listenerWifi); in testAddPowerPolicyListener() 355 mCarPowerManager.addPowerPolicyListener(mExecutor, filterLocation, listenerLocation); in testAddPowerPolicyListener() 376 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listener); in testAddPowerPolicyListener_Twice_WithDifferentFilters() 377 mCarPowerManager.addPowerPolicyListener(mExecutor, filterLocation, listener); in testAddPowerPolicyListener_Twice_WithDifferentFilters() 390 () -> mCarPowerManager.addPowerPolicyListener(null, filter, listener)); in testAddPowerPolicyListener_nullListener() 392 () -> mCarPowerManager.addPowerPolicyListener(mExecutor, filter, null)); in testAddPowerPolicyListener_nullListener() 394 () -> mCarPowerManager.addPowerPolicyListener(mExecutor, null, listener)); in testAddPowerPolicyListener_nullListener() 412 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerOne); in testRemovePowerPolicyListener() 413 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerTwo); in testRemovePowerPolicyListener() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 83 verify(mMockCarPowerService).addPowerPolicyListener( in startListeningForPolicyChanges_addsPowerPolicyListener() 176 verify(mMockCarPowerService).addPowerPolicyListener(any(), captor.capture()); in stopListeningForPolicyChanges_notNullPowerService() 221 verify(mMockCarPowerService).addPowerPolicyListener( in registerAndGetChangeListener()
|
D | CarAudioServiceUnitTest.java | 2490 .addPowerPolicyListener(any(), any()); in onAudioServerUp_forCarAudioServiceCallback() 2525 .addPowerPolicyListener(any(), any()); in onAudioServerUp_forCarAudioServiceCallback_withFadeManagerEnabled() 2561 .addPowerPolicyListener(any(), any()); in onAudioServerUp_forCarAudioServiceCallback_withCoreVolumeAndRouting()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 1550 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1556 mService.addPowerPolicyListener(filterDisabledComponents, listenerForDisabledComponents); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1557 mService.addPowerPolicyListener(filterEnabledComponents, listenerForEnabledComponents); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1583 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1589 mService.addPowerPolicyListener(filterDisabledComponents, listenerForDisabledComponents); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1590 mService.addPowerPolicyListener(filterEnabledComponents, listenerForEnabledComponents); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1612 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testAddPowerPolicyListener_powerPolicyRefactorFlagDisabled() 1613 mService.addPowerPolicyListener(filterWifi, listenerWifi); in testAddPowerPolicyListener_powerPolicyRefactorFlagDisabled() 1645 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testAddPowerPolicyListener_powerPolicyRefactorFlagEnabled() 1646 mService.addPowerPolicyListener(filterWifi, listenerWifi); in testAddPowerPolicyListener_powerPolicyRefactorFlagEnabled() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | ICarPower.aidl | 46 void addPowerPolicyListener(in CarPowerPolicyFilter filter, in addPowerPolicyListener() method
|
D | CarPowerManager.java | 583 public void addPowerPolicyListener(@NonNull @CallbackExecutor Executor executor, in addPowerPolicyListener() method in CarPowerManager 821 mService.addPowerPolicyListener(filter, mPolicyChangeBinderCallback); in updatePowerPolicyChangeCallback()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 297 addPowerPolicyListener(); in init() 408 private void addPowerPolicyListener() { in addPowerPolicyListener() method in CarLocationService 421 mCarPowerManagementService.addPowerPolicyListener( in addPowerPolicyListener()
|
D | CarMediaService.java | 628 mPowerManagementService.addPowerPolicyListener(filter, mPowerPolicyListener); in setPowerPolicyListener()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 336 cpms.addPowerPolicyListener(filter, powerPolicyListener); in testSleepEntry() 399 cpms.addPowerPolicyListener(filter, powerPolicyListener); in testUnallowedPowerStateEventAtSuspend() 611 cpms.addPowerPolicyListener(filterWifi, wifiOffListener); in testApplyPowerPolicy_vhalPropertyUpdated() 612 cpms.addPowerPolicyListener(filterWifi, wifiOnListener); in testApplyPowerPolicy_vhalPropertyUpdated()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 75 mCarPowerManager.addPowerPolicyListener(mExecutor, filter, in PowerPolicyListener()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 86 mCarPowerManagementService.addPowerPolicyListener(filter, mChangeListener); in startListeningForPolicyChanges()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicy.java | 141 cpms.addPowerPolicyListener(filter, mPowerPolicyListener); in init()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 743 powerService.addPowerPolicyListener( in subscribePowerManagementService()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 840 .addPowerPolicyListener(notNull(), powerPolicyEventListenerCaptor.capture()); in mockPowerPolicyEvents()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 656 CarLocalServices.getService(CarPowerManagementService.class).addPowerPolicyListener( in init()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 1178 verify(mMockCarPowerManagementService, times(wantedInvocations)).addPowerPolicyListener( in captureCarPowerListeners()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 2121 public void addPowerPolicyListener(CarPowerPolicyFilter filter, in addPowerPolicyListener() method in CarPowerManagementService
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 694 …on(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull j…
|
D | lint-baseline.txt | 1344 UnflaggedApi: android.car.hardware.power.CarPowerManager#addPowerPolicyListener(java.util.concurren… 1345 …h @FlaggedApi: method android.car.hardware.power.CarPowerManager.addPowerPolicyListener(java.util.…
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 694 …on(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull j…
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1701 …method TIRAMISU_0 void addPowerPolicyListener(Executor executor, CarPowerPolicyFilter filter, CarP…
|