Searched refs:expectedPolicy (Results 1 – 2 of 2) sorted by relevance
77 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument80 expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual()81 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
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()