Home
last modified time | relevance | path

Searched refs:setComponents (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java61 .setComponents(PowerComponent.AUDIO).build(); in testHasComponents()
63 .setComponents(PowerComponent.WIFI).build(); in testHasComponents()
65 .setComponents(PowerComponent.LOCATION, PowerComponent.NFC).build(); in testHasComponents()
67 .setComponents(PowerComponent.MEDIA).build(); in testHasComponents()
DCarPowerManagerUnitTest.java310 .setComponents(PowerComponent.AUDIO).build(); in testAddPowerPolicyListener()
312 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
314 .setComponents(PowerComponent.LOCATION).build(); in testAddPowerPolicyListener()
333 .setComponents(PowerComponent.AUDIO).build(); in testAddPowerPolicyListener_Twice_WithDifferentFilters()
335 .setComponents(PowerComponent.LOCATION).build(); in testAddPowerPolicyListener_Twice_WithDifferentFilters()
348 .setComponents(PowerComponent.AUDIO).build(); in testAddPowerPolicyListener_nullListener()
366 .setComponents(PowerComponent.AUDIO).build(); in testRemovePowerPolicyListener()
382 .setComponents(PowerComponent.AUDIO).build(); in testRemovePowerPolicyListener_Twice()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java532 .setComponents(PowerComponent.AUDIO).build(); in testAddPowerPolicyListener()
534 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
536 .setComponents(PowerComponent.LOCATION).build(); in testAddPowerPolicyListener()
554 .setComponents(PowerComponent.AUDIO).build(); in testRemovePowerPolicyListener()
579 .setComponents(PowerComponent.AUDIO).build(); in testParcelableCreation()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java72 .setComponents(component).build(); in PowerPolicyListener()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPowerListener.java86 .setComponents(AUDIO).build(); in startListeningForPolicyChanges()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerPolicyFilter.java137 public @NonNull Builder setComponents(@NonNull int... value) { in setComponents() method in CarPowerPolicyFilter.Builder
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/
DCarPowerManagerPermissionTest.java121 .setComponents(PowerComponent.AUDIO).build(); in testAddPowerPolicyChangeListener()
/packages/services/Car/service/src/com/android/car/
DBluetoothDeviceConnectionPolicy.java323 .setComponents(PowerComponent.BLUETOOTH).build(); in init()
DCarMediaService.java402 .setComponents(PowerComponent.MEDIA).build(); in setPowerPolicyListener()
/packages/services/Car/car-lib/api/
Dcurrent.txt589 …method @NonNull public android.car.hardware.power.CarPowerPolicyFilter.Builder setComponents(@NonN…