Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DFactoryResetProtectionPolicyTest.java77 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual() argument
80 expectedPolicy.isFactoryResetProtectionEnabled()); in assertPoliciesAreEqual()
81 assertAccountsAreEqual(expectedPolicy.getFactoryResetProtectionAccounts(), in assertPoliciesAreEqual()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java79 public void checkRegisteredPolicy(PowerPolicyDef expectedPolicy) { in checkRegisteredPolicy() argument
82 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()