Searched refs:semaphore (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | UtilsTest.java | 46 final Semaphore semaphore = new Semaphore(0); in testListenerList() local 62 semaphore.release(); in testListenerList() 67 semaphore.tryAcquire(1 /* permits */, 1, TimeUnit.SECONDS)); in testListenerList() 74 semaphore.tryAcquire(1 /* permits */, 250, TimeUnit.MILLISECONDS)); in testListenerList()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GLProducerThread.java | 54 int frames, int delayMs, Semaphore semaphore) { in GLProducerThread() argument 58 mSemaphore = semaphore; in GLProducerThread() 64 Semaphore semaphore) { in GLProducerThread() argument 65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread() 69 int delayMs, Semaphore semaphore) { in GLProducerThread() argument 70 this(surfaceTexture, renderer, shouldRender, 0, delayMs, semaphore); in GLProducerThread()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockedNumberUtil.java | 74 final Semaphore semaphore = new Semaphore(0); in runBlockedNumberService() local 81 semaphore.release(); in runBlockedNumberService() 90 TestCase.assertTrue(semaphore.tryAcquire(TIMEOUT, TimeUnit.SECONDS)); in runBlockedNumberService()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanTestHelpers.h | 68 VkSemaphore semaphore() { return mSemaphore; } in semaphore() function 91 VkImageView view, VkSemaphore semaphore, 95 VkImageView view, VkSemaphore semaphore,
|
D | android_graphics_cts_CameraVulkanGpuTest.cpp | 84 vkImage.semaphore(), vkImage.isSamplerImmutable(), &imageData), in loadCameraAndVerifyFrameImport()
|
D | VulkanTestHelpers.cpp | 455 .semaphore = mSemaphore, in init() 857 VkSemaphore semaphore, in renderImageAndReadback() argument 861 ASSERT(renderImageAndReadback(image, sampler, view, semaphore, in renderImageAndReadback() 875 VkSemaphore semaphore, in renderImageAndReadback() argument 1195 .waitSemaphoreCount = semaphore != VK_NULL_HANDLE ? 1u : 0u, in renderImageAndReadback() 1196 .pWaitSemaphores = semaphore != VK_NULL_HANDLE ? &semaphore : nullptr, in renderImageAndReadback() 1198 semaphore != VK_NULL_HANDLE ? &semaphoreWaitFlags : nullptr, in renderImageAndReadback()
|
D | android_graphics_cts_BasicVulkanGpuTest.cpp | 128 vkImage.view(), vkImage.semaphore(), in verifyBasicBufferImport()
|
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 122 vkImage.semaphore(), vkImage.isSamplerImmutable(), &framePixels), in loadMediaAndVerifyFrameImport()
|