Searched refs:getPolicyId (Results 1 – 6 of 6) sorted by relevance
59 mInitialPowerPolicyId = mCarPowerManager.getCurrentPowerPolicy().getPolicyId(); in setUp()65 if (!mInitialPowerPolicyId.equals(policy.getPolicyId())) { in teardown()99 assertWithMessage("Current power policy ID").that(policy.getPolicyId()).isEqualTo(policyId); in testApplyNewPowerPolicy()148 mCurrentPolicyId = policy.getPolicyId(); in onPolicyChanged()
82 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy()97 if (def.getPolicyId().equals(policyId)) { in checkRegisteredPolicy()
44 public String getPolicyId() { in getPolicyId() method in PowerPolicyDef
67 policyStr.append(policy.getPolicyId()).append(" (enabledComponents: "); in getPolicyString()
108 String policyId = cpp.getPolicyId(); in execute()
452 applyPowerPolicy(powerOffPolicy.getPolicyId()); in testComponent()