Searched refs:POLICY_ALLOW_METERED_BACKGROUND (Results 1 – 5 of 5) sorted by relevance
17 import static android.net.NetworkPolicyManager.POLICY_ALLOW_METERED_BACKGROUND;88 final int policy = allowlisted ? POLICY_ALLOW_METERED_BACKGROUND : POLICY_NONE; in setIsAllowlisted()99 return mUidPolicies.get(uid, POLICY_NONE) == POLICY_ALLOW_METERED_BACKGROUND; in isAllowlisted()107 for (int uid : mPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND)) { in loadAllowlist()108 mUidPolicies.put(uid, POLICY_ALLOW_METERED_BACKGROUND); in loadAllowlist()172 final boolean wasAllowlisted = oldPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged()174 final boolean isAllowlisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged()
23 import android.net.NetworkPolicyManager.POLICY_ALLOW_METERED_BACKGROUND86 networkPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND) in <lambda>()99 networkPolicyManager.getUidsWithPolicy(POLICY_ALLOW_METERED_BACKGROUND) in <lambda>()
83 .getUidsWithPolicy(NetworkPolicyManager.POLICY_ALLOW_METERED_BACKGROUND) in <lambda>()
93 private static final int POLICY_ALLOW_METERED_BACKGROUND = 0x4; field in DeviceLockServiceImpl850 allow ? POLICY_ALLOW_METERED_BACKGROUND : POLICY_NONE);
845 Landroid/net/NetworkPolicyManager;->POLICY_ALLOW_METERED_BACKGROUND:I