/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | UtilsTest.java | 53 final Semaphore semaphore = new Semaphore(0); in testListenerList() local 69 semaphore.release(); in testListenerList() 74 semaphore.tryAcquire(1 /* permits */, 1, TimeUnit.SECONDS)); in testListenerList() 81 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/tests/tests/os/src/android/os/cts/ |
D | PowerManager_WakeLockTest.java | 101 final Semaphore semaphore = new Semaphore(0); in testWakeLockCallback() local 106 semaphore.release(); in testWakeLockCallback() 110 assertTrue(semaphore.tryAcquire(5, SECONDS)); in testWakeLockCallback() 114 assertTrue(semaphore.tryAcquire(5, SECONDS)); in testWakeLockCallback() 118 assertTrue(semaphore.tryAcquire(5, SECONDS)); in testWakeLockCallback() 122 assertTrue(semaphore.tryAcquire(5, SECONDS)); in testWakeLockCallback()
|
/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 104 VkImageView view, VkSemaphore semaphore, 108 VkImageView view, VkSemaphore semaphore,
|
D | android_graphics_cts_CameraVulkanGpuTest.cpp | 84 vkImage.semaphore(), vkImage.isSamplerImmutable(), &imageData), in loadCameraAndVerifyFrameImport() 130 vkImage.semaphore(), vkImage.isSamplerImmutable(), &imageData), in loadCameraAndVerifyFrameImportWithAIMAGE_FORMAT_YUV_420_888()
|
D | VulkanTestHelpers.cpp | 455 .semaphore = mSemaphore, in init() 808 VkSemaphore semaphore, in renderImageAndReadback() argument 812 ASSERT(renderImageAndReadback(image, sampler, view, semaphore, in renderImageAndReadback() 826 VkSemaphore semaphore, in renderImageAndReadback() argument 1146 .waitSemaphoreCount = semaphore != VK_NULL_HANDLE ? 1u : 0u, in renderImageAndReadback() 1147 .pWaitSemaphores = semaphore != VK_NULL_HANDLE ? &semaphore : nullptr, in renderImageAndReadback() 1149 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()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 3341 final Semaphore semaphore = new Semaphore(0); in testCallNotificationListener_callstyleNotificationPosted() local 3348 semaphore.release(); in testCallNotificationListener_callstyleNotificationPosted() 3352 semaphore.release(); in testCallNotificationListener_callstyleNotificationPosted() 3366 if (!semaphore.tryAcquire(5, TimeUnit.SECONDS)) { in testCallNotificationListener_callstyleNotificationPosted() 3374 semaphore.release(); in testCallNotificationListener_callstyleNotificationPosted() 3377 if (!semaphore.tryAcquire(5, TimeUnit.SECONDS)) { in testCallNotificationListener_callstyleNotificationPosted() 3389 final Semaphore semaphore = new Semaphore(0); in testCallNotificationListener_nonCallStyleNotificationPosted() local 3396 semaphore.release(); in testCallNotificationListener_nonCallStyleNotificationPosted() 3412 if (semaphore.tryAcquire(5, TimeUnit.SECONDS)) { in testCallNotificationListener_nonCallStyleNotificationPosted() 3422 final Semaphore semaphore = new Semaphore(0); in testCallNotificationListener_unregisterListener() local [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | MockSatelliteServiceManager.java | 1445 MockPointingUiActivityStatusReceiver(Semaphore semaphore) { in MockPointingUiActivityStatusReceiver() argument 1446 mSemaphore = semaphore; in MockPointingUiActivityStatusReceiver()
|