Home
last modified time | relevance | path

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

12345678

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp124 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 …]
Dandroid_media_SyncParams.cpp60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source); in fillFromJobject()
61sync.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()
DJetPlayer.h57 int setMuteFlags(EAS_U32 muteFlags, bool sync);
58 int setMuteFlag(int trackNum, bool muteFlag, bool sync);
/frameworks/base/libs/hwui/tests/unit/
DWebViewFunctorManagerTests.cpp55 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/
DEGL_ANDROID_native_fence_sync.txt39 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/
DJetPlayer.java336 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/tools/glgen/specs/egl/
DEGL15.spec3 // 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/
DeglApi.cpp423 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 …]
Degl_platform_entries.cpp1314 static void queueSync(EGLSyncKHR sync) { in queueSync() argument
1323 thread.mQueue.push_back(sync); in queueSync()
1346 EGLSyncKHR sync; in threadLoop() local
1353 sync = mQueue[0]; in threadLoop()
1362 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); in threadLoop()
1368 eglDestroySyncKHR(dpy, sync); in threadLoop()
1401 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, nullptr); in eglSwapBuffersWithDamageKHRImpl() local
1402 if (sync != EGL_NO_SYNC_KHR) { in eglSwapBuffersWithDamageKHRImpl()
1403 FrameCompletionThread::queueSync(sync); in eglSwapBuffersWithDamageKHRImpl()
1869 EGLBoolean eglDestroySyncTmpl(EGLDisplay dpy, EGLSyncKHR sync, in eglDestroySyncTmpl() argument
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL15.java95 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/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java66 String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand() argument
70 wallpaper.mClient.dispatchWallpaperCommand(action, x, y, z, extras, sync); in sendWindowWallpaperCommand()
72 sync = false; in sendWindowWallpaperCommand()
78 void updateWallpaperOffset(boolean sync) { in updateWallpaperOffset() argument
82 if (wallpaperController.updateWallpaperOffset(wallpaper, sync)) { in updateWallpaperOffset()
84 sync = false; in updateWallpaperOffset()
/frameworks/base/core/proto/android/server/
Dblobstoremanagerservice.proto22 // The nested messages are used for statsd logging and should be kept in sync with the messages
26 // Keep in sync between:
44 // Keep in sync between:
56 // Keep in sync between:
64 // Keep in sync between:
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java121 boolean sync) { in dispatchWallpaperOffsets() argument
122 if (sync) { in dispatchWallpaperOffsets()
153 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument
154 if (sync) { in dispatchWallpaperCommand()
/frameworks/base/libs/hwui/
DWebViewFunctorManager.h49 void sync(const WebViewSyncData& syncData) const { mReference.sync(syncData); } in sync() function
68 void sync(const WebViewSyncData& syncData) const;
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java33 long duration, int userId, boolean sync, String reason); in addPowerSaveTempWhitelistApp() argument
36 void addPowerSaveTempWhitelistAppDirect(int uid, long duration, boolean sync, in addPowerSaveTempWhitelistAppDirect() argument
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.cpp40 sync(rawEvent->when); in process()
56 void SwitchInputMapper::sync(nsecs_t when) { in sync() function in android::SwitchInputMapper
DExternalStylusInputMapper.cpp64 sync(rawEvent->when); in process()
68 void ExternalStylusInputMapper::sync(nsecs_t when) { in sync() function in android::ExternalStylusInputMapper
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp544 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in fenceWait() local
545 if (sync == EGL_NO_SYNC_KHR) { in fenceWait()
554 eglWaitSyncKHR(mEglDisplay, sync, 0); in fenceWait()
556 eglDestroySyncKHR(mEglDisplay, sync); in fenceWait()
580 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in createReleaseFence() local
581 if (sync == EGL_NO_SYNC_KHR) { in createReleaseFence()
586 int fenceFd = eglDupNativeFenceFDANDROID(mEglDisplay, sync); in createReleaseFence()
587 eglDestroySyncKHR(mEglDisplay, sync); in createReleaseFence()
/frameworks/av/media/libmedia/
DIMediaPlayer.cpp262 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint) in setSyncSettings() argument
266 data.writeInt32((int32_t)sync.mSource); in setSyncSettings()
267 data.writeInt32((int32_t)sync.mAudioAdjustMode); in setSyncSettings()
268 data.writeFloat(sync.mTolerance); in setSyncSettings()
274 status_t getSyncSettings(AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) in getSyncSettings() argument
285 *sync = settings; in getSyncSettings()
762 AVSyncSettings sync; in onTransact() local
763 sync.mSource = (AVSyncSource)data.readInt32(); in onTransact()
764 sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)data.readInt32(); in onTransact()
765 sync.mTolerance = data.readFloat(); in onTransact()
[all …]
/frameworks/rs/
Drs.spec86 sync
92 sync
97 sync
104 sync
120 sync
132 sync
462 sync
/frameworks/native/libs/nativedisplay/surfacetexture/
DEGLConsumer.cpp483 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in syncForReleaseLocked() local
484 if (sync == EGL_NO_SYNC_KHR) { in syncForReleaseLocked()
489 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); in syncForReleaseLocked()
490 eglDestroySyncKHR(dpy, sync); in syncForReleaseLocked()
566 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked() local
567 if (sync == EGL_NO_SYNC_KHR) { in doGLFenceWaitLocked()
576 eglWaitSyncKHR(dpy, sync, 0); in doGLFenceWaitLocked()
578 eglDestroySyncKHR(dpy, sync); in doGLFenceWaitLocked()
/frameworks/av/media/libstagefright/
DMediaSync.cpp45 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/jni/
Dandroid_opengl_EGL15.cpp246 …(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/core/java/android/content/
DIContentService.aidl62 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
/frameworks/base/services/core/java/com/android/server/
DRandomBlock.java65 void toFile(String filename, boolean sync) throws IOException { in toFile() argument
69 out = new RandomAccessFile(filename, sync ? "rws" : "rw"); in toFile()

12345678