Home
last modified time | relevance | path

Searched refs:expectedBlockedStates (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1822 final ArrayList<Pair<Boolean, Integer>> expectedBlockedStates = new ArrayList<>(); in testIsUidNetworkingBlocked() local
1825 expectedBlockedStates.add(new Pair<>(true, RULE_NONE)); in testIsUidNetworkingBlocked()
1826 expectedBlockedStates.add(new Pair<>(false, RULE_ALLOW_METERED)); in testIsUidNetworkingBlocked()
1827 expectedBlockedStates.add(new Pair<>(false, RULE_TEMPORARY_ALLOW_METERED)); in testIsUidNetworkingBlocked()
1828 expectedBlockedStates.add(new Pair<>(true, RULE_REJECT_METERED)); in testIsUidNetworkingBlocked()
1829 expectedBlockedStates.add(new Pair<>(true, RULE_ALLOW_ALL)); in testIsUidNetworkingBlocked()
1830 expectedBlockedStates.add(new Pair<>(true, RULE_REJECT_ALL)); in testIsUidNetworkingBlocked()
1832 true /* metered */, true /* backgroundRestricted */, expectedBlockedStates); in testIsUidNetworkingBlocked()
1833 expectedBlockedStates.clear(); in testIsUidNetworkingBlocked()
1836 expectedBlockedStates.add(new Pair<>(false, RULE_NONE)); in testIsUidNetworkingBlocked()
[all …]