Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp886 PolicyRequest policyRequest; in handleApplyPowerPolicyRequest() local
894 policyRequest = mPolicyRequestById[requestId]; in handleApplyPowerPolicyRequest()
901 if (const auto& ret = applyPowerPolicyInternal(policyRequest.policyId, policyRequest.force, in handleApplyPowerPolicyRequest()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java2254 AsyncPolicyRequest policyRequest; in onApplyPowerPolicySucceeded() local
2256 policyRequest = mRequestIdToPolicyRequest.get(requestId); in onApplyPowerPolicySucceeded()
2258 if (policyRequest == null) { in onApplyPowerPolicySucceeded()
2263 policyRequest.onPolicyRequestSucceeded(accumulatedPowerPolicy, deferred); in onApplyPowerPolicySucceeded()
2270 AsyncPolicyRequest policyRequest; in onApplyPowerPolicyFailed() local
2272 policyRequest = mRequestIdToPolicyRequest.get(requestId); in onApplyPowerPolicyFailed()
2274 if (policyRequest == null) { in onApplyPowerPolicyFailed()
2278 policyRequest.onPolicyRequestFailed(reason); in onApplyPowerPolicyFailed()