Home
last modified time | relevance | path

Searched refs:newPolicy (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java154 private void handleUidPoliciesChanged(int uid, int newPolicy) { in handleUidPoliciesChanged() argument
159 if (newPolicy == POLICY_NONE) { in handleUidPoliciesChanged()
162 mUidPolicies.put(uid, newPolicy); in handleUidPoliciesChanged()
167 final boolean isAllowlisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged()
168 final boolean isDenylisted = newPolicy == POLICY_REJECT_METERED_BACKGROUND; in handleUidPoliciesChanged()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenOnboardingActivity.java127 NotificationManager.Policy newPolicy = new NotificationManager.Policy( in save() local
132 mNm.setNotificationPolicy(newPolicy); in save()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java878 @Nullable AppUriAuthenticationPolicy newPolicy) {
881 Set<String> newAliases = newPolicy != null ? newPolicy.getAliases() : new HashSet<>();