Searched refs:policyRequest (Results 1 – 2 of 2) sorted by relevance
886 PolicyRequest policyRequest; in handleApplyPowerPolicyRequest() local894 policyRequest = mPolicyRequestById[requestId]; in handleApplyPowerPolicyRequest()901 if (const auto& ret = applyPowerPolicyInternal(policyRequest.policyId, policyRequest.force, in handleApplyPowerPolicyRequest()
2254 AsyncPolicyRequest policyRequest; in onApplyPowerPolicySucceeded() local2256 policyRequest = mRequestIdToPolicyRequest.get(requestId); in onApplyPowerPolicySucceeded()2258 if (policyRequest == null) { in onApplyPowerPolicySucceeded()2263 policyRequest.onPolicyRequestSucceeded(accumulatedPowerPolicy, deferred); in onApplyPowerPolicySucceeded()2270 AsyncPolicyRequest policyRequest; in onApplyPowerPolicyFailed() local2272 policyRequest = mRequestIdToPolicyRequest.get(requestId); in onApplyPowerPolicyFailed()2274 if (policyRequest == null) { in onApplyPowerPolicyFailed()2278 policyRequest.onPolicyRequestFailed(reason); in onApplyPowerPolicyFailed()