Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java221 MessageQueue queue = Looper.getMainLooper().getQueue(); in testRegisterFileDescriptorCallbackThrowsWhenFdIsNull() local
223 queue.addOnFileDescriptorEventListener(null, 0, in testRegisterFileDescriptorCallbackThrowsWhenFdIsNull()
237 MessageQueue queue = Looper.getMainLooper().getQueue(); in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() local
242 queue.addOnFileDescriptorEventListener(reader.getFileDescriptor(), 0, null); in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull()
251 MessageQueue queue = Looper.getMainLooper().getQueue(); in testUnregisterFileDescriptorCallbackThrowsWhenFdIsNull() local
253 queue.removeOnFileDescriptorEventListener(null); in testUnregisterFileDescriptorCallbackThrowsWhenFdIsNull()
262 MessageQueue queue = Looper.getMainLooper().getQueue(); in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() local
266 queue.removeOnFileDescriptorEventListener(reader.getFileDescriptor()); in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered()
277 final MessageQueue queue = thread.getLooper().getQueue(); in testFileDescriptorCallbacks() local
363 queue.addOnFileDescriptorEventListener(reader.getFD(), in testFileDescriptorCallbacks()
[all …]
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DBindDeviceAdminServiceGoodSetupTest.java182 final LinkedBlockingQueue<IInterface> queue = new LinkedBlockingQueue<>(); in assertCrossProfileCall() local
191 queue.add(NOT_IN_MAIN_THREAD_POISON_PILL); in assertCrossProfileCall()
194 queue.add(ICrossUserService.Stub.asInterface(service)); in assertCrossProfileCall()
204 IInterface service = queue.poll(5, TimeUnit.SECONDS); in assertCrossProfileCall()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java506 receiveZero.queue(zeroBuffer, 1); in receiveZeroSizeRequestLegacy()
578 boolean wasQueued = receive.queue(bufferReceivedSliced, size); in echoUsbRequestLegacy()
580 wasQueued = sent.queue(bufferSentSliced, size); in echoUsbRequestLegacy()
643 receiveZero.queue(zeroBuffer); in receiveZeroSizeRequest()
717 boolean wasQueued = receive.queue(bufferReceivedSliced); in echoUsbRequest()
719 wasQueued = sent.queue(bufferSentSliced); in echoUsbRequest()
810 boolean wasQueued = receive.queue(bufferReceived, totalSize); in echoOversizedUsbRequestLegacy()
812 wasQueued = sent.queue(bufferSent, totalSize); in echoOversizedUsbRequestLegacy()
868 reqQueued.queue(buffer);
900 boolean isQueued = sent.queue(buffer, 0);
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilitySoftKeyboardModesTest.java230 final BlockingQueue<Integer> queue = new ArrayBlockingQueue<>(1);
238 queue.add(resultCode);
248 result = queue.poll(TIMEOUT_SHOW_SOFTINPUT_RESULT, TimeUnit.MILLISECONDS);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DGridActivity.java124 final BlockingQueue<String> queue = new LinkedBlockingQueue<>(1); in getText() local
125 onCell(row, column, (c) -> queue.offer(c.getText().toString())); in getText()
126 final String text = queue.poll(100, TimeUnit.MILLISECONDS); in getText()
/cts/tests/tests/media/libaudiojni/
DAndroid.mk24 appendix-b-1-1-buffer-queue.cpp \
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionTest.java177 List<QueueItem> queue = new ArrayList<>(); in testConfigureSession() local
180 queue.add(item); in testConfigureSession()
181 mSession.setQueue(queue); in testConfigureSession()
192 assertEquals(queue.size(), mCallback.mQueue.size()); in testConfigureSession()
197 assertEquals(queue.size(), controller.getQueue().size()); in testConfigureSession()
524 public void onQueueChanged(List<QueueItem> queue) { in onQueueChanged() argument
527 mQueue = queue; in onQueueChanged()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java542 JSONObject queue = queues.getJSONObject(queueIdx); in emitDevices() local
545 emitLong(store, queue, KEY_QUEUE_FLAGS); in emitDevices()
546 emitLong(store, queue, KEY_QUEUE_COUNT); in emitDevices()
547 emitLong(store, queue, KEY_TIMESTAMP_VALID_BITS); in emitDevices()
548 JSONObject extent = queue.getJSONObject(KEY_MIN_IMAGE_TRANSFER_GRANULARITY); in emitDevices()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java432 public ActivityBroadcastReceiver(SynchronousQueue<TestResult> queue) { in ActivityBroadcastReceiver() argument
433 mQueue = queue; in ActivityBroadcastReceiver()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java987 public ActivityBroadcastReceiver(SynchronousQueue<TestResult> queue) { in ActivityBroadcastReceiver() argument
988 mQueue = queue; in ActivityBroadcastReceiver()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java711 public void takeInputQueue(InputQueue.Callback queue) { in takeInputQueue() argument
/cts/tools/dex-tools/dex/
Dclasses0.out.dex17255 java.lang.ref.ReferenceQueue queue
Dclasses.out.dex143998 private java.lang.ref.ReferenceQueue queue