Searched refs:getPolicyId (Results 1 – 8 of 8) sorted by relevance
86 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy()116 if (def.getPolicyId().equals(policyDef.getPolicyId())) { in isPowerPolicyIdDefined()
44 public String getPolicyId() { in getPolicyId() method in PowerPolicyDef
79 mInitialPowerPolicyId = mCarPowerManager.getCurrentPowerPolicy().getPolicyId(); in setUp()85 if (!mInitialPowerPolicyId.equals(policy.getPolicyId())) { in teardown()140 expectWithMessage("Current power policy ID").that(policy.getPolicyId()).isEqualTo(policyId); in testApplyNewPowerPolicy()412 mCurrentPolicyId = policy.getPolicyId(); in onPolicyChanged()
67 policyStr.append(policy.getPolicyId()).append(" (enabledComponents: "); in getPolicyString()
95 String policyId = cpp.getPolicyId(); in execute()
105 if (curPolicy != null && curPolicy.getPolicyId().equals(POWER_OFF_POLICY_ID)) { in onCreate()157 if (curPolicy != null && curPolicy.getPolicyId().equals(POWER_ON_POLICY_ID)) { in onCreate()
404 String teststep = stepNo + ". define a new power policy with ID(" + policyDef.getPolicyId() in defineAndCheckPolicy()408 CLog.i("Policy(ID: " + policyDef.getPolicyId() + ") is already defined"); in defineAndCheckPolicy()595 applyPowerPolicy(powerOffPolicy.getPolicyId()); in testComponent()
6314 policyIds[i] = policyParamsList.get(i).getPolicyId(); in testAddAndRemoveQosPolicies()6385 assertEquals(policyId, downlinkParams.getPolicyId()); in testQosPolicyParamsBuilder()6416 assertEquals(policyId, uplinkParams.getPolicyId()); in testQosPolicyParamsBuilder()