Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java159 private final List<CapabilitiesCache.OnLocalPrinterCapabilities> mRequests = field in ManualDiscovery.CapabilitiesFinder
176 mRequests.remove(this); in CapabilitiesFinder()
180 mRequests.add(capabilitiesCallback); in CapabilitiesFinder()
194 if (mRequests.isEmpty()) { in handleCapabilities()
202 for (CapabilitiesCache.OnLocalPrinterCapabilities request : mRequests) { in handleCapabilities()
205 mRequests.clear(); in handleCapabilities()
227 for (CapabilitiesCache.OnLocalPrinterCapabilities callback : mRequests) { in cancel()
230 mRequests.clear(); in cancel()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterDeleteSet.java62 private ArrayList<Request> mRequests = new ArrayList<Request>(); field in FilterDeleteSet
148 synchronized (mRequests) { in reload()
149 if (!newData && mRequests.isEmpty()) { in reload()
152 for (int i = 0; i < mRequests.size(); i++) { in reload()
153 Request r = mRequests.get(i); in reload()
184 mRequests.clear(); in reload()
228 synchronized (mRequests) { in sendRequest()
229 mRequests.add(r); in sendRequest()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java70 private final Map<Uri, Request> mRequests = new HashMap<>(); field in CapabilitiesCache
159 Request request = mRequests.computeIfAbsent(printer.path, uri -> in request()
196 for (Map.Entry<Uri, Request> entry : mRequests.entrySet()) { in cancel()
205 mRequests.remove(request); in cancel()
223 for (Request request : mRequests.values()) { in getNextRequest()
273 mRequests.remove(printer.path); in accept()
292 mRequests.put(printer.path, this); in accept()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoAsyncQueryFactoryFixture.java62 mRequests.add(r);
70 final List<Request> mRequests = Collections.synchronizedList(new ArrayList<Request>()); field in CallerInfoAsyncQueryFactoryFixture
DBasicCallTests.java380 assertEquals(1, mCallerInfoAsyncQueryFactoryFixture.mRequests.size()); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
387 mCallerInfoAsyncQueryFactoryFixture.mRequests) { in testIncomingCallFromContactWithSendToVoicemailIsRejected()
431 assertEquals(1, mCallerInfoAsyncQueryFactoryFixture.mRequests.size()); in testIncomingCallCallerInfoLookupTimesOutIsAllowed()
481 assertEquals(1, mCallerInfoAsyncQueryFactoryFixture.mRequests.size()); in testIncomingCallFromBlockedNumberIsRejected()
483 mCallerInfoAsyncQueryFactoryFixture.mRequests) { in testIncomingCallFromBlockedNumberIsRejected()
533 while (mCallerInfoAsyncQueryFactoryFixture.mRequests.size() > 0) { in do_testDeadlockOnOutgoingCall()
534 mCallerInfoAsyncQueryFactoryFixture.mRequests.remove(0).reply(); in do_testDeadlockOnOutgoingCall()
DTelecomSystemTest.java762 mCallerInfoAsyncQueryFactoryFixture.mRequests.forEach( in startOutgoingPhoneCallWaitForBroadcaster()
933 mCallerInfoAsyncQueryFactoryFixture.mRequests.forEach( in startIncomingPhoneCall()