Home
last modified time | relevance | path

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

123456

/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaSync.cpp126 if (sync != NULL) { in setMediaSync()
175 if (sync == NULL) { in android_media_MediaSync_native_setSurface()
208 if (sync == NULL) { in android_media_MediaSync_native_setAudioTrack()
239 if (sync == NULL) { in android_media_MediaSync_createInputSurface()
260 if (sync == NULL) { in android_media_MediaSync_native_updateQueuedAudioData()
275 if (sync == NULL) { in android_media_MediaSync_native_getTimestamp()
303 if (sync == NULL) { in android_media_MediaSync_native_getPlayTimeForPendingAudioFrames()
318 if (sync == NULL) { in android_media_MediaSync_setPlaybackParams()
448 sync->getSyncParams(&scs.sync); in android_media_MediaSync_getSyncParams()
452 scs.sync.mSource, scs.sync.mAudioAdjustMode, scs.sync.mTolerance, scs.frameRate); in android_media_MediaSync_getSyncParams()
[all …]
H A 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()
H A DJetPlayer.h57 int setMuteFlags(EAS_U32 muteFlags, bool sync);
58 int setMuteFlag(int trackNum, bool muteFlag, bool sync);
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A 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()
105 EXPECT_EQ(5, counts.sync); in TEST()
125 EXPECT_EQ(1, counts.sync); in TEST()
132 EXPECT_EQ(1, counts.sync); in TEST()
142 EXPECT_EQ(2, counts.sync); in TEST()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.md13 Because SyncManager executes sync operations as JobScheduler jobs, sync operations are subject
16 However, unlike JobScheduler jobs, any apps (with the proper permission) can schedule a sync
22 request sync to all the contacts sync adapters, which are implemented in other packages (and they're
27 made by foreground apps are special cased such that the resulting sync operations will be
66 the sync adapter is temporarily put in the "ACTIVE" bucket for the
84 (However, note that when the device is dozing, sync jobs will not run anyway.)
100 sync properly.
108 - When the device is dozing, no sync operations will be executed.
114 app owning the sync adapter is in RARE bucket, and the device is in battery saver.
116 - A sync operation requested by a foreground service (or a "bound foreground" service)
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A DSurfaceSyncGroup.md9 SurfaceSyncGroup is a class that manages sync requests and reports back when all participants in th…
12 The first step is to create a sync request. This is done by creating a new `SurfaceSyncGroup`.
19 … is to sync a SurfaceView. Since SurfaceViews are rendered by the app, the caller will be expected…
20 …to sync an embedded window. The host can call addToSync and pass in the SurfacePackage, where the …
21 * `addToSync(ISurfaceSyncGroup)` - This is the generic method. It can be used to sync arbitrary inf…
29sync, they should call `markSyncReady()` If the caller doesn't call this, the sync will never comp…
33 This is a simple method that allows callers to add generic Transactions to the sync. The caller inv…
41sync. Therefore, to sync SurfaceViews, the caller must provide a way to notify the SurfaceSyncGrou…
50sync the same object. This is more common with VRI where you may have multiple changes for the sam…
59 A simple example where you want to sync two windows and also include a transaction in the sync
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A 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()
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
H A DMediaSync.java131 @NonNull MediaSync sync, @NonNull ByteBuffer audioBuffer, int bufferId); in onAudioBufferConsumed()
162 void onError(@NonNull MediaSync sync, int what, int extra); in onError() argument
582 final MediaSync sync = this; in postReturnByteBuffer() local
596 callback.onAudioBufferConsumed(sync, audioBuffer.mByteBuffer, in postReturnByteBuffer()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DBLASTSync.md2 There are two BLAST sync primitives on the server side, BLASTSyncEngine and applyWithNextDraw.
19 to the consumer of the sync which was begun, rather than directly sent to SurfaceFlinger.
35 increment the seqId if a sync was prepared, assosciate it with the sync)
38 SE: When the client calls finishDrawing, execute the consumer for each sync with
122 interface on another, and will be ordered. When we hand out transactions for sync
141 3. Sync, Sync: Ordering of consecutive sync transactions is delegated to the sync
149 non sync transaction. SurfaceFlinger will ensure the correct ordering
177 and sync transactions. This means the pending transaction is only useful in
187 during this interval. If no second sync has started by the time we receive
190 transaction. If a second sync has started, then we just allow the data
[all …]
H A DWallpaperWindowToken.java98 String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand() argument
102 wallpaper.mClient.dispatchWallpaperCommand(action, x, y, z, extras, sync); in sendWindowWallpaperCommand()
104 sync = false; in sendWindowWallpaperCommand()
110 void updateWallpaperOffset(boolean sync) { in updateWallpaperOffset() argument
114 if (wallpaperController.updateWallpaperOffset(wallpaper, sync)) { in updateWallpaperOffset()
116 sync = false; in updateWallpaperOffset()
/aosp14/frameworks/base/opengl/java/android/opengl/
H A 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
H A DEGLExt.java75 @NonNull EGLSync sync) { in eglDupNativeFenceFDANDROID() argument
76 int fd = eglDupNativeFenceFDANDROIDImpl(display, sync); in eglDupNativeFenceFDANDROID()
85 private static native int eglDupNativeFenceFDANDROIDImpl(EGLDisplay display, EGLSync sync); in eglDupNativeFenceFDANDROIDImpl() argument
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
H A DCallMetadataSyncInCallService.java57 sync(getUserId());
134 sync(associationInfo);
173 sync(getUserId()); in initializeCalls()
198 sync(getUserId()); in onCallAdded()
210 sync(getUserId()); in onCallRemoved()
249 private void sync(int userId) { in sync() method in CallMetadataSyncInCallService
253 private void sync(AssociationInfo associationInfo) { in sync() method in CallMetadataSyncInCallService
/aosp14/frameworks/base/core/proto/android/server/
H A 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:
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
H A DDeviceIdleInternal.java41 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() argument
48 long durationMs, @TempAllowListType int tempAllowListType, int userId, boolean sync, in addPowerSaveTempWhitelistApp() argument
63 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect() argument
/aosp14/system/core/libsync/
H A DAndroid.bp22 srcs: ["include/ndk/sync.h"],
37 srcs: ["sync.c"],
60 name: "sync-unit-tests",
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java109 boolean sync) { in dispatchWallpaperOffsets() argument
110 if (sync) { in dispatchWallpaperOffsets()
136 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument
137 if (sync) { in dispatchWallpaperCommand()
/aosp14/system/core/trusty/utils/rpmb_dev/
H A Drpmb.h46 bool sync);
56 bool sync);
/aosp14/frameworks/base/libs/hwui/
H A DWebViewFunctorManager.h49 void sync(const WebViewSyncData& syncData) const { mReference.sync(syncData); } in sync() function
72 void sync(const WebViewSyncData& syncData) const;
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp255 EGLSyncKHR sync = EGL_NO_SYNC_KHR; in flush() local
256 mEglManager.createReleaseFence(true, &sync, &fence); in flush()
259 if (sync != EGL_NO_SYNC_KHR) { in flush()
261 EGLint result = eglClientWaitSyncKHR(display, sync, 0, 1000000000); in flush()
268 eglDestroySyncKHR(display, sync); in flush()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp685 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in fenceWait() local
686 if (sync == EGL_NO_SYNC_KHR) { in fenceWait()
695 eglWaitSyncKHR(mEglDisplay, sync, 0); in fenceWait()
697 eglDestroySyncKHR(mEglDisplay, sync); in fenceWait()
721 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in createReleaseFence() local
722 if (sync == EGL_NO_SYNC_KHR) { in createReleaseFence()
727 int fenceFd = eglDupNativeFenceFDANDROID(mEglDisplay, sync); in createReleaseFence()
728 eglDestroySyncKHR(mEglDisplay, sync); in createReleaseFence()
/aosp14/frameworks/base/core/jni/
H A 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()
H A Dandroid_opengl_EGLExt.cpp92 static jint android_eglDupNativeFenceFDANDROID(JNIEnv *env, jobject, jobject dpy, jobject sync) { in android_eglDupNativeFenceFDANDROID() argument
94 EGLSync sync_native = (EGLSync)fromEGLHandle(env, eglsyncGetHandleID, sync); in android_eglDupNativeFenceFDANDROID()
/aosp14/frameworks/base/core/java/android/view/
H A DIWindow.aidl94 …oid dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, float zoom, boolean sync); in dispatchWallpaperOffsets() argument
97 int z, in Bundle extras, boolean sync); in dispatchWallpaperCommand() argument
/aosp14/frameworks/base/core/java/android/content/
H A 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

123456