Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java86 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy()
116 if (def.getPolicyId().equals(policyDef.getPolicyId())) { in isPowerPolicyIdDefined()
DPowerPolicyDef.java44 public String getPolicyId() { in getPolicyId() method in PowerPolicyDef
/cts/tests/tests/car/src/android/car/cts/
DCarPowerManagerTest.java79 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()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DPowerPolicyListenerImpl.java67 policyStr.append(policy.getPolicyId()).append(" (enabledComponents: "); in getPolicyString()
DPowerPolicyTestCommand.java95 String policyId = cpp.getPolicyId(); in execute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DPowerPolicyTestActivity.java105 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()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java404 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()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java6314 policyIds[i] = policyParamsList.get(i).getPolicyId(); in testAddAndRemoveQosPolicies()
6385 assertEquals(policyId, downlinkParams.getPolicyId()); in testQosPolicyParamsBuilder()
6416 assertEquals(policyId, uplinkParams.getPolicyId()); in testQosPolicyParamsBuilder()