Home
last modified time | relevance | path

Searched refs:mFence (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java50 private CountDownLatch mFence = new CountDownLatch(3); field in PixelCopyWideGamutViewProducerActivity
89 mFence.countDown(); in onDraw()
90 if (mFence.getCount() > 0) { in onDraw()
98 if (!mFence.await(timeout, unit)) { in waitForFirstDrawCompleted()
111 mFence = new CountDownLatch(3); in rotate()
DPixelCopyGLProducerCtsActivity.java42 private CountDownLatch mFence; field in PixelCopyGLProducerCtsActivity.QuadColorGLRenderer
82 if (mFence != null) { in onDrawFrame()
83 mFence.countDown(); in onDrawFrame()
109 mRenderer.mFence = swapFence; in setSwapFence()
DPixelCopyViewProducerActivity.java51 private CountDownLatch mFence = new CountDownLatch(3); field in PixelCopyViewProducerActivity
92 mFence.countDown(); in onDraw()
93 if (mFence.getCount() > 0) { in onDraw()
114 if (!mFence.await(timeout, unit)) { in waitForFirstDrawCompleted()
127 mFence = new CountDownLatch(3); in rotate()
DTextureViewCtsActivity.java164 private CountDownLatch mFence; field in TextureViewCtsActivity.RunSignalAndCatch
168 mFence = fence; in RunSignalAndCatch()
178 mFence.countDown(); in run()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java129 private final CountDownLatch mFence = new CountDownLatch(1); field in SurfaceViewTests.SurfaceViewHelper
168 mFence.countDown(); in surfaceChanged()
177 return mFence; in getFence()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp360 mFence(VK_NULL_HANDLE) {} in Renderer()
367 vkDestroyFence(mDeviceInfo->device(), mFence, nullptr); in ~Renderer()
834 VK_CALL(vkCreateFence(mDeviceInfo->device(), &fenceCreateInfo, nullptr, &mFence)); in init()
851 VK_CALL(vkResetFences(mDeviceInfo->device(), 1, &mFence)); in drawFrame()
865 VK_CALL(vkQueueSubmit(mDeviceInfo->queue(), 1, &submitInfo, mFence)) in drawFrame()
867 VK_CALL(vkWaitForFences(mDeviceInfo->device(), 1, &mFence, VK_TRUE, TIMEOUT_30_SEC)); in drawFrame()
DVulkanTestHelpers.cpp737 VK_CALL(vkCreateFence(mInit->device(), &fenceInfo, nullptr, &mFence)); in init()
802 if (mFence != VK_NULL_HANDLE) { in ~VkImageRenderer()
803 vkDestroyFence(mInit->device(), mFence, nullptr); in ~VkImageRenderer()
804 mFence = VK_NULL_HANDLE; in ~VkImageRenderer()
1157 VK_CALL(vkResetFences(mInit->device(), 1, &mFence)) in renderImageAndReadback()
1158 VK_CALL(vkQueueSubmit(mInit->queue(), 1, &submitInfo, mFence)); in renderImageAndReadback()
1159 VK_CALL(vkWaitForFences(mInit->device(), 1, &mFence, VK_TRUE, in renderImageAndReadback()
DVulkanPreTransformTestHelpers.h104 VkFence mFence; variable
DVulkanTestHelpers.h121 VkFence mFence = VK_NULL_HANDLE; variable
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java169 private CountDownLatch mFence; field in OpenGLESActivity.RunSignalAndCatch
173 mFence = fence; in RunSignalAndCatch()
183 mFence.countDown(); in run()