Searched refs:PolicyReader (Results 1 – 4 of 4) sorted by relevance
148 private final PolicyReader mPolicyReader = new PolicyReader();427 assertThrows(PolicyReader.PolicyXmlException.class, () -> readPowerPolicyXml(id)); in assertInvalidXml()
358 private final PolicyReader mPolicyReader = new PolicyReader();369 throws IOException, PolicyReader.PolicyXmlException, XmlPullParserException { in readPowerPolicyFromXml()995 PolicyReader.POWER_POLICY_ID_INITIAL_ON); in handleWaitForVhal()1076 PolicyReader.POWER_POLICY_ID_ALL_ON); in handleOn()1162 public PolicyReader getPolicyReader() { in getPolicyReader()1794 status = applyPowerPolicy(PolicyReader.POWER_POLICY_ID_SUSPEND_PREP, in doHandleSuspend()1797 status = applyPreemptivePowerPolicy(PolicyReader.POWER_POLICY_ID_SUSPEND_PREP); in doHandleSuspend()2132 Preconditions.checkArgument(!policyId.startsWith(PolicyReader.SYSTEM_POWER_POLICY_PREFIX), in applyPowerPolicy()2234 applyPreemptivePowerPolicy(PolicyReader.POWER_POLICY_ID_NO_USER_INTERACTION); in notifySilentModeChange()2925 status = applyPowerPolicy(PolicyReader.POWER_POLICY_ID_NO_USER_INTERACTION, in makeSureNoUserInteraction()[all …]
78 public final class PolicyReader { class98 private static final String TAG = CarLog.tagFor(PolicyReader.class);
41 import static com.android.car.power.PolicyReader.POWER_STATE_ON;42 import static com.android.car.power.PolicyReader.POWER_STATE_WAIT_FOR_VHAL;