Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java504 assertUidPolicy(UID_A, POLICY_NONE); in addRestrictBackgroundWhitelist()
512 assertUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in addRestrictBackgroundWhitelist()
694 assertUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in removeRestrictBackgroundWhitelist()
702 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundWhitelist()
732 assertUidPolicy(UID_A, POLICY_NONE); // Sanity check. in addRestrictBackgroundBlacklist()
738 assertUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in addRestrictBackgroundBlacklist()
770 assertUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); // Sanity check. in removeRestrictBackgroundBlacklist()
776 assertUidPolicy(UID_A, POLICY_NONE); in removeRestrictBackgroundBlacklist()
792 assertUidPolicy(UID_A, POLICY_REJECT_METERED_BACKGROUND); in testBlacklistedAppIsNotNotifiedWhenRestrictBackgroundIsOn()
840 assertUidPolicy(UID_A, POLICY_ALLOW_METERED_BACKGROUND); in restrictBackgroundListsTest()
[all …]