Home
last modified time | relevance | path

Searched refs:fence (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java129 CountDownLatch fence = new CountDownLatch(1); in setWideColorGamut() local
132 }, fence); in setWideColorGamut()
134 if (!fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in setWideColorGamut()
144 CountDownLatch fence = new CountDownLatch(1); in getContents() local
149 }, fence); in getContents()
151 if (!fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) { in getContents()
165 RunSignalAndCatch(Runnable run, CountDownLatch fence) { in RunSignalAndCatch() argument
167 mFence = fence; in RunSignalAndCatch()
183 CountDownLatch fence = new CountDownLatch(1); in runOnGLThread() local
184 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGLThread()
[all …]
DPixelCopyTest.java623 final CountDownLatch fence = new CountDownLatch(1); in runGcAndFinalizersSync() local
628 fence.countDown(); in runGcAndFinalizersSync()
638 } while (!fence.await(100, TimeUnit.MILLISECONDS)); in runGcAndFinalizersSync()
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.cpp181 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in drawWorkload() local
186 eglWaitSyncKHR(mEglDisplay, fence, 0); in drawWorkload()
187 eglDestroySyncKHR(mEglDisplay, fence); in drawWorkload()
204 fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in drawWorkload()
226 eglWaitSyncKHR(mEglDisplay, fence, 0); in drawWorkload()
227 eglDestroySyncKHR(mEglDisplay, fence); in drawWorkload()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DTextureViewTests.java108 final CountDownLatch fence = new CountDownLatch(1); in testReuseSurfaceTexture() local
124 textureview.post(fence::countDown); in testReuseSurfaceTexture()
126 }, true, fence) in testReuseSurfaceTexture()
133 final CountDownLatch fence = new CountDownLatch(1); in testLockCanvas() local
140 textureview.post(fence::countDown); in testLockCanvas()
157 }, true, fence) in testLockCanvas()
DVectorDrawableTests.java84 final CountDownLatch fence = new CountDownLatch(1); in testInvalidateCache() local
117 root.post(fence::countDown); in testInvalidateCache()
124 }, true, fence) in testInvalidateCache()
DLayerTests.java120 final CountDownLatch fence = new CountDownLatch(1); in testLayerPaintAlphaChanged() local
141 root.post(fence::countDown); in testLayerPaintAlphaChanged()
148 }, true, fence) in testLayerPaintAlphaChanged()
282 final CountDownLatch fence = new CountDownLatch(1); in testLayerResizeZero() local
310 root.post(fence::countDown); in testLayerResizeZero()
317 }, true, fence) in testLayerResizeZero()
DPathClippingTests.java193 private ViewInitializer initBlueWebView(final CountDownLatch fence) { in initBlueWebView() argument
197 WebViewReadyHelper helper = new WebViewReadyHelper(webview, fence); in initBlueWebView()
/cts/tests/sensor/jni/
Dandroid_hardware_cts_SensorDirectReportTest.cpp44 int32_t fence = -1; in readHardwareBuffer() local
47 fence, nullptr, &address) == 0) { in readHardwareBuffer()
55 AHardwareBuffer_unlock(hardwareBuffer, &fence); in readHardwareBuffer()
DSensorTest.cpp214 int32_t fence = -1; in release() local
215 AHardwareBuffer_unlock(mHardwareBuffer, &fence); in release()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0415/
Dpoc.cpp42 sp<Fence> fence; in start2() local
43 bufferProducer->dequeueBuffer(&buffer, &fence, 800, 600, 1, 0, nullptr, in start2()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp356 int32_t fence = -1; in TEST() local
357 err = AHardwareBuffer_unlock(buffer, &fence); in TEST()
386 int32_t fence = -1; in TEST() local
387 err = AHardwareBuffer_unlock(buffer, &fence); in TEST()
433 int32_t fence = -1; in TEST() local
434 err = AHardwareBuffer_unlock(buffer, &fence); in TEST()
473 int32_t fence = -1; in TEST() local
474 err = AHardwareBuffer_unlock(buffer, &fence); in TEST()
/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
DDrawFramesActivity.java160 final CountDownLatch fence = new CountDownLatch(1); in drawFrames() local
175 mFramesFinishedFence = fence; in drawFrames()
178 if (!fence.await(timeoutDurationMs, TimeUnit.MILLISECONDS)) { in drawFrames()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp217 int fence = -1; in SurfaceTransaction_setSolidBuffer() local
219 bool err = getSolidBuffer(width, height, color, &buffer, &fence); in SurfaceTransaction_setSolidBuffer()
226 reinterpret_cast<ASurfaceControl*>(surfaceControl), buffer, fence); in SurfaceTransaction_setSolidBuffer()
240 int fence = -1; in SurfaceTransaction_setQuadrantBuffer() local
244 colorBottomRight, colorBottomLeft, &buffer, &fence); in SurfaceTransaction_setQuadrantBuffer()
251 reinterpret_cast<ASurfaceControl*>(surfaceControl), buffer, fence); in SurfaceTransaction_setQuadrantBuffer()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java102 CountDownLatch fence = new CountDownLatch(1); in runOnGlThread() local
103 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGlThread()
106 fence.await(5000, TimeUnit.MILLISECONDS); in runOnGlThread()
171 RunSignalAndCatch(Runnable run, CountDownLatch fence) { in RunSignalAndCatch() argument
173 mFence = fence; in RunSignalAndCatch()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt160 val fence = CountDownLatch(1) in hashCode() constant
166 fence.countDown() in hashCode()
168 assertTrue(fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) in hashCode()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt160 val fence = CountDownLatch(1) in hashCode() constant
166 fence.countDown() in hashCode()
168 assertTrue(fence.await(TIME_OUT_MS, TimeUnit.MILLISECONDS)) in hashCode()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6736/
Dpoc.c84 __u32 fence; /* Return value */ member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/
Dpoc.c90 __u32 fence; /* Return value */ member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/
Dlocal_poc.h92 __u32 fence; /* Return value */ member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/
Dlocal_poc.h92 __u32 fence; /* Return value */ member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dlocal_poc.h113 int32_t fence; /* in/out, depends on flags */ member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dlocal_poc.h322 __u32 fence; member
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java1977 final CountDownLatch fence = new CountDownLatch(1); in runGcAndFinalizersSync() local
1982 fence.countDown(); in runGcAndFinalizersSync()
1992 } while (!fence.await(100, TimeUnit.MILLISECONDS)); in runGcAndFinalizersSync()