/cts/tests/tests/media/src/android/media/cts/ |
D | NonBlockingAudioTrack.java | 46 private LinkedList<QueueElement> mQueue = new LinkedList<QueueElement>(); field in NonBlockingAudioTrack 123 if (mQueue.isEmpty()) { in stop() 140 mQueue.clear(); in flush() 146 mQueue.clear(); in release() 154 while (!mQueue.isEmpty()) { in process() 155 QueueElement element = mQueue.peekFirst(); in process() 167 mQueue.removeFirst(); in process() 188 mQueue.add(element); in write()
|
D | MediaSessionTest.java | 242 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession() 249 assertEquals(queue.size(), mCallback.mQueue.size()); in testConfigureSession() 250 assertEquals(TEST_QUEUE_ID, mCallback.mQueue.get(0).getQueueId()); in testConfigureSession() 251 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession() 263 callback.onQueueChanged(mCallback.mQueue); in testConfigureSession() 272 assertNull(mCallback.mQueue); in testConfigureSession() 1013 private volatile List<QueueItem> mQueue; field in MediaSessionTest.MediaControllerCallback 1031 mQueue = null; in resetLocked() 1059 mQueue = queue; in onQueueChanged()
|
D | ImageReaderDecoderTest.java | 457 private final LinkedBlockingQueue<Image> mQueue = field in ImageReaderDecoderTest.ImageListener 463 mQueue.put(reader.acquireNextImage()); in onImageAvailable() 477 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsServiceTest.java | 983 LinkedBlockingQueue<Integer> mQueue = new LinkedBlockingQueue<>(); in testMmTelManagerRegistrationCallback() local 987 mQueue.offer(imsTransportType); in testMmTelManagerRegistrationCallback() 992 mQueue.offer(imsTransportType); in testMmTelManagerRegistrationCallback() 997 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationCallback() 1002 mQueue.offer(imsTransportType); in testMmTelManagerRegistrationCallback() 1003 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationCallback() 1027 assertEquals(ImsReasonInfo.CODE_LOCAL_NOT_REGISTERED, waitForIntResult(mQueue)); in testMmTelManagerRegistrationCallback() 1033 assertEquals(AccessNetworkConstants.TRANSPORT_TYPE_WWAN, waitForIntResult(mQueue)); in testMmTelManagerRegistrationCallback() 1038 assertEquals(AccessNetworkConstants.TRANSPORT_TYPE_WWAN, waitForIntResult(mQueue)); in testMmTelManagerRegistrationCallback() 1045 assertEquals(AccessNetworkConstants.TRANSPORT_TYPE_WLAN, waitForIntResult(mQueue)); in testMmTelManagerRegistrationCallback() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealer.java | 42 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/ |
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()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.h | 42 VkQueue queue() const { return mQueue; } in queue() 51 VkQueue mQueue; variable
|
D | VulkanTestHelpers.h | 36 VkQueue queue() { return mQueue; } in queue() 53 VkQueue mQueue = VK_NULL_HANDLE; variable
|
D | VulkanTestHelpers.cpp | 241 vkGetDeviceQueue(mDevice, 0, 0, &mQueue); in init() 248 if (mQueue != VK_NULL_HANDLE) { in ~VkInit() 250 mQueue = VK_NULL_HANDLE; in ~VkInit()
|
D | VulkanPreTransformTestHelpers.cpp | 116 mQueue(VK_NULL_HANDLE) {} in DeviceInfo() 238 vkGetDeviceQueue(mDevice, mQueueFamilyIndex, 0, &mQueue); in init()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 519 private final LinkedBlockingQueue<Image> mQueue = field in CameraTestUtils.SimpleImageReaderListener 566 mQueue.put(imge); in onImageAvailable() 567 if (mAsyncMode && mQueue.size() >= mMaxImages) { in onImageAvailable() 568 Image img = mQueue.poll(); in onImageAvailable() 584 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage() 594 while (!mQueue.isEmpty()) { in drain() 595 Image image = mQueue.poll(); in drain() 658 if (mQueue.size() < mMaxBuffers) { in onImageAvailable() 662 mQueue.offer(new ImageAndMultiResStreamInfo(image, multiResStreamInfo)); in onImageAvailable() 685 ImageAndMultiResStreamInfo imageAndInfo = mQueue.poll(timeoutMs, in getAnyImageAndInfoAvailable() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 649 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver 651 mQueue = queue; in ActivityBroadcastReceiver() 657 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureResultTest.java | 881 private final LinkedBlockingQueue<Pair<TotalCaptureResult, List<CaptureResult>> > mQueue = field in CaptureResultTest.TotalAndPartialResultListener 904 mQueue.put(new Pair<TotalCaptureResult, List<CaptureResult>>( in onCaptureCompleted() 945 mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getCaptureResultPairs()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1499 private final SynchronousQueue<TestResult> mQueue; field in ClientTest.ActivityBroadcastReceiver 1501 mQueue = queue; in ActivityBroadcastReceiver() 1507 mQueue.offer(intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT), in onReceive()
|