/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/opt/gamesdk/src/swappyVk/ |
D | SwappyVk.cpp | 564 VkSync sync; in initializeVkSyncObjects() local 590 res = vkCreateFence(mDevice, &fence_ci, NULL, &sync.fence); in initializeVkSyncObjects() 599 res = vkCreateSemaphore(mDevice, &semaphore_ci, NULL, &sync.semaphore); in initializeVkSyncObjects() 606 res = vkAllocateCommandBuffers(mDevice, &present_cmd_info, &sync.command); in initializeVkSyncObjects() 619 res = vkBeginCommandBuffer(sync.command, &cmd_buf_info); in initializeVkSyncObjects() 631 res = vkCreateEvent(mDevice, &event_info, NULL, &sync.event); in initializeVkSyncObjects() 637 vkCmdSetEvent(sync.command, sync.event, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT); in initializeVkSyncObjects() 639 res = vkEndCommandBuffer(sync.command); in initializeVkSyncObjects() 645 mFreeSync[queue].push_back(sync); in initializeVkSyncObjects() 654 VkSync sync = mPendingSync[it->first].front(); in destroyVkSyncObjects() local [all …]
|
/frameworks/base/media/java/android/media/ |
D | JetPlayer.java | 334 public boolean setMuteFlags(int muteFlags, boolean sync) { in setMuteFlags() argument 335 return native_setMuteFlags(muteFlags, sync); in setMuteFlags() 350 public boolean setMuteArray(boolean[] muteArray, boolean sync) { in setMuteArray() argument 353 return native_setMuteArray(muteArray, sync); in setMuteArray() 367 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument 368 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag() 555 private native final boolean native_setMuteFlags(int muteFlags, boolean sync); in native_setMuteFlags() argument 556 private native final boolean native_setMuteArray(boolean[]muteArray, boolean sync); in native_setMuteArray() argument 557 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
|
/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/native/opengl/libs/EGL/ |
D | eglApi.cpp | 426 EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySync() argument 430 return cnx->platform.eglDestroySync(dpy, sync); in eglDestroySync() 433 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHR() argument 437 return cnx->platform.eglDestroySyncKHR(dpy, sync); in eglDestroySyncKHR() 440 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { in eglSignalSyncKHR() argument 444 return cnx->platform.eglSignalSyncKHR(dpy, sync, mode); in eglSignalSyncKHR() 447 EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSync() argument 451 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSync() 454 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSyncKHR() argument 458 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSyncKHR() [all …]
|
D | egl_platform_entries.cpp | 1301 static void queueSync(EGLSyncKHR sync) { in queueSync() argument 1310 thread.mQueue.push_back(sync); in queueSync() 1333 EGLSyncKHR sync; in threadLoop() local 1340 sync = mQueue[0]; in threadLoop() 1349 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); in threadLoop() 1355 eglDestroySyncKHR(dpy, sync); in threadLoop() 1385 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, nullptr); in eglSwapBuffersWithDamageKHRImpl() local 1386 if (sync != EGL_NO_SYNC_KHR) { in eglSwapBuffersWithDamageKHRImpl() 1387 FrameCompletionThread::queueSync(sync); in eglSwapBuffersWithDamageKHRImpl() 1853 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/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 91 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { in dispatchWallpaperOffsets() argument 92 if (sync) { in dispatchWallpaperOffsets() 123 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument 124 if (sync) { in dispatchWallpaperCommand()
|
/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/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/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/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/surfaceflinger/ |
D | RegionSamplingThread.cpp | 105 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in startVsyncListener() argument 106 sync.addEventListener("SamplingThreadDispSyncListener", 0, this, mLastCallbackTime); in startVsyncListener() 120 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in stopVsyncListenerLocked() argument 121 sync.removeEventListener(this, &mLastCallbackTime); in stopVsyncListenerLocked() 132 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in onDispSyncEvent() argument 133 sync.changePhaseOffset(this, mTargetSamplingOffset.count()); in onDispSyncEvent() 141 [this](android::DispSync& sync) { sync.changePhaseOffset(this, 0); }); in onDispSyncEvent() argument
|
/frameworks/av/include/media/ |
D | JetPlayer.h | 57 int setMuteFlags(EAS_U32 muteFlags, bool sync); 58 int setMuteFlag(int trackNum, bool muteFlag, bool sync);
|
/frameworks/av/media/libmedia/include/media/ |
D | JetPlayer.h | 57 int setMuteFlags(EAS_U32 muteFlags, bool sync); 58 int setMuteFlag(int trackNum, bool muteFlag, bool 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/av/media/libmediaplayer2/include/mediaplayer2/ |
D | MediaPlayer2Interface.h | 191 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { in setSyncSettings() argument 194 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { in setSyncSettings() 200 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { in getSyncSettings() argument 201 *sync = AVSyncSettings(); in getSyncSettings()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Renderer.h | 59 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint); 60 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */); 261 status_t onConfigSync(const AVSyncSettings &sync, float videoFpsHint); 262 status_t onGetSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
|
/frameworks/base/services/core/java/com/android/server/ |
D | RandomBlock.java | 65 void toFile(String filename, boolean sync) throws IOException { in toFile() argument 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw"); in toFile()
|
/frameworks/rs/ |
D | rs.spec | 86 sync 92 sync 97 sync 104 sync 120 sync 132 sync 462 sync
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 155 FileUtils.sync(str); in finishWrite() 176 FileUtils.sync(str); in failWrite() 193 FileUtils.sync(fos); in truncate()
|
/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
|