Home
last modified time | relevance | path

Searched refs:policyStr (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/car/app/src/android/car/cts/app/
DPowerPolicyListenerImpl.java66 StringBuilder policyStr = new StringBuilder(); in getPolicyString() local
67 policyStr.append(policy.getPolicyId()).append(" (enabledComponents: "); in getPolicyString()
69 policyStr.append("none"); in getPolicyString()
71 policyStr.append(String.join(",", enables)); in getPolicyString()
74 policyStr.append(" disabledComponents: "); in getPolicyString()
76 policyStr.append("none"); in getPolicyString()
78 policyStr.append(String.join(",", disables)); in getPolicyString()
80 policyStr.append(')'); in getPolicyString()
82 return policyStr.toString(); in getPolicyString()
DPowerPolicyTestCommand.java176 String policyStr = NO_POLICY; in execute() local
178 policyStr = PowerPolicyListenerImpl.getPolicyString(policy); in execute()
180 mTestClient.printlnResult(policyStr); in execute()
181 Log.d(TAG, "received power policy: " + policyStr); in execute()
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java266 private void definePowerPolicy(String policyStr) throws Exception { in definePowerPolicy() argument
267 CLog.d("definePowerPolicy: %s", policyStr); in definePowerPolicy()
268 executeCommand("cmd car_service define-power-policy %s", policyStr); in definePowerPolicy()