HomeSort by relevance Sort by last modified time
    Searched refs:RULE_REJECT_METERED (Results 1 - 6 of 6) sorted by null

  /frameworks/base/core/tests/coretests/src/android/net/
NetworkPolicyManagerTest.java 24 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
36 uidRulesToStringTest(RULE_REJECT_METERED, "4 (REJECT_METERED)");
48 uidRulesToStringTest(RULE_REJECT_METERED | RULE_ALLOW_ALL,
50 uidRulesToStringTest(RULE_REJECT_METERED | RULE_REJECT_ALL,
77 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS
78 & RULE_REJECT_METERED);
79 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS
80 & (RULE_REJECT_METERED | RULE_ALLOW_ALL));
81 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS
82 & (RULE_REJECT_METERED | RULE_REJECT_ALL))
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java 29 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
347 future = expectRulesChanged(UID_A, RULE_REJECT_METERED);
365 future = expectRulesChanged(UID_A, RULE_REJECT_METERED);
389 future = expectRulesChanged(UID_A, RULE_REJECT_METERED);
607 future = expectRulesChanged(UID_A, RULE_REJECT_METERED);
    [all...]
  /frameworks/base/core/java/android/net/
NetworkPolicyManager.java 63 * RULE_REJECT_METERED | RULE_ALLOW_ALL, meaning it could have access to non-metered
75 public static final int RULE_REJECT_METERED = 1 << 2;
  /frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java 57 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
ConnectivityServiceMock.java 33 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
    [all...]
  /frameworks/base/services/core/java/com/android/server/
ConnectivityService.java 35 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
    [all...]

Completed in 294 milliseconds