Home
last modified time | relevance | path

Searched refs:mCurrentPowerPolicyId (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java87 private String mCurrentPowerPolicyId = SYSTEM_POWER_POLICY_INITIAL_ON; field in FakeRefactoredCarPowerPolicyDaemon
180 initData.currentPowerPolicy = mPolicies.get(mCurrentPowerPolicyId); in notifyCarServiceReady()
187 mComponentHandler.applyPolicy(mPolicies.get(mCurrentPowerPolicyId)); in notifyCarServiceReady()
199 boolean deferred = isPreemptivePolicy(mCurrentPowerPolicyId) in applyPowerPolicyAsync()
210 mCurrentPowerPolicyId = policyId; in applyPowerPolicyAsync()
234 mCurrentPowerPolicyId = policy.policyId; in applyPowerPolicyPerPowerStateChangeAsync()
247 mCurrentPowerPolicyId = policyId; in applyPowerPolicyInternal()
315 return mCurrentPowerPolicyId; in getCurrentPowerPolicyId()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java304 private String mCurrentPowerPolicyId; field in CarPowerManagementService
660 writer.printf("mCurrentPowerPolicyId: %s\n", mCurrentPowerPolicyId); in dump()
718 proto.write(CarPowerDumpProto.CURRENT_POWER_POLICY_ID, mCurrentPowerPolicyId); in dumpProto()
2402 currentPowerPolicyId = mCurrentPowerPolicyId; in initializePowerPolicy()
2634 mCurrentPowerPolicyId = policyId; in applyPowerPolicy()
2659 if (!mPolicyReader.isPreemptivePowerPolicy(mCurrentPowerPolicyId)) { in applyPreemptivePowerPolicy()
2660 mPendingPowerPolicyId = mCurrentPowerPolicyId; in applyPreemptivePowerPolicy()
2662 mCurrentPowerPolicyId = policyId; in applyPreemptivePowerPolicy()
2896 mCurrentPowerPolicyId = accumulatedPolicy.getPolicyId(); in updateCurrentPowerPolicy()