Home
last modified time | relevance | path

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

/packages/services/Car/cpp/vhal/client/src/
DAidlVhalClient.cpp446 auto pendingRequest = tryFinishGetValueRequest(requestId); in onGetValue() local
447 if (pendingRequest == nullptr) { in onGetValue()
453 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> callback = pendingRequest->callback; in onGetValue()
454 int32_t propId = pendingRequest->propId; in onGetValue()
455 int32_t areaId = pendingRequest->areaId; in onGetValue()
489 auto pendingRequest = tryFinishSetValueRequest(requestId); in onSetValue() local
490 if (pendingRequest == nullptr) { in onSetValue()
496 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback = pendingRequest->callback; in onSetValue()
497 int32_t propId = pendingRequest->propId; in onSetValue()
498 int32_t areaId = pendingRequest->areaId; in onSetValue()
[all …]
/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.java976 private void removePendingAsyncPropRequestInfoLocked(AsyncPropRequestInfo pendingRequest) { in removePendingAsyncPropRequestInfoLocked() argument
977 int serviceRequestId = pendingRequest.getServiceRequestId(); in removePendingAsyncPropRequestInfoLocked()
979 if (pendingRequest.getRequestType() == SET) { in removePendingAsyncPropRequestInfoLocked()
980 cleanupPendingAsyncSetRequestLocked(pendingRequest); in removePendingAsyncPropRequestInfoLocked()
985 private void cleanupPendingAsyncSetRequestLocked(AsyncPropRequestInfo pendingRequest) { in cleanupPendingAsyncSetRequestLocked() argument
986 int halPropId = managerToHalPropId(pendingRequest.getPropertyId()); in cleanupPendingAsyncSetRequestLocked()
987 if (!pendingRequest.isWaitForPropertyUpdate()) { in cleanupPendingAsyncSetRequestLocked()
990 if (pendingRequest.getAssocGetInitValueRequestInfo() == null) { in cleanupPendingAsyncSetRequestLocked()
993 pendingRequest); in cleanupPendingAsyncSetRequestLocked()
999 pendingRequest.getAssocGetInitValueRequestInfo(); in cleanupPendingAsyncSetRequestLocked()
[all …]
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java607 final DownloadRequest pendingRequest; in onActivityResult()
609 pendingRequest = mDownloadRequests.get(requestCode); in onActivityResult()
610 if (pendingRequest == null) { in onActivityResult()
624 mDownloadRequests.put(requestCode, new DownloadRequest(pendingRequest.mUrl, in onActivityResult()
625 pendingRequest.mFilename, pendingRequest.mMimeType, fileUri)); in onActivityResult()
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java390 AndroidFuture<VhalResultType> pendingRequest = in finishRequestIfFound() local
393 return pendingRequest; in finishRequestIfFound()
762 AndroidFuture<VhalResultType> pendingRequest = in completePendingSyncRequestLocked() local
764 if (pendingRequest == null) { in completePendingSyncRequestLocked()
772 pendingRequest.complete(result); in completePendingSyncRequestLocked()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java4594 PendingAudioProfilePreferenceRequest pendingRequest = in notifyActiveDeviceChangeApplied() local
4598 if (pendingRequest.mRemainingRequestsToAudioFramework == 1) { in notifyActiveDeviceChangeApplied()
4602 + pendingRequest.mDeviceRequested); in notifyActiveDeviceChangeApplied()
4604 pendingRequest.mDeviceRequested, in notifyActiveDeviceChangeApplied()
4605 pendingRequest.mRequestedPreferences, in notifyActiveDeviceChangeApplied()
4610 } else if (pendingRequest.mRemainingRequestsToAudioFramework > 1) { in notifyActiveDeviceChangeApplied()
4613 pendingRequest.mRequestedPreferences, in notifyActiveDeviceChangeApplied()
4614 pendingRequest.mRemainingRequestsToAudioFramework - 1, in notifyActiveDeviceChangeApplied()
4615 pendingRequest.mDeviceRequested); in notifyActiveDeviceChangeApplied()
4627 + pendingRequest.mDeviceRequested in notifyActiveDeviceChangeApplied()