Home
last modified time | relevance | path

Searched refs:PolicyReader (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java338 private final PolicyReader mPolicyReader = new PolicyReader();
349 throws IOException, PolicyReader.PolicyXmlException, XmlPullParserException { in readPowerPolicyFromXml()
977 PolicyReader.POWER_POLICY_ID_INITIAL_ON); in handleWaitForVhal()
1060 PolicyReader.POWER_POLICY_ID_ALL_ON); in handleOn()
1146 public PolicyReader getPolicyReader() { in getPolicyReader()
1734 status = applyPowerPolicy(PolicyReader.POWER_POLICY_ID_SUSPEND_PREP, in doHandleSuspend()
1737 status = applyPreemptivePowerPolicy(PolicyReader.POWER_POLICY_ID_SUSPEND_PREP); in doHandleSuspend()
2061 Preconditions.checkArgument(!policyId.startsWith(PolicyReader.SYSTEM_POWER_POLICY_PREFIX), in applyPowerPolicy()
2163 applyPreemptivePowerPolicy(PolicyReader.POWER_POLICY_ID_NO_USER_INTERACTION); in notifySilentModeChange()
2796 status = applyPowerPolicy(PolicyReader.POWER_POLICY_ID_NO_USER_INTERACTION, in makeSureNoUserInteraction()
[all …]
DPolicyReader.java78 public final class PolicyReader { class
98 private static final String TAG = CarLog.tagFor(PolicyReader.class);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPolicyReaderUnitTest.java148 private final PolicyReader mPolicyReader = new PolicyReader();
427 assertThrows(PolicyReader.PolicyXmlException.class, () -> readPowerPolicyXml(id)); in assertInvalidXml()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java41 import static com.android.car.power.PolicyReader.POWER_STATE_ON;
42 import static com.android.car.power.PolicyReader.POWER_STATE_WAIT_FOR_VHAL;