Searched refs:expectedPolicy (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | FactoryResetProtectionPolicyTest.java | 136 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument 139 .isEqualTo(expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual() 140 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
|
D | DevicePolicyManagerTest.java | 2477 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/ |
D | NetworkPolicyManagerShellCommand.java | 299 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/ |
D | ZenModeConfigTest.java | 104 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/ |
D | NetworkPolicyManagerServiceTest.java | 2087 NetworkPolicy expectedPolicy = buildFakeCarrierPolicy(expectedCycleDay, in assertNetworkPolicyEquals() local 2089 assertEquals(expectedPolicy, actualPolicy); in assertNetworkPolicyEquals()
|