Searched refs:policyDef (Results 1 – 2 of 2) sorted by relevance
402 private void defineAndCheckPolicy(PowerPolicyDef policyDef, String testcase, int stepNo, in defineAndCheckPolicy() argument404 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()
114 public boolean isPowerPolicyIdDefined(PowerPolicyDef policyDef) { in isPowerPolicyIdDefined() argument116 if (def.getPolicyId().equals(policyDef.getPolicyId())) { in isPowerPolicyIdDefined()