Searched refs:appliedPolicy (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 68 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()
|
D | ICarPowerPolicyListener.aidl | 30 void onPolicyChanged(in CarPowerPolicy appliedPolicy, in CarPowerPolicy accumulatedPolicy); in onPolicyChanged() argument
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSettingsFooterPreferenceController.java | 90 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/ |
D | BluetoothPowerPolicy.java | 63 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 261 public void onPolicyChanged(CarPowerPolicy appliedPolicy, 264 + appliedPolicy.getPolicyId()); 266 appliedPolicy.isComponentEnabled(PowerComponent.DISPLAY);
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 2724 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/ |
D | CarPowerManagementTest.java | 984 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/ |
D | CarLocationService.java | 124 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
|
D | CarMediaService.java | 298 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 3564 public void onPolicyChanged(CarPowerPolicy appliedPolicy, in onPolicyChanged() argument
|