Searched refs:isComponentEnabled (Results 1 – 14 of 14) sorted by relevance
47 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent));114 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent)); in handleCurrentPolicy()
48 if (mIsAudioEnabled != accumulatedPolicy.isComponentEnabled(AUDIO)) {112 mIsAudioEnabled = policy.isComponentEnabled(AUDIO); in updateAudioPowerStateLocked()
57 public boolean isComponentEnabled(int component) { in isComponentEnabled() method in CarPowerPolicy
65 boolean isOn = accumulatedPolicy.isComponentEnabled(PowerComponent.BLUETOOTH);
915 && isComponentEnabled(pm, info.resolveInfo)) { in tryTech()1085 static boolean isComponentEnabled(PackageManager pm, ResolveInfo info) { in isComponentEnabled() method in NfcDispatcher
146 accumulatedPolicy.isComponentEnabled(PowerComponent.LOCATION);
302 boolean isOff = !accumulatedPolicy.isComponentEnabled(PowerComponent.MEDIA);546 return currentPolicy.isComponentEnabled(PowerComponent.MEDIA); in isMediaPowerEnabled()
2851 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()
266 appliedPolicy.isComponentEnabled(PowerComponent.DISPLAY);
262 if (!policy.isComponentEnabled(PowerComponent.DISPLAY)) {
708 method public boolean isComponentEnabled(int);
1366 UnflaggedApi: android.car.hardware.power.CarPowerPolicy#isComponentEnabled(int):1367 … flagged with @FlaggedApi: method android.car.hardware.power.CarPowerPolicy.isComponentEnabled(int)
1727 method TIRAMISU_0 boolean isComponentEnabled(int component);