Home
last modified time | relevance | path

Searched refs:mActiveRequests (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/
DVoiceInteractor.java217 final ArrayMap<IBinder, Request> mActiveRequests = new ArrayMap<>(); field in VoiceInteractor
918 synchronized (mActiveRequests) { in pullRequest()
919 Request req = mActiveRequests.get(request.asBinder()); in pullRequest()
921 mActiveRequests.remove(request.asBinder()); in pullRequest()
928 final int N = mActiveRequests.size(); in makeRequestList()
934 list.add(mActiveRequests.valueAt(i)); in makeRequestList()
979 mActiveRequests.clear(); in detachActivity()
986 final int requestCount = mActiveRequests.size(); in destroy()
988 final Request request = mActiveRequests.valueAt(i); in destroy()
989 mActiveRequests.removeAt(i); in destroy()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java264 private final TreeSet<CaptureHolder> mActiveRequests; field in CaptureCollector
292 mActiveRequests = new TreeSet<>(); in CaptureCollector()
356 mActiveRequests.add(h); in queueRequest()
585 mActiveRequests.remove(h); in failNextPreview()
612 mActiveRequests.remove(h); in failNextJpeg()
628 while ((h = mActiveRequests.pollFirst()) != null) { in failAll()
666 mActiveRequests.remove(capture); in onRequestCompleted()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java168 final ArrayMap<IBinder, Request> mActiveRequests = new ArrayMap<IBinder, Request>(); field in VoiceInteractionSession
1022 mActiveRequests.put(req.mInterface.asBinder(), req); in addRequest()
1028 return mActiveRequests.containsKey(reqInterface); in isRequestActive()
1034 return mActiveRequests.remove(reqInterface); in removeRequest()
1939 if (mActiveRequests.size() > 0) { in dump()
1942 for (int i=0; i<mActiveRequests.size(); i++) { in dump()
1943 Request req = mActiveRequests.valueAt(i); in dump()