Home
last modified time | relevance | path

Searched refs:mPendingRequests (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/infra/
DAbstractMultiplePendingRequestsRemoteService.java46 protected @NonNull List<BasePendingRequest<S, I>> mPendingRequests; field in AbstractMultiplePendingRequestsRemoteService
55 mPendingRequests = new ArrayList<>(mInitialCapacity); in AbstractMultiplePendingRequestsRemoteService()
60 synchronized (mPendingRequests) { in handlePendingRequests()
61 final int size = mPendingRequests.size(); in handlePendingRequests()
64 handlePendingRequest(mPendingRequests.get(i)); in handlePendingRequests()
66 mPendingRequests.clear(); in handlePendingRequests()
72 synchronized (mPendingRequests) { in handleOnDestroy()
73 final int size = mPendingRequests.size(); in handleOnDestroy()
76 mPendingRequests.get(i).cancel(); in handleOnDestroy()
78 mPendingRequests.clear(); in handleOnDestroy()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DTransport.java91 protected final SparseArray<CompletableFuture<byte[]>> mPendingRequests = field in Transport
184 synchronized (mPendingRequests) { in requestForResponse()
185 mPendingRequests.put(sequence, pending); in requestForResponse()
191 synchronized (mPendingRequests) { in requestForResponse()
192 mPendingRequests.remove(sequence); in requestForResponse()
297 synchronized (mPendingRequests) { in processResponse()
298 future = mPendingRequests.removeReturnOld(sequence); in processResponse()
/frameworks/base/services/core/java/com/android/server/logcat/
DLogcatManagerService.java188 final List<LogAccessRequest> mPendingRequests = new ArrayList<>(); field in LogcatManagerService.LogAccessStatus
408 logAccessStatus.mPendingRequests.add(request); in onLogAccessRequested()
412 logAccessStatus.mPendingRequests.add(request); in onLogAccessRequested()
459 for (LogAccessRequest request : logAccessStatus.mPendingRequests) { in onAccessApprovedForClient()
463 logAccessStatus.mPendingRequests.clear(); in onAccessApprovedForClient()
472 for (LogAccessRequest request : logAccessStatus.mPendingRequests) { in onAccessDeclinedForClient()
476 logAccessStatus.mPendingRequests.clear(); in onAccessDeclinedForClient()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp476 mPendingRequests.add(cseq, reply); in onSendRequest()
514 for (size_t i = 0; i < mPendingRequests.size(); ++i) { in flushPendingRequests()
515 sp<AMessage> reply = mPendingRequests.valueAt(i); in flushPendingRequests()
521 mPendingRequests.clear(); in flushPendingRequests()
746 sp<AMessage> reply = mPendingRequests.valueAt(i); in receiveRTSPReponse()
747 mPendingRequests.removeItemsAt(i); in receiveRTSPReponse()
857 i = mPendingRequests.indexOfKey(cseq); in findPendingRequest()
882 sp<AMessage> reply = mPendingRequests.valueAt(i); in notifyResponseListener()
883 mPendingRequests.removeItemsAt(i); in notifyResponseListener()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DARTSPConnection.h93 KeyedVector<int32_t, sp<AMessage> > mPendingRequests; member
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java531 serviceState.mPendingRequests.add( in handleRequest()
629 mServiceState.mPendingRequests.remove(this); in removeLocked()
923 final FixedSizeQueue<PendingRequest> mPendingRequests = field in TextClassificationManagerService.ServiceState
1021 while ((request = mPendingRequests.poll()) != null) { in handlePendingRequestsLocked()
1044 return !mPendingRequests.isEmpty() && bindLocked(); in bindIfHasPendingRequestsLocked()
1110 pw.printPair("numOfPendingRequests", mPendingRequests.size()); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java272 private final List<PendingRequest> mPendingRequests = new ArrayList<>(); field in SmsDispatchersController.DomainSelectionConnectionHolder
292 return mPendingRequests; in getPendingRequests()
301 return !mPendingRequests.isEmpty(); in isDomainSelectionRequested()
315 mPendingRequests.clear(); in clearAllRequests()
322 mPendingRequests.add(request); in addRequest()
/frameworks/av/services/audioflinger/
DAudioFlinger.h517 bool mPendingRequests; variable
DAudioFlinger.cpp2259 : mPendingRequests(false) {} in MediaLogNotifier()
2264 mPendingRequests = true; in requestMerge()
2276 mPendingRequests = false; // to ignore past requests in threadLoop()
2277 while (!mPendingRequests) { in threadLoop()
2281 mPendingRequests = false; in threadLoop()