/cts/tests/tests/openglperf/jni/ |
D | OpenGlPerfNativeJni.cpp | 29 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/ |
D | EGL15Test.java | 147 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/ |
D | android_security_cts_cve_2019_2213_Test.c | 694 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/ |
D | MediaSyncTest.java | 252 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()
|
D | MediaPlayerTest.java | 1227 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/ |
D | poc.cpp | 74 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/ |
D | StubProvider.java | 17 package android.content.sync.cts;
|
D | InvalidSyncAuthoritiesDeviceTest.java | 17 package android.content.sync.cts;
|
D | StubAuthenticator.java | 17 package android.content.sync.cts;
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 463 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/ |
D | FileUtils.java | 124 out.getFD().sync(); in copyToFile()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 124 out.getFD().sync(); in copyToFile()
|
/cts/tests/jdwp/runner/host-side/resources/expectations/ |
D | external_oj_libjdwp_art_failures.txt | 4 * This file should be kept in sync with the file of the same name in art/tools/.
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerActivityTest.java | 165 private void autofillTest(boolean sync) throws Exception { in autofillTest() argument 175 mActivity.mCustomView.setSync(sync); in autofillTest()
|
D | VirtualContainerView.java | 351 void setSync(boolean sync) { in setSync() argument 352 mSync = sync; in setSync()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 164 out.getFD().sync(); in copyToFileOrThrow()
|