/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/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 80 public void tapOnDisplay(int x, int y, int displayId, boolean sync) { in tapOnDisplay() argument 81 tapOnDisplay(x, y, displayId, sync, /* waitAnimations */ true); in tapOnDisplay() 84 public void tapOnDisplay(int x, int y, int displayId, boolean sync, boolean waitAnimations) { in tapOnDisplay() argument 86 injectMotion(downTime, downTime, MotionEvent.ACTION_DOWN, x, y, displayId, sync, in tapOnDisplay() 90 injectMotion(downTime, upTime, MotionEvent.ACTION_UP, x, y, displayId, sync, in tapOnDisplay() 136 int x, int y, int displayId, boolean sync) { in injectMotion() argument 137 injectMotion(downTime, eventTime, action, x, y, displayId, sync, in injectMotion() 142 int x, int y, int displayId, boolean sync, boolean waitAnimations) { in injectMotion() argument 147 getInstrumentation().getUiAutomation().injectInputEvent(event, sync, waitAnimations); in injectMotion() 150 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument [all …]
|
D | ActivityManagerTestBase.java | 705 private void tapOnDisplay(int x, int y, int displayId, boolean sync) { in tapOnDisplay() argument 706 mTouchHelper.tapOnDisplay(x, y, displayId, sync); in tapOnDisplay() 729 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument 730 TouchHelper.injectKey(keyCode, longPress, sync); in injectKey()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | EGL15Test.java | 148 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15SyncFence() local 152 if (sync == EGL15.EGL_NO_SYNC) { in testEGL15SyncFence() 166 int status = EGL15.eglClientWaitSync(mEglDisplay, sync, 0, EGL15.EGL_FOREVER); in testEGL15SyncFence() 175 if (!EGL15.eglDestroySync(mEglDisplay, sync)) { in testEGL15SyncFence() 189 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15GetSyncType() local 193 if (sync == EGL15.EGL_NO_SYNC) { in testEGL15GetSyncType() 202 boolean success = EGL15.eglGetSyncAttrib(mEglDisplay, sync, EGL15.EGL_SYNC_TYPE, type, 0); in testEGL15GetSyncType() 212 if (!EGL15.eglDestroySync(mEglDisplay, sync)) { in testEGL15GetSyncType() 226 EGLSync sync = EGL15.eglCreateSync(mEglDisplay, EGL15.EGL_SYNC_FENCE, in testEGL15WaitSync() local 230 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 | 249 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runCheckAudioBuffer() 308 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runFlush() 320 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 | 1254 SyncParams sync = new SyncParams().allowDefaults(); in testPlaybackRate() local 1255 mMediaPlayer.setSyncParams(sync); in testPlaybackRate() 1256 sync = mMediaPlayer.getSyncParams(); in testPlaybackRate() 1269 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); in testPlaybackRate()
|
/cts/tests/input/src/android/input/cts/ |
D | IncompleteMotionTest.kt | 143 private fun sendEvent(downTime: Long, action: Int, x: Float, y: Float, sync: Boolean) { in sendEvent() 150 mInstrumentation.uiAutomation.injectInputEvent(event, sync) in sendEvent()
|
/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/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 76 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings() argument 80 status_t getSyncSettings(AVSyncSettings *sync, float *videoFps) { return OK; } in getSyncSettings() argument
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 196 long sync = frameMetrics.getMetric(FrameMetrics.SYNC_DURATION); in callGetMetric() local 210 assertTrue(sync > 0); in callGetMetric() 226 assertTrue(totalDuration >= unknownDelay + input + animation + layoutMeasure + draw + sync in callGetMetric()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-29661/ |
D | poc.cpp | 47 sync(); /* we're probably gonna crash... */ in main()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 134 out.getFD().sync(); in copyToFile()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 523 appleFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor() 524 orangeFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor() 525 cherryFd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor() 601 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error() 607 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error() 612 fd.getFileDescriptor().sync(); in testOpenProxyFileDescriptor_error()
|
/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/tests/car/src/android/car/cts/ |
D | CarWatchdogManagerTest.java | 163 fos.getFD().sync(); in writeToDisk()
|
D | CarWatchdogDaemonTest.java | 139 fos.getFD().sync(); in writeToDisk()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/ |
D | CarWatchdogTestActivity.java | 248 fos.getFD().sync(); in writeToFile()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerView.java | 351 public void setSync(boolean sync) { in setSync() argument 352 mSync = sync; in setSync()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | VirtualContainerActivityTest.java | 175 private void autofillTest(boolean sync) throws Exception { in autofillTest() argument 185 mActivity.mCustomView.setSync(sync); in autofillTest()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 162 out.getFD().sync(); in copyToFileOrThrow()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 114 out.getFD().sync(); in stageVideoFile()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 865 out.getFD().sync(); in testMetaDataRedaction() 1246 out.getFD().sync(); in testAccessMediaLocationInvalidation() 1655 out.getFD().sync(); in testScanUpdatesMimeTypeForRenameFileExtension() 2699 out.getFD().sync(); in testScanUpdatesMetadataForRenamedHiddenFile()
|