Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java402 private void defineAndCheckPolicy(PowerPolicyDef policyDef, String testcase, int stepNo, in defineAndCheckPolicy() argument
404 String teststep = stepNo + ". define a new power policy with ID(" + policyDef.getPolicyId() in defineAndCheckPolicy()
407 if (testHelper.isPowerPolicyIdDefined(policyDef)) { in defineAndCheckPolicy()
408 CLog.i("Policy(ID: " + policyDef.getPolicyId() + ") is already defined"); in defineAndCheckPolicy()
411 definePowerPolicy(policyDef.toString()); in defineAndCheckPolicy()
413 testHelper.checkRegisteredPolicy(policyDef); in defineAndCheckPolicy()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java114 public boolean isPowerPolicyIdDefined(PowerPolicyDef policyDef) { in isPowerPolicyIdDefined() argument
116 if (def.getPolicyId().equals(policyDef.getPolicyId())) { in isPowerPolicyIdDefined()