Home
last modified time | relevance | path

Searched refs:mQueue (Results 1 – 15 of 15) 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.java202 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession()
209 assertEquals(queue.size(), mCallback.mQueue.size()); in testConfigureSession()
210 assertEquals(TEST_QUEUE_ID, mCallback.mQueue.get(0).getQueueId()); in testConfigureSession()
211 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession()
223 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession()
232 assertNull(mCallback.mQueue); in testConfigureSession()
618 private volatile List<QueueItem> mQueue; field in MediaSessionTest.MediaControllerCallback
636 mQueue = null; in resetLocked()
664 mQueue = queue; in onQueueChanged()
DImageReaderDecoderTest.java438 private final LinkedBlockingQueue<Image> mQueue = field in ImageReaderDecoderTest.ImageListener
444 mQueue.put(reader.acquireNextImage()); in onImageAvailable()
458 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealer.java42 final BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<>(1); field in WindowFocusStealer.MyResultReceiver
50 mQueue.add(resultCode); in onReceiveResult()
56 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in waitResult()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java82 private BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<Integer>(1); field in CustomizationRestrictionsTest.BlockingBroadcastReceiver
86 assertTrue(mQueue.add(0)); in onReceive()
90 Integer result = mQueue.poll(BROADCAST_TIMEOUT_SEC, TimeUnit.SECONDS); in waitForBroadcast()
DPermissionsTest.java398 private BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<Integer> (1); field in PermissionsTest.PermissionBroadcastReceiver
404 assertTrue(mQueue.add(result)); in onReceive()
408 Integer result = mQueue.poll(30, TimeUnit.SECONDS); in waitForBroadcast()
409 mQueue.clear(); in waitForBroadcast()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.h43 VkQueue queue() const { return mQueue; } in queue()
52 VkQueue mQueue; variable
DVulkanTestHelpers.h36 VkQueue queue() { return mQueue; } in queue()
51 VkQueue mQueue = VK_NULL_HANDLE; variable
DVulkanTestHelpers.cpp173 vkGetDeviceQueue(mDevice, 0, 0, &mQueue); in init()
180 if (mQueue != VK_NULL_HANDLE) { in ~VkInit()
182 mQueue = VK_NULL_HANDLE; in ~VkInit()
DVulkanPreTransformTestHelpers.cpp114 mQueue(VK_NULL_HANDLE) {} in DeviceInfo()
243 vkGetDeviceQueue(mDevice, mQueueFamilyIndex, 0, &mQueue); in init()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java512 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver
514 mQueue = queue; in ActivityBroadcastReceiver()
520 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java296 private final LinkedBlockingQueue<Image> mQueue = field in CameraTestUtils.SimpleImageReaderListener
343 mQueue.put(imge); in onImageAvailable()
344 if (mAsyncMode && mQueue.size() >= mMaxImages) { in onImageAvailable()
345 Image img = mQueue.poll(); in onImageAvailable()
361 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
371 while (!mQueue.isEmpty()) { in drain()
372 Image image = mQueue.poll(); in drain()
409 private final LinkedBlockingQueue<TotalCaptureResult> mQueue = field in CameraTestUtils.SimpleCaptureCallback
438 mQueue.put(result); in onCaptureCompleted()
480 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResult()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java452 private LinkedBlockingQueue<UserHandle> mQueue = new LinkedBlockingQueue<>(1); field in CreateAndManageUserTest.LocalBroadcastReceiver
459 mQueue.offer(userHandle); in onReceive()
464 return mQueue.poll(BROADCAST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForBroadcastReceived()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java806 private final LinkedBlockingQueue<Pair<TotalCaptureResult, List<CaptureResult>> > mQueue = field in CaptureResultTest.TotalAndPartialResultListener
829 mQueue.put(new Pair<TotalCaptureResult, List<CaptureResult>>( in onCaptureCompleted()
870 mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResultPairs()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1436 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver
1438 mQueue = queue; in ActivityBroadcastReceiver()
1444 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()