Searched refs:mUidPolicies (Results 1 – 1 of 1) sorted by relevance
41 private SparseIntArray mUidPolicies = new SparseIntArray(); field in DataSaverBackend84 mUidPolicies.put(uid, policy); in setIsAllowlisted()93 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_ALLOW_METERED_BACKGROUND; in isAllowlisted()102 mUidPolicies.put(uid, POLICY_ALLOW_METERED_BACKGROUND); in loadAllowlist()114 mUidPolicies.put(uid, policy); in setIsDenylisted()123 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_REJECT_METERED_BACKGROUND; in isDenylisted()131 mUidPolicies.put(uid, POLICY_REJECT_METERED_BACKGROUND); in loadDenylist()158 final int oldPolicy = mUidPolicies.get(uid, POLICY_NONE); in handleUidPoliciesChanged()160 mUidPolicies.delete(uid); in handleUidPoliciesChanged()162 mUidPolicies.put(uid, newPolicy); in handleUidPoliciesChanged()