Searched refs:newPolicy (Results 1 – 3 of 3) sorted by relevance
161 private void handleUidPoliciesChanged(int uid, int newPolicy) { in handleUidPoliciesChanged() argument166 if (newPolicy == POLICY_NONE) { in handleUidPoliciesChanged()169 mUidPolicies.put(uid, newPolicy); in handleUidPoliciesChanged()174 final boolean isAllowlisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged()175 final boolean isDenylisted = newPolicy == POLICY_REJECT_METERED_BACKGROUND; in handleUidPoliciesChanged()
129 NotificationManager.Policy newPolicy = new NotificationManager.Policy( in save() local135 mNm.setNotificationPolicy(newPolicy, /* fromUser= */ true); in save()137 mNm.setNotificationPolicy(newPolicy); in save()
878 @Nullable AppUriAuthenticationPolicy newPolicy) {881 Set<String> newAliases = newPolicy != null ? newPolicy.getAliases() : new HashSet<>();