Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/openglperf/jni/
DOpenGlPerfNativeJni.cpp29 EGLSyncKHR sync);
31 EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
66 EGLSyncKHR sync = mEglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL); in Java_android_openglperf_cts_OpenGlPerfNative_waitForEglCompletion() local
67 if (sync == EGL_NO_SYNC_KHR) { in Java_android_openglperf_cts_OpenGlPerfNative_waitForEglCompletion()
71 EGLint result = mEglClientWaitSyncKHR(dpy, sync, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR, waitTimeInNs); in Java_android_openglperf_cts_OpenGlPerfNative_waitForEglCompletion()
79 mEglDestroySyncKHR(dpy, sync); in Java_android_openglperf_cts_OpenGlPerfNative_waitForEglCompletion()
/cts/tests/tests/graphics/src/android/graphics/cts/
DEGL15Test.java147 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15SyncFence() local
151 if (sync == EGL15.EGL_NO_SYNC) { in testEGL15SyncFence()
165 int status = EGL15.eglClientWaitSync(mEglDisplay, sync, 0, EGL15.EGL_FOREVER); in testEGL15SyncFence()
174 if (!EGL15.eglDestroySync(mEglDisplay, sync)) { in testEGL15SyncFence()
188 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15GetSyncType() local
192 if (sync == EGL15.EGL_NO_SYNC) { in testEGL15GetSyncType()
201 boolean success = EGL15.eglGetSyncAttrib(mEglDisplay, sync, EGL15.EGL_SYNC_TYPE, type, 0); in testEGL15GetSyncType()
211 if (!EGL15.eglDestroySync(mEglDisplay, sync)) { in testEGL15GetSyncType()
225 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15WaitSync() local
229 if (sync == EGL15.EGL_NO_SYNC) { in testEGL15WaitSync()
[all …]
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c694 struct sync { struct
703 typedef struct sync sync_t; argument
717 void sync_set_num_waiters(sync_t *sync, size_t num_waiters) { in sync_set_num_waiters() argument
718 sync->num_waiters = num_waiters; in sync_set_num_waiters()
721 void sync_pth_bc(sync_t *sync) { in sync_pth_bc() argument
722 if (pthread_cond_broadcast(&sync->cond) != 0) in sync_pth_bc()
726 void sync_pth_wait(sync_t *sync) { in sync_pth_wait() argument
727 pthread_cond_wait(&sync->cond, &sync->mutex); in sync_pth_wait()
730 void sync_wait(sync_t *sync) { in sync_wait() argument
731 pthread_mutex_lock(&sync->mutex); in sync_wait()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaSyncTest.java252 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runCheckAudioBuffer()
311 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runFlush()
323 public void onError(MediaSync sync, int what, int extra) { in runFlush()
506 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runPlayAV()
525 SyncParams sync = new SyncParams().allowDefaults(); in runPlayAV() local
526 mMediaSync.setSyncParams(sync); in runPlayAV()
527 sync = mMediaSync.getSyncParams(); in runPlayAV()
569 state.mSyncTolerance = sync.getTolerance(); in runPlayAV()
623 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument
625 mMediaSync = sync; in Decoder()
DMediaPlayerTest.java1227 SyncParams sync = new SyncParams().allowDefaults(); in testPlaybackRate() local
1228 mMediaPlayer.setSyncParams(sync); in testPlaybackRate()
1229 sync = mMediaPlayer.getSyncParams(); in testPlaybackRate()
1242 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); in testPlaybackRate()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp74 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings() argument
78 status_t getSyncSettings(AVSyncSettings *sync, float *videoFps) { return OK; } in getSyncSettings() argument
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DStubProvider.java17 package android.content.sync.cts;
DInvalidSyncAuthoritiesDeviceTest.java17 package android.content.sync.cts;
DStubAuthenticator.java17 package android.content.sync.cts;
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java463 appleFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor()
464 orangeFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor()
465 cherryFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor()
541 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error()
547 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error()
552 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFileUtils.java124 out.getFD().sync(); in copyToFile()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileUtils.java124 out.getFD().sync(); in copyToFile()
/cts/tests/jdwp/runner/host-side/resources/expectations/
Dexternal_oj_libjdwp_art_failures.txt4 * This file should be kept in sync with the file of the same name in art/tools/.
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerActivityTest.java165 private void autofillTest(boolean sync) throws Exception { in autofillTest() argument
175 mActivity.mCustomView.setSync(sync); in autofillTest()
DVirtualContainerView.java351 void setSync(boolean sync) { in setSync() argument
352 mSync = sync; in setSync()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java164 out.getFD().sync(); in copyToFileOrThrow()