Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java353 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/
DCarAudioPowerListenerTest.java83 verify(mMockCarPowerService).addPowerPolicyListener( in startListeningForPolicyChanges_addsPowerPolicyListener()
176 verify(mMockCarPowerService).addPowerPolicyListener(any(), captor.capture()); in stopListeningForPolicyChanges_notNullPowerService()
221 verify(mMockCarPowerService).addPowerPolicyListener( in registerAndGetChangeListener()
DCarAudioServiceUnitTest.java2490 .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/
DCarPowerManagementServiceUnitTest.java1550 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/
DICarPower.aidl46 void addPowerPolicyListener(in CarPowerPolicyFilter filter, in addPowerPolicyListener() method
DCarPowerManager.java583 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/
DCarLocationService.java297 addPowerPolicyListener(); in init()
408 private void addPowerPolicyListener() { in addPowerPolicyListener() method in CarLocationService
421 mCarPowerManagementService.addPowerPolicyListener( in addPowerPolicyListener()
DCarMediaService.java628 mPowerManagementService.addPowerPolicyListener(filter, mPowerPolicyListener); in setPowerPolicyListener()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java336 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/
DPowerPolicyListener.java75 mCarPowerManager.addPowerPolicyListener(mExecutor, filter, in PowerPolicyListener()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPowerListener.java86 mCarPowerManagementService.addPowerPolicyListener(filter, mChangeListener); in startListeningForPolicyChanges()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothPowerPolicy.java141 cpms.addPowerPolicyListener(filter, mPowerPolicyListener); in init()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java743 powerService.addPowerPolicyListener( in subscribePowerManagementService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java840 .addPowerPolicyListener(notNull(), powerPolicyEventListenerCaptor.capture()); in mockPowerPolicyEvents()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java656 CarLocalServices.getService(CarPowerManagementService.class).addPowerPolicyListener( in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1178 verify(mMockCarPowerManagementService, times(wantedInvocations)).addPowerPolicyListener( in captureCarPowerListeners()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java2121 public void addPowerPolicyListener(CarPowerPolicyFilter filter, in addPowerPolicyListener() method in CarPowerManagementService
/packages/services/Car/car-lib/api/
Dcurrent.txt694 …on(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull j…
Dlint-baseline.txt1344 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/
Dcurrent.txt694 …on(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull j…
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1701 …method TIRAMISU_0 void addPowerPolicyListener(Executor executor, CarPowerPolicyFilter filter, CarP…