Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DFactoryResetProtectionPolicyTest.java134 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument
136 assertEquals(expectedPolicy.isFactoryResetProtectionEnabled(), in assertPoliciesAreEqual()
138 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java290 private int resetUidPolicy(String errorMessage, int expectedPolicy) throws RemoteException { in resetUidPolicy() argument
296 if (actualPolicy != expectedPolicy) { in resetUidPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java102 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy() local
104 assertEquals(expectedPolicy, config.toNotificationPolicy(zenPolicy)); in testZenPolicyToNotificationPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1945 NetworkPolicy expectedPolicy = buildFakeMobilePolicy(expectedCycleDay, expectedWarningBytes, in assertNetworkPolicyEquals() local
1947 assertEquals(expectedPolicy, actualPolicy); in assertNetworkPolicyEquals()