Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DUtilsTest.java46 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/
DGLProducerThread.java54 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/
DBlockedNumberUtil.java74 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/
DVulkanTestHelpers.h68 VkSemaphore semaphore() { return mSemaphore; } in semaphore() function
91 VkImageView view, VkSemaphore semaphore,
95 VkImageView view, VkSemaphore semaphore,
Dandroid_graphics_cts_CameraVulkanGpuTest.cpp84 vkImage.semaphore(), vkImage.isSamplerImmutable(), &imageData), in loadCameraAndVerifyFrameImport()
DVulkanTestHelpers.cpp455 .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()
Dandroid_graphics_cts_BasicVulkanGpuTest.cpp128 vkImage.view(), vkImage.semaphore(), in verifyBasicBufferImport()
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp122 vkImage.semaphore(), vkImage.isSamplerImmutable(), &framePixels), in loadMediaAndVerifyFrameImport()