Home
last modified time | relevance | path

Searched refs:pendingRequest (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java705 PendingRequest<?, ?> pendingRequest = handleRemovePendingRequest(requestId); in handleOnUserIdentificationAssociation() local
721 UserIdentificationSetRequest request = PendingRequest.getRequest(pendingRequest, in handleOnUserIdentificationAssociation()
815 PendingRequest<?, RESP> pendingRequest = new PendingRequest<>(responseClass, request, in addPendingRequestLocked() local
818 Slogf.d(TAG, "adding pending request (" + pendingRequest + ") for requestId " in addPendingRequestLocked()
821 mPendingRequests.put(requestId, pendingRequest); in addPendingRequestLocked()
838 PendingRequest<?, ?> pendingRequest = mPendingRequests.valueAt(i); in hasPendingRequestLocked() local
839 if (pendingRequest.responseClass == responseClass) { in hasPendingRequestLocked()
855 PendingRequest<?, ?> pendingRequest; in handleRemovePendingRequest() local
857 pendingRequest = mPendingRequests.get(requestId); in handleRemovePendingRequest()
860 return pendingRequest; in handleRemovePendingRequest()
[all …]
DPropertyHalService.java1064 private void removePendingAsyncPropRequestInfoLocked(AsyncPropRequestInfo pendingRequest) { in removePendingAsyncPropRequestInfoLocked() argument
1065 removePendingAsyncPropRequestInfoLocked(pendingRequest, /* alreadyTimedOut= */ false); in removePendingAsyncPropRequestInfoLocked()
1080 private void removePendingAsyncPropRequestInfoLocked(AsyncPropRequestInfo pendingRequest, in removePendingAsyncPropRequestInfoLocked() argument
1082 int serviceRequestId = pendingRequest.getServiceRequestId(); in removePendingAsyncPropRequestInfoLocked()
1084 if (pendingRequest.getRequestType() == SET) { in removePendingAsyncPropRequestInfoLocked()
1085 cleanupPendingAsyncSetRequestLocked(pendingRequest); in removePendingAsyncPropRequestInfoLocked()
1090 private void cleanupPendingAsyncSetRequestLocked(AsyncPropRequestInfo pendingRequest) { in cleanupPendingAsyncSetRequestLocked() argument
1091 int halPropId = managerToHalPropId(pendingRequest.getPropertyId()); in cleanupPendingAsyncSetRequestLocked()
1092 if (!pendingRequest.isWaitForPropertyUpdate()) { in cleanupPendingAsyncSetRequestLocked()
1095 if (pendingRequest.getAssocGetInitValueRequestInfo() == null) { in cleanupPendingAsyncSetRequestLocked()
[all …]
/packages/services/Car/cpp/vhal/client/src/
DAidlVhalClient.cpp566 auto pendingRequest = tryFinishGetValueRequest(requestId); in onGetValue() local
567 if (pendingRequest == nullptr) { in onGetValue()
573 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> callback = pendingRequest->callback; in onGetValue()
574 int32_t propId = pendingRequest->propId; in onGetValue()
575 int32_t areaId = pendingRequest->areaId; in onGetValue()
609 auto pendingRequest = tryFinishSetValueRequest(requestId); in onSetValue() local
610 if (pendingRequest == nullptr) { in onSetValue()
616 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback = pendingRequest->callback; in onSetValue()
617 int32_t propId = pendingRequest->propId; in onSetValue()
618 int32_t areaId = pendingRequest->areaId; in onSetValue()
[all …]
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java495 AndroidFuture<VhalResultType> pendingRequest = in finishRequestIfFound() local
498 return pendingRequest; in finishRequestIfFound()
958 AndroidFuture<VhalResultType> pendingRequest = in completePendingSyncRequestLocked() local
960 if (pendingRequest == null) { in completePendingSyncRequestLocked()
968 pendingRequest.complete(result); in completePendingSyncRequestLocked()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java983 final DownloadRequest pendingRequest; in onActivityResult()
985 pendingRequest = mDownloadRequests.get(requestCode); in onActivityResult()
986 if (pendingRequest == null) { in onActivityResult()
1000 mDownloadRequests.put(requestCode, new DownloadRequest(pendingRequest.mUrl, in onActivityResult()
1001 pendingRequest.mFilename, pendingRequest.mMimeType, fileUri)); in onActivityResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java2509 PendingAudioProfilePreferenceRequest pendingRequest = in notifyActiveDeviceChangeApplied() local
2513 if (pendingRequest.numberOfRemainingRequestsToAudioFramework == 1) { in notifyActiveDeviceChangeApplied()
2517 + pendingRequest.device); in notifyActiveDeviceChangeApplied()
2519 pendingRequest.device, in notifyActiveDeviceChangeApplied()
2520 pendingRequest.preferences, in notifyActiveDeviceChangeApplied()
2525 } else if (pendingRequest.numberOfRemainingRequestsToAudioFramework > 1) { in notifyActiveDeviceChangeApplied()
2528 pendingRequest.preferences, in notifyActiveDeviceChangeApplied()
2529 pendingRequest.numberOfRemainingRequestsToAudioFramework - 1, in notifyActiveDeviceChangeApplied()
2530 pendingRequest.device); in notifyActiveDeviceChangeApplied()
2542 + pendingRequest.device in notifyActiveDeviceChangeApplied()