Home
last modified time | relevance | path

Searched refs:mQueue (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java45 private LinkedList<QueueElement> mQueue = new LinkedList<QueueElement>(); field in NonBlockingAudioTrack
116 if (mQueue.isEmpty()) { in stop()
133 mQueue.clear(); in flush()
139 mQueue.clear(); in release()
147 while (!mQueue.isEmpty()) { in process()
148 QueueElement element = mQueue.peekFirst(); in process()
160 mQueue.removeFirst(); in process()
181 mQueue.add(element); in write()
DMediaSessionTest.java182 assertEquals(queue.size(), mCallback.mQueue.size()); in testConfigureSession()
183 assertEquals(TEST_QUEUE_ID, mCallback.mQueue.get(0).getQueueId()); in testConfigureSession()
184 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession()
201 assertNull(mCallback.mQueue); in testConfigureSession()
355 private volatile List<QueueItem> mQueue; field in MediaSessionTest.MediaControllerCallback
373 mQueue = null; in resetLocked()
401 mQueue = queue; in onQueueChanged()
DImageReaderDecoderTest.java435 private final LinkedBlockingQueue<Image> mQueue = field in ImageReaderDecoderTest.ImageListener
441 mQueue.put(reader.acquireNextImage()); in onImageAvailable()
455 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java83 private BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<Integer> (1); field in CustomizationRestrictionsTest.BlockingBroadcastReceiver
87 assertTrue(mQueue.add(0)); in onReceive()
91 Integer result = mQueue.poll(BROADCAST_TIMEOUT_SEC, TimeUnit.SECONDS); in waitForBroadcast()
DPermissionsTest.java305 private BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<Integer> (1); field in PermissionsTest.PermissionBroadcastReceiver
311 assertTrue(mQueue.add(result)); in onReceive()
315 Integer result = mQueue.poll(30, TimeUnit.SECONDS); in waitForBroadcast()
316 mQueue.clear(); in waitForBroadcast()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java274 private final LinkedBlockingQueue<Image> mQueue = field in CameraTestUtils.SimpleImageReaderListener
321 mQueue.put(imge); in onImageAvailable()
322 if (mAsyncMode && mQueue.size() >= mMaxImages) { in onImageAvailable()
323 Image img = mQueue.poll(); in onImageAvailable()
339 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
349 while (!mQueue.isEmpty()) { in drain()
350 Image image = mQueue.poll(); in drain()
387 private final LinkedBlockingQueue<TotalCaptureResult> mQueue = field in CameraTestUtils.SimpleCaptureCallback
416 mQueue.put(result); in onCaptureCompleted()
458 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResult()
[all …]
DCaptureResultTest.java651 private final LinkedBlockingQueue<Pair<TotalCaptureResult, List<CaptureResult>> > mQueue = field in CaptureResultTest.TotalAndPartialResultListener
674 mQueue.put(new Pair<TotalCaptureResult, List<CaptureResult>>( in onCaptureCompleted()
715 mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResultPairs()
/cts/tools/dex-tools/dex/
Dclasses.out.dex7554 final android.os.MessageQueue mQueue
56786 final android.os.MessageQueue mQueue