Home
last modified time | relevance | path

Searched refs:getPolicyId (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarPowerManagerTest.java59 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()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java82 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy()
97 if (def.getPolicyId().equals(policyId)) { in checkRegisteredPolicy()
DPowerPolicyDef.java44 public String getPolicyId() { in getPolicyId() method in PowerPolicyDef
/cts/hostsidetests/car/app/src/android/car/cts/app/
DPowerPolicyListenerImpl.java67 policyStr.append(policy.getPolicyId()).append(" (enabledComponents: "); in getPolicyString()
DPowerPolicyTestCommand.java108 String policyId = cpp.getPolicyId(); in execute()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java452 applyPowerPolicy(powerOffPolicy.getPolicyId()); in testComponent()