Searched refs:newPolicy (Results 1 – 3 of 3) sorted by relevance
154 private void handleUidPoliciesChanged(int uid, int newPolicy) { in handleUidPoliciesChanged() argument159 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()
127 NotificationManager.Policy newPolicy = new NotificationManager.Policy( in save() local132 mNm.setNotificationPolicy(newPolicy); in save()
878 @Nullable AppUriAuthenticationPolicy newPolicy) {881 Set<String> newAliases = newPolicy != null ? newPolicy.getAliases() : new HashSet<>();