Searched refs:mUidPolicies (Results 1 – 1 of 1) sorted by relevance
44 private SparseIntArray mUidPolicies = new SparseIntArray(); field in DataSaverBackend87 mUidPolicies.put(uid, policy); in setIsWhitelisted()96 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_ALLOW_METERED_BACKGROUND; in isWhitelisted()102 for (int i = 0; i < mUidPolicies.size(); i++) { in getWhitelistedCount()103 if (mUidPolicies.valueAt(i) == POLICY_ALLOW_METERED_BACKGROUND) { in getWhitelistedCount()114 mUidPolicies.put(uid, POLICY_ALLOW_METERED_BACKGROUND); in loadWhitelist()126 mUidPolicies.put(uid, policy); in setIsBlacklisted()135 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_REJECT_METERED_BACKGROUND; in isBlacklisted()141 mUidPolicies.put(uid, POLICY_REJECT_METERED_BACKGROUND); in loadBlacklist()168 final int oldPolicy = mUidPolicies.get(uid, POLICY_NONE); in handleUidPoliciesChanged()[all …]