/cts/tests/tests/media/src/android/media/cts/ |
D | NonBlockingAudioTrack.java | 45 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()
|
D | MediaSessionTest.java | 199 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession() 206 assertEquals(queue.size(), mCallback.mQueue.size()); in testConfigureSession() 207 assertEquals(TEST_QUEUE_ID, mCallback.mQueue.get(0).getQueueId()); in testConfigureSession() 208 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession() 220 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession() 229 assertNull(mCallback.mQueue); in testConfigureSession() 576 private volatile List<QueueItem> mQueue; field in MediaSessionTest.MediaControllerCallback 594 mQueue = null; in resetLocked() 622 mQueue = queue; in onQueueChanged()
|
D | ImageReaderDecoderTest.java | 435 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/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealer.java | 41 final BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<>(1); field in WindowFocusStealer.MyResultReceiver 49 mQueue.add(resultCode); in onReceiveResult() 55 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in waitResult()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.h | 41 VkQueue queue() const { return mQueue; } in queue() 50 VkQueue mQueue; variable
|
D | VulkanTestHelpers.h | 36 VkQueue queue() { return mQueue; } in queue() 51 VkQueue mQueue = VK_NULL_HANDLE; variable
|
D | VulkanTestHelpers.cpp | 173 vkGetDeviceQueue(mDevice, 0, 0, &mQueue); in init() 180 if (mQueue != VK_NULL_HANDLE) { in ~VkInit() 182 mQueue = VK_NULL_HANDLE; in ~VkInit()
|
D | VulkanPreTransformTestHelpers.cpp | 108 mQueue(VK_NULL_HANDLE) {} in DeviceInfo() 230 vkGetDeviceQueue(mDevice, mQueueFamilyIndex, 0, &mQueue); in init()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CustomizationRestrictionsTest.java | 82 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()
|
D | PermissionsTest.java | 326 private BlockingQueue<Integer> mQueue = new ArrayBlockingQueue<Integer> (1); field in PermissionsTest.PermissionBroadcastReceiver 332 assertTrue(mQueue.add(result)); in onReceive() 336 Integer result = mQueue.poll(30, TimeUnit.SECONDS); in waitForBroadcast() 337 mQueue.clear(); in waitForBroadcast()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 288 private final LinkedBlockingQueue<Image> mQueue = field in CameraTestUtils.SimpleImageReaderListener 335 mQueue.put(imge); in onImageAvailable() 336 if (mAsyncMode && mQueue.size() >= mMaxImages) { in onImageAvailable() 337 Image img = mQueue.poll(); in onImageAvailable() 353 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage() 363 while (!mQueue.isEmpty()) { in drain() 364 Image image = mQueue.poll(); in drain() 401 private final LinkedBlockingQueue<TotalCaptureResult> mQueue = field in CameraTestUtils.SimpleCaptureCallback 430 mQueue.put(result); in onCaptureCompleted() 472 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResult() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 508 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver 510 mQueue = queue; in ActivityBroadcastReceiver() 516 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | CreateAndManageUserTest.java | 584 private LinkedBlockingQueue<UserHandle> mQueue = new LinkedBlockingQueue<UserHandle>(1); field in CreateAndManageUserTest.LocalBroadcastReceiver 591 mQueue.offer(userHandle); in onReceive() 596 return mQueue.poll(BROADCAST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForBroadcastReceived()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureResultTest.java | 766 private final LinkedBlockingQueue<Pair<TotalCaptureResult, List<CaptureResult>> > mQueue = field in CaptureResultTest.TotalAndPartialResultListener 789 mQueue.put(new Pair<TotalCaptureResult, List<CaptureResult>>( in onCaptureCompleted() 830 mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResultPairs()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1438 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver 1440 mQueue = queue; in ActivityBroadcastReceiver() 1446 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()
|