Searched refs:expectedPolicy (Results 1 – 3 of 3) sorted by relevance
77 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument80 expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual()81 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
464 private void assertPermissionPolicy(int expectedPolicy) { in assertPermissionPolicy() argument468 expectedPolicy, permissionPolicyToString(expectedPolicy), in assertPermissionPolicy()471 .isEqualTo(expectedPolicy); in assertPermissionPolicy()
79 public void checkRegisteredPolicy(PowerPolicyDef expectedPolicy) { in checkRegisteredPolicy() argument82 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy()83 status = expectedPolicy.equals(def); in checkRegisteredPolicy()85 CLog.e("PowerPolicyTestHelper expected policy: %s", expectedPolicy.toString()); in checkRegisteredPolicy()