Searched refs:mPolicyReader (Results 1 – 2 of 2) sorted by relevance
101 private final PolicyReader mPolicyReader = new PolicyReader(); field in PolicyReaderUnitTest105 mPolicyReader.initPolicies(); in setUp()199 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertValidPolicyPart()207 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertNoPolicyPart()208 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_OFF)).isNull(); in assertNoPolicyPart()209 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_UNTOUCHED)).isNull(); in assertNoPolicyPart()210 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_ON)).isNull(); in assertNoPolicyPart()211 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_NONE)).isNull(); in assertNoPolicyPart()245 CarPowerPolicy systemPolicy = mPolicyReader.getPreemptivePowerPolicy( in assertSystemPowerPolicy()256 CarPowerPolicy actualPolicy = mPolicyReader.getPowerPolicy(policyId); in checkPolicy()[all …]
233 private final PolicyReader mPolicyReader = new PolicyReader(); field in CarPowerManagementService329 mPolicyReader.init(); in init()385 mPolicyReader.dump(writer); in dump()584 policy = mPolicyReader in applyDefaultPowerPolicyForState()1239 if (!mPolicyReader.isPowerPolicyGroupAvailable(policyGroupId)) { in setCurrentPowerPolicyGroup()1253 CarPowerPolicy policy = mPolicyReader.getPowerPolicy(policyId); in applyPowerPolicy()1284 if (!mPolicyReader.isPreemptivePowerPolicy(mCurrentPowerPolicyId)) { in applyPreemptivePowerPolicy()1345 ? mPolicyReader.getPreemptivePowerPolicy(policyId) in notifyPowerPolicyChange()1346 : mPolicyReader.getPowerPolicy(policyId); in notifyPowerPolicyChange()1863 int status = mPolicyReader.definePowerPolicy(powerPolicyId, in definePowerPolicy()[all …]