Searched refs:expectedPolicy (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | FactoryResetProtectionPolicyTest.java | 134 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/ |
D | NetworkPolicyManagerShellCommand.java | 290 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/ |
D | ZenModeConfigTest.java | 102 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/ |
D | NetworkPolicyManagerServiceTest.java | 1945 NetworkPolicy expectedPolicy = buildFakeMobilePolicy(expectedCycleDay, expectedWarningBytes, in assertNetworkPolicyEquals() local 1947 assertEquals(expectedPolicy, actualPolicy); in assertNetworkPolicyEquals()
|