Searched refs:PolicyReader (Results 1 – 4 of 4) sorted by relevance
338 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 …]
78 public final class PolicyReader { class98 private static final String TAG = CarLog.tagFor(PolicyReader.class);
148 private final PolicyReader mPolicyReader = new PolicyReader();427 assertThrows(PolicyReader.PolicyXmlException.class, () -> readPowerPolicyXml(id)); in assertInvalidXml()
41 import static com.android.car.power.PolicyReader.POWER_STATE_ON;42 import static com.android.car.power.PolicyReader.POWER_STATE_WAIT_FOR_VHAL;