Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DFactoryResetProtectionPolicyTest.java136 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument
139 .isEqualTo(expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual()
140 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
DDevicePolicyManagerTest.java2477 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument
2480 expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual()
2481 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java299 private int resetUidPolicy(String errorMessage, int expectedPolicy) throws RemoteException { in resetUidPolicy() argument
305 if (actualPolicy != expectedPolicy) { in resetUidPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java104 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy() local
106 assertEquals(expectedPolicy, config.toNotificationPolicy(zenPolicy)); in testZenPolicyToNotificationPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2087 NetworkPolicy expectedPolicy = buildFakeCarrierPolicy(expectedCycleDay, in assertNetworkPolicyEquals() local
2089 assertEquals(expectedPolicy, actualPolicy); in assertNetworkPolicyEquals()