Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
H A DCarPowerManagerUnitTest.java319 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerAudio); in testAddPowerPolicyListener()
320 mCarPowerManager.addPowerPolicyListener(mExecutor, filterWifi, listenerWifi); in testAddPowerPolicyListener()
321 mCarPowerManager.addPowerPolicyListener(mExecutor, filterLocation, listenerLocation); in testAddPowerPolicyListener()
340 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listener); in testAddPowerPolicyListener_Twice_WithDifferentFilters()
341 mCarPowerManager.addPowerPolicyListener(mExecutor, filterLocation, listener); in testAddPowerPolicyListener_Twice_WithDifferentFilters()
354 () -> mCarPowerManager.addPowerPolicyListener(null, filter, listener)); in testAddPowerPolicyListener_nullListener()
356 () -> mCarPowerManager.addPowerPolicyListener(mExecutor, filter, null)); in testAddPowerPolicyListener_nullListener()
358 () -> mCarPowerManager.addPowerPolicyListener(mExecutor, null, listener)); in testAddPowerPolicyListener_nullListener()
371 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerOne); in testRemovePowerPolicyListener()
372 mCarPowerManager.addPowerPolicyListener(mExecutor, filterAudio, listenerTwo); in testRemovePowerPolicyListener()
[all …]
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarAudioPowerListenerTest.java82 verify(mMockCarPowerService).addPowerPolicyListener( in startListeningForPolicyChanges_addsPowerPolicyListener()
182 verify(mMockCarPowerService).addPowerPolicyListener( in registerAndGetChangeListener()
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/power/
H A DICarPower.aidl46 void addPowerPolicyListener(in CarPowerPolicyFilter filter, in addPowerPolicyListener() method
H A DCarPowerManager.java412 public void addPowerPolicyListener(@NonNull @CallbackExecutor Executor executor, in addPowerPolicyListener() method in CarPowerManager
576 mService.addPowerPolicyListener(filter, mPolicyChangeBinderCallback); in updatePowerPolicyChangeCallback()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DPowerPolicyListener.java75 mCarPowerManager.addPowerPolicyListener(mExecutor, filter, in PowerPolicyListener()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioPowerListener.java87 mCarPowerManagementService.addPowerPolicyListener(filter, mChangeListener); in startListeningForPolicyChanges()
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/
H A DCarPowerManagerPermissionTest.java123 () -> mCarPowerManager.addPowerPolicyListener(executor, filter, (p) -> { })); in testAddPowerPolicyChangeListener()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
H A DCarPowerManagementServiceUnitTest.java538 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testAddPowerPolicyListener()
539 mService.addPowerPolicyListener(filterWifi, listenerWifi); in testAddPowerPolicyListener()
556 mService.addPowerPolicyListener(filterAudio, listenerAudio); in testRemovePowerPolicyListener()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DBluetoothDeviceConnectionPolicy.java324 cpms.addPowerPolicyListener(filter, mPowerPolicyListener); in init()
H A DCarMediaService.java434 .addPowerPolicyListener(filter, mPowerPolicyListener); in setPowerPolicyListener()
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/
H A DCarWatchdogService.java606 powerService.addPowerPolicyListener( in subscribePowerManagementService()
/aosp12/packages/services/Car/service/src/com/android/car/power/
H A DCarPowerManagementService.java1125 public void addPowerPolicyListener(CarPowerPolicyFilter filter, in addPowerPolicyListener() method in CarPowerManagementService
/aosp12/packages/services/Car/service/src/com/android/car/pm/
H A DCarPackageManagerService.java638 CarLocalServices.getService(CarPowerManagementService.class).addPowerPolicyListener( in init()
/aosp12/packages/services/Car/car-lib/api/
H A Dcurrent.txt560 …on(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull j…
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
H A DCarWatchdogServiceUnitTest.java3653 verify(mMockCarPowerManagementService, times(wantedInvocations)).addPowerPolicyListener( in captureCarPowerListeners()