Home
last modified time | relevance | path

Searched refs:isComponentEnabled (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java47 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent));
114 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent)); in handleCurrentPolicy()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPowerListener.java48 if (mIsAudioEnabled != accumulatedPolicy.isComponentEnabled(AUDIO)) {
112 mIsAudioEnabled = policy.isComponentEnabled(AUDIO); in updateAudioPowerStateLocked()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerPolicy.java57 public boolean isComponentEnabled(int component) { in isComponentEnabled() method in CarPowerPolicy
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothPowerPolicy.java65 boolean isOn = accumulatedPolicy.isComponentEnabled(PowerComponent.BLUETOOTH);
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java915 && isComponentEnabled(pm, info.resolveInfo)) { in tryTech()
1085 static boolean isComponentEnabled(PackageManager pm, ResolveInfo info) { in isComponentEnabled() method in NfcDispatcher
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java146 accumulatedPolicy.isComponentEnabled(PowerComponent.LOCATION);
DCarMediaService.java302 boolean isOff = !accumulatedPolicy.isComponentEnabled(PowerComponent.MEDIA);
546 return currentPolicy.isComponentEnabled(PowerComponent.MEDIA); in isMediaPowerEnabled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java2851 if (mService.getCurrentPowerPolicy().isComponentEnabled(PowerComponent.AUDIO)) { in setUpPowerPolicyAudioInvert()
2973 mService.getCurrentPowerPolicy().isComponentEnabled(component)).isTrue(); in expectPowerComponentEnabled()
2980 listener.getCurrentPowerPolicy().isComponentEnabled(component)).isTrue(); in expectPowerComponentEnabledForListener()
2985 mService.getCurrentPowerPolicy().isComponentEnabled(component)).isFalse(); in expectPowerComponentDisabled()
2992 listener.getCurrentPowerPolicy().isComponentEnabled(component)).isFalse(); in expectPowerComponentDisabledForListener()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java266 appliedPolicy.isComponentEnabled(PowerComponent.DISPLAY);
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java262 if (!policy.isComponentEnabled(PowerComponent.DISPLAY)) {
/packages/services/Car/car-lib/api/
Dcurrent.txt708 method public boolean isComponentEnabled(int);
Dlint-baseline.txt1366 UnflaggedApi: android.car.hardware.power.CarPowerPolicy#isComponentEnabled(int):
1367 … flagged with @FlaggedApi: method android.car.hardware.power.CarPowerPolicy.isComponentEnabled(int)
/packages/services/Car/car-lib-module/api/
Dcurrent.txt708 method public boolean isComponentEnabled(int);
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1727 method TIRAMISU_0 boolean isComponentEnabled(int component);