Searched refs:mUidPolicies (Results 1 – 1 of 1) sorted by relevance
45 private SparseIntArray mUidPolicies = new SparseIntArray(); field in DataSaverBackend90 mUidPolicies.put(uid, policy); in setIsAllowlisted()99 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_ALLOW_METERED_BACKGROUND; in isAllowlisted()108 mUidPolicies.put(uid, POLICY_ALLOW_METERED_BACKGROUND); in loadAllowlist()120 mUidPolicies.put(uid, policy); in setIsDenylisted()129 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_REJECT_METERED_BACKGROUND in isDenylisted()138 mUidPolicies.put(uid, POLICY_REJECT_METERED_BACKGROUND); in loadDenylist()165 final int oldPolicy = mUidPolicies.get(uid, POLICY_NONE); in handleUidPoliciesChanged()167 mUidPolicies.delete(uid); in handleUidPoliciesChanged()169 mUidPolicies.put(uid, newPolicy); in handleUidPoliciesChanged()