Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java68 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
71 notifyPowerPolicyListeners(appliedPolicy, accumulatedPolicy);
828 private void notifyPowerPolicyListeners(CarPowerPolicy appliedPolicy, in notifyPowerPolicyListeners() argument
835 if (PowerComponentUtil.hasComponents(appliedPolicy, pair.second)) { in notifyPowerPolicyListeners()
DICarPowerPolicyListener.aidl30 void onPolicyChanged(in CarPowerPolicy appliedPolicy, in CarPowerPolicy accumulatedPolicy); in onPolicyChanged() argument
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSettingsFooterPreferenceController.java90 NotificationManager.Policy appliedPolicy = mBackend.getConsolidatedPolicy(); in getFooterText() local
92 final boolean usingCustomPolicy = !Objects.equals(appliedPolicy, defaultPolicy); in getFooterText()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothPowerPolicy.java63 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java261 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
264 + appliedPolicy.getPolicyId());
266 appliedPolicy.isComponentEnabled(PowerComponent.DISPLAY);
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java2724 CarPowerPolicy appliedPolicy = mPolicyReader.isPreemptivePowerPolicy(policyId) in notifyPowerPolicyChange() local
2728 notifyPowerPolicyChange(policyId, appliedPolicy, accumulatedPolicy); in notifyPowerPolicyChange()
2749 CarPowerPolicy appliedPolicy = in notifyPowerPolicyChange() local
2751 if (appliedPolicy == null) { in notifyPowerPolicyChange()
2755 notifyPowerPolicyChange(policyId, appliedPolicy, accumulatedPowerPolicy); in notifyPowerPolicyChange()
2764 private void notifyPowerPolicyChange(String policyId, CarPowerPolicy appliedPolicy, in notifyPowerPolicyChange() argument
2767 if (appliedPolicy == null) { in notifyPowerPolicyChange()
2782 listener.onPolicyChanged(appliedPolicy, accumulatedPolicy); in notifyPowerPolicyChange()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java984 public void onPolicyChanged(CarPowerPolicy appliedPolicy, in onPolicyChanged() argument
986 if (Objects.equals(appliedPolicy.getPolicyId(), mWaitingPolicyId)) { in onPolicyChanged()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java124 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
DCarMediaService.java298 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java3564 public void onPolicyChanged(CarPowerPolicy appliedPolicy, in onPolicyChanged() argument