OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RULE_ALLOW_METERED
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/tests/coretests/src/android/net/
NetworkPolicyManagerTest.java
21
import static android.net.NetworkPolicyManager.
RULE_ALLOW_METERED
;
34
uidRulesToStringTest(
RULE_ALLOW_METERED
, "1 (ALLOW_METERED)");
40
uidRulesToStringTest(
RULE_ALLOW_METERED
| RULE_ALLOW_ALL,
42
uidRulesToStringTest(
RULE_ALLOW_METERED
| RULE_REJECT_ALL,
63
assertEquals(
RULE_ALLOW_METERED
, MASK_METERED_NETWORKS
64
&
RULE_ALLOW_METERED
);
65
assertEquals(
RULE_ALLOW_METERED
, MASK_METERED_NETWORKS
66
& (
RULE_ALLOW_METERED
| RULE_ALLOW_ALL));
67
assertEquals(
RULE_ALLOW_METERED
, MASK_METERED_NETWORKS
68
& (
RULE_ALLOW_METERED
| RULE_REJECT_ALL))
[
all
...]
/frameworks/base/core/java/android/net/
NetworkPolicyManager.java
71
public static final int
RULE_ALLOW_METERED
= 1 << 0;
/frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java
52
import static android.net.NetworkPolicyManager.
RULE_ALLOW_METERED
;
[
all
...]
/frameworks/base/services/core/java/com/android/server/
ConnectivityService.java
32
import static android.net.NetworkPolicyManager.
RULE_ALLOW_METERED
;
[
all
...]
Completed in 3403 milliseconds