/frameworks/base/media/jni/ |
D | android_media_MediaSync.cpp | 124 static sp<JMediaSync> setMediaSync(JNIEnv *env, jobject thiz, const sp<JMediaSync> &sync) { in setMediaSync() argument 126 if (sync != NULL) { in setMediaSync() 127 sync->incStrong(thiz); in setMediaSync() 133 env->SetLongField(thiz, gFields.context, (jlong)sync.get()); in setMediaSync() 174 sp<JMediaSync> sync = getMediaSync(env, thiz); in android_media_MediaSync_native_setSurface() local 175 if (sync == NULL) { in android_media_MediaSync_native_setSurface() 191 status_t err = sync->setSurface(bufferProducer); in android_media_MediaSync_native_setSurface() 207 sp<JMediaSync> sync = getMediaSync(env, thiz); in android_media_MediaSync_native_setAudioTrack() local 208 if (sync == NULL) { in android_media_MediaSync_native_setAudioTrack() 222 status_t err = sync->setAudioTrack(audioTrack); in android_media_MediaSync_native_setAudioTrack() [all …]
|
D | android_media_SyncParams.cpp | 60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source); in fillFromJobject() 61 … sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)env->GetIntField(params, fields.audio_adjust_mode); in fillFromJobject() 62 sync.mTolerance = env->GetFloatField(params, fields.tolerance); in fillFromJobject() 77 env->SetIntField(params, fields.sync_source, (jint)sync.mSource); in asJobject() 78 env->SetIntField(params, fields.audio_adjust_mode, (jint)sync.mAudioAdjustMode); in asJobject() 79 env->SetFloatField(params, fields.tolerance, (jfloat)sync.mTolerance); in asJobject()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | WebViewFunctorManagerTests.cpp | 55 EXPECT_EQ(0, counts.sync); in TEST() 61 handle->sync(syncData); in TEST() 64 EXPECT_EQ(1, counts.sync); in TEST() 68 handle->sync(syncData); in TEST() 71 EXPECT_EQ(2, counts.sync); in TEST() 79 EXPECT_EQ(2, counts.sync); in TEST() 95 handle->sync(syncData); in TEST() 105 EXPECT_EQ(5, counts.sync); in TEST() 121 handle->sync(syncData); in TEST() 125 EXPECT_EQ(1, counts.sync); in TEST() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 39 This extension enables the creation of EGL fence sync objects that are 41 using a file descriptor. These EGL fence sync objects have nearly 47 object that behaves similarly to an EGL fence sync object. These native 89 "If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID, an EGL native fence sync 95 The default values for the EGL native fence sync object attributes are as 115 "When a fence sync object is created or when an EGL native fence sync 120 with the newly created sync object. 122 After associating the fence command with an EGL native fence sync object, 127 new native fence object is signaled when the EGL native fence sync object 130 When the condition of the sync object is satisfied by the fence command, [all …]
|
/frameworks/base/media/java/android/media/ |
D | JetPlayer.java | 336 public boolean setMuteFlags(int muteFlags, boolean sync) { in setMuteFlags() argument 337 return native_setMuteFlags(muteFlags, sync); in setMuteFlags() 352 public boolean setMuteArray(boolean[] muteArray, boolean sync) { in setMuteArray() argument 355 return native_setMuteArray(muteArray, sync); in setMuteArray() 369 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument 370 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag() 557 private native final boolean native_setMuteFlags(int muteFlags, boolean sync); in native_setMuteFlags() argument 558 private native final boolean native_setMuteArray(boolean[]muteArray, boolean sync); in native_setMuteArray() argument 559 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
|
/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 423 EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySync() argument 427 return cnx->platform.eglDestroySync(dpy, sync); in eglDestroySync() 430 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHR() argument 434 return cnx->platform.eglDestroySyncKHR(dpy, sync); in eglDestroySyncKHR() 437 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { in eglSignalSyncKHR() argument 441 return cnx->platform.eglSignalSyncKHR(dpy, sync, mode); in eglSignalSyncKHR() 444 EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSync() argument 448 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSync() 451 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSyncKHR() argument 455 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSyncKHR() [all …]
|
D | egl_platform_entries.cpp | 1320 static void queueSync(EGLSyncKHR sync) { in queueSync() argument 1329 thread.mQueue.push_back(sync); in queueSync() 1352 EGLSyncKHR sync; in threadLoop() local 1359 sync = mQueue[0]; in threadLoop() 1368 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); in threadLoop() 1374 eglDestroySyncKHR(dpy, sync); in threadLoop() 1404 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, nullptr); in eglSwapBuffersWithDamageKHRImpl() local 1405 if (sync != EGL_NO_SYNC_KHR) { in eglSwapBuffersWithDamageKHRImpl() 1406 FrameCompletionThread::queueSync(sync); in eglSwapBuffersWithDamageKHRImpl() 1872 EGLBoolean eglDestroySyncTmpl(EGLDisplay dpy, EGLSyncKHR sync, in eglDestroySyncTmpl() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WallpaperWindowToken.java | 60 String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand() argument 64 wallpaper.mClient.dispatchWallpaperCommand(action, x, y, z, extras, sync); in sendWindowWallpaperCommand() 66 sync = false; in sendWindowWallpaperCommand() 72 void updateWallpaperOffset(int dw, int dh, boolean sync) { in updateWallpaperOffset() argument 76 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) { in updateWallpaperOffset() 78 sync = false; in updateWallpaperOffset()
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
D | EGL15.spec | 3 // EGLBoolean eglGetSyncAttrib ( EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value ) 4 EGLBoolean eglDestroySync ( EGLDisplay dpy, EGLSync sync ) 5 EGLint eglClientWaitSync ( EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout )
|
/frameworks/base/opengl/java/android/opengl/ |
D | EGL15.java | 95 EGLSync sync, in eglGetSyncAttrib() argument 105 EGLSync sync in eglDestroySync() argument 112 EGLSync sync, in eglClientWaitSync() argument 150 EGLSync sync, in eglWaitSync() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 102 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { in dispatchWallpaperOffsets() argument 103 if (sync) { in dispatchWallpaperOffsets() 134 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument 135 if (sync) { in dispatchWallpaperCommand()
|
/frameworks/native/opengl/include/EGL/ |
D | eglext.h | 153 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 154 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint … 155 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi… 158 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); 159 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLT… 160 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribut… 322 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum… 324 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 459 typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 461 EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); [all …]
|
/frameworks/base/libs/hwui/ |
D | WebViewFunctorManager.h | 41 void sync(const WebViewSyncData& syncData) const { mReference.sync(syncData); } in sync() function 60 void sync(const WebViewSyncData& syncData) const;
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 524 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in fenceWait() local 525 if (sync == EGL_NO_SYNC_KHR) { in fenceWait() 534 eglWaitSyncKHR(mEglDisplay, sync, 0); in fenceWait() 536 eglDestroySyncKHR(mEglDisplay, sync); in fenceWait() 560 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in createReleaseFence() local 561 if (sync == EGL_NO_SYNC_KHR) { in createReleaseFence() 566 int fenceFd = eglDupNativeFenceFDANDROID(mEglDisplay, sync); in createReleaseFence() 567 eglDestroySyncKHR(mEglDisplay, sync); in createReleaseFence()
|
/frameworks/av/media/extractors/fuzzers/ |
D | README.md | 56 $ adb sync data 85 $ adb sync data 119 $ adb sync data 153 $ adb sync data 187 $ adb sync data 227 $ adb sync data 257 $ adb sync data 286 $ adb sync data 320 $ adb sync data
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 108 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in startVsyncListener() argument 109 sync.addEventListener("SamplingThreadDispSyncListener", 0, this, mLastCallbackTime); in startVsyncListener() 123 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in stopVsyncListenerLocked() argument 124 sync.removeEventListener(this, &mLastCallbackTime); in stopVsyncListenerLocked() 135 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in onDispSyncEvent() argument 136 sync.changePhaseOffset(this, mTargetSamplingOffset.count()); in onDispSyncEvent() 144 [this](android::DispSync& sync) { sync.changePhaseOffset(this, 0); }); in onDispSyncEvent() argument
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayer.cpp | 265 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint) in setSyncSettings() argument 269 data.writeInt32((int32_t)sync.mSource); in setSyncSettings() 270 data.writeInt32((int32_t)sync.mAudioAdjustMode); in setSyncSettings() 271 data.writeFloat(sync.mTolerance); in setSyncSettings() 277 status_t getSyncSettings(AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) in getSyncSettings() argument 288 *sync = settings; in getSyncSettings() 765 AVSyncSettings sync; in onTransact() local 766 sync.mSource = (AVSyncSource)data.readInt32(); in onTransact() 767 sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)data.readInt32(); in onTransact() 768 sync.mTolerance = data.readFloat(); in onTransact() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AtomicFile.java | 97 FileUtils.sync(str); in finishWrite() 110 FileUtils.sync(str); in failWrite() 134 FileUtils.sync(fos); in truncate()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SwitchInputMapper.cpp | 40 sync(rawEvent->when); in process() 56 void SwitchInputMapper::sync(nsecs_t when) { in sync() function in android::SwitchInputMapper
|
/frameworks/rs/ |
D | rs.spec | 86 sync 92 sync 97 sync 104 sync 120 sync 132 sync 462 sync
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 57 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint); 58 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */); 260 status_t onConfigSync(const AVSyncSettings &sync, float videoFpsHint); 261 status_t onGetSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
|
/frameworks/base/core/jni/ |
D | android_opengl_EGL15.cpp | 246 …(JNIEnv *_env, jobject _this, jobject dpy, jobject sync, jint attribute, jlongArray value_ref, jin… in android_eglGetSyncAttrib() argument 252 EGLSync sync_native = (EGLSync) fromEGLHandle(_env, eglsyncGetHandleID, sync); in android_eglGetSyncAttrib() 299 (JNIEnv *_env, jobject _this, jobject dpy, jobject sync) { in android_eglDestroySync() argument 302 EGLSync sync_native = (EGLSync) fromEGLHandle(_env, eglsyncGetHandleID, sync); in android_eglDestroySync() 314 (JNIEnv *_env, jobject _this, jobject dpy, jobject sync, jint flags, jlong timeout) { in android_eglClientWaitSync() argument 317 EGLSync sync_native = (EGLSync) fromEGLHandle(_env, eglsyncGetHandleID, sync); in android_eglClientWaitSync() 455 (JNIEnv *_env, jobject _this, jobject dpy, jobject sync, jint flags) { in android_eglWaitSync() argument 458 EGLSync sync_native = (EGLSync) fromEGLHandle(_env, eglsyncGetHandleID, sync); in android_eglWaitSync()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | EGLConsumer.cpp | 480 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in syncForReleaseLocked() local 481 if (sync == EGL_NO_SYNC_KHR) { in syncForReleaseLocked() 486 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); in syncForReleaseLocked() 487 eglDestroySyncKHR(dpy, sync); in syncForReleaseLocked() 567 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked() local 568 if (sync == EGL_NO_SYNC_KHR) { in doGLFenceWaitLocked() 577 eglWaitSyncKHR(dpy, sync, 0); in doGLFenceWaitLocked() 579 eglDestroySyncKHR(dpy, sync); in doGLFenceWaitLocked()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 45 sp<MediaSync> sync = new MediaSync(); in create() local 46 sync->mLooper->registerHandler(sync); in create() 47 return sync; in create() 811 MediaSync::InputListener::InputListener(const sp<MediaSync> &sync) in InputListener() argument 812 : mSync(sync) {} in InputListener() 831 MediaSync::OutputListener::OutputListener(const sp<MediaSync> &sync, in OutputListener() argument 833 : mSync(sync), in OutputListener()
|
/frameworks/base/core/java/android/content/ |
D | IContentService.aidl | 62 void sync(in SyncRequest request, String callingPackage); in sync() method 85 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() argument 86 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
|