/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 | 63 EXPECT_EQ(0, counts.sync); in TEST() 69 handle->sync(syncData); in TEST() 72 EXPECT_EQ(1, counts.sync); in TEST() 76 handle->sync(syncData); in TEST() 79 EXPECT_EQ(2, counts.sync); in TEST() 87 EXPECT_EQ(2, counts.sync); in TEST() 105 handle->sync(syncData); in TEST() 115 EXPECT_EQ(5, counts.sync); in TEST() 133 handle->sync(syncData); in TEST() 137 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/services/core/java/com/android/server/content/ |
D | SyncManager.md | 13 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 19 whch means it's possible for a foreground app to request a sync in another app that is either in the 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 62 - This will add `JobInfo.FLAG_EXEMPT_FROM_APP_STANDBY` to the sync job. This makes the job 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.) 88 - When a sync operation needs a retry, SyncManager creates a new operation (job) with a back-off 89 (in `SyncManager.maybeRescheduleSync()`). In this case, the new sync operation will inherit [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGLExtHeader.java-if | 55 * @param sync The EGLSync to fetch the SyncFence from 57 * * If <sync> is not a valid sync object for <display>, 60 * * If the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of <sync> is 64 * when <sync> was created, the behaviour is undefined. 67 @NonNull EGLSync sync) { 68 int fd = eglDupNativeFenceFDANDROIDImpl(display, sync); 77 private static native int eglDupNativeFenceFDANDROIDImpl(EGLDisplay display, EGLSync sync);
|
/frameworks/base/core/java/android/window/ |
D | SurfaceSyncGroup.md | 5 …faceControlViewHost, and any other surface that wants to be involved in a sync. This allows differ… 9 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… 25 …ble is to execute any changes the caller wants and they are guaranteed to be picked up in the sync. 29 …sync, 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… 37 This allows callers to receive a callback when the sync is complete. The caller will only receive a… [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() 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/av/media/mtp/tests/MtpFuzzer/ |
D | README.md | 31 $ adb sync data 53 $ adb sync data 73 $ adb sync data 86 $ adb sync data 106 $ adb sync data 126 $ adb sync data 146 $ adb sync data 166 $ adb sync data 186 $ adb sync data 208 $ adb sync data
|
/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 422 EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySync() argument 426 return cnx->platform.eglDestroySync(dpy, sync); in eglDestroySync() 429 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHR() argument 433 return cnx->platform.eglDestroySyncKHR(dpy, sync); in eglDestroySyncKHR() 436 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { in eglSignalSyncKHR() argument 440 return cnx->platform.eglSignalSyncKHR(dpy, sync, mode); in eglSignalSyncKHR() 443 EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSync() argument 447 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSync() 450 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSyncKHR() argument 454 return cnx->platform.eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSyncKHR() [all …]
|
D | egl_platform_entries.cpp | 1257 static void queueSync(EGLSyncKHR sync) { in queueSync() argument 1266 thread.mQueue.push_back(sync); in queueSync() 1288 EGLSyncKHR sync; in threadLoop() local 1295 sync = mQueue[0]; in threadLoop() 1304 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); in threadLoop() 1310 eglDestroySyncKHR(dpy, sync); in threadLoop() 1341 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, nullptr); in eglSwapBuffersWithDamageKHRImpl() local 1342 if (sync != EGL_NO_SYNC_KHR) { in eglSwapBuffersWithDamageKHRImpl() 1343 FrameCompletionThread::queueSync(sync); in eglSwapBuffersWithDamageKHRImpl() 1767 EGLBoolean eglDestroySyncTmpl(EGLDisplay dpy, EGLSyncKHR sync, in eglDestroySyncTmpl() argument [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | EGLExt.java | 67 @NonNull EGLSync sync) { in eglDupNativeFenceFDANDROID() argument 68 int fd = eglDupNativeFenceFDANDROIDImpl(display, sync); in eglDupNativeFenceFDANDROID() 77 private static native int eglDupNativeFenceFDANDROIDImpl(EGLDisplay display, EGLSync sync); in eglDupNativeFenceFDANDROIDImpl() argument
|
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/services/core/java/com/android/server/wm/ |
D | BLASTSync.md | 2 There are two BLAST sync primitives on the server side, BLASTSyncEngine and applyWithNextDraw. 17 Guarantee 1: If you make a set of changes to syncable state, at the same time that you begin a sync… 19 to the consumer of the sync which was begun, rather than directly sent to SurfaceFlinger. 28 The following is the protocol and additional requirements for BLAST sync, and an analysis of why it… 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 68 The first case is impossible because step SD says that the server always sends the seqId if a sync … 72 it will schedule the render to sync. Requirement 4 says drawing never fails, so CC must execute, an… 94 and MSG_RESIZED. The ordering of these relative to sync preparation in server code is undefined, in… 102 …tWindow needed to acquire the same lock and relayoutWindow was a necessary part of completing sync. [all …]
|
D | WallpaperWindowToken.java | 130 String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand() argument 134 wallpaper.mClient.dispatchWallpaperCommand(action, x, y, z, extras, sync); in sendWindowWallpaperCommand() 136 sync = false; in sendWindowWallpaperCommand() 142 void updateWallpaperOffset(boolean sync) { in updateWallpaperOffset() argument 147 sync && !mWmService.mFlags.mWallpaperOffsetAsync)) { in updateWallpaperOffset() 149 sync = false; in updateWallpaperOffset()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | CallMetadataSyncInCallService.java | 57 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
|
/frameworks/base/core/proto/android/server/ |
D | blobstoremanagerservice.proto | 22 // 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/apex/jobscheduler/framework/java/com/android/server/ |
D | DeviceIdleInternal.java | 42 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() argument 49 long durationMs, @TempAllowListType int tempAllowListType, int userId, boolean sync, in addPowerSaveTempWhitelistApp() argument 64 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 109 boolean sync) { in dispatchWallpaperOffsets() argument 110 if (sync) { in dispatchWallpaperOffsets() 130 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument 131 if (sync) { in dispatchWallpaperCommand()
|
/frameworks/av/media/ndk/fuzzer/ |
D | README.md | 29 $ adb sync data 57 $ adb sync data 77 $ adb sync data 98 $ adb sync data 122 $ adb sync data 144 $ adb sync data 157 $ adb sync data 170 $ adb sync data
|
/frameworks/proto_logging/stats/express/catalog/ |
D | automotive_os.cfg | 4 display_name: "Concurrent sync operations" 20 display_name: "Get property sync latency" 21 description: "Car service end to end latency for get property sync" 54 display_name: "Set property sync latency" 55 description: "Car service end to end latency for set property sync"
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/ |
D | FakeQSTileUserActionInteractor.kt | 19 import kotlinx.coroutines.sync.Mutex 20 import kotlinx.coroutines.sync.withLock
|
/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 | 43 void sync(const WebViewSyncData& syncData) const { mReference.sync(syncData); } in sync() function 70 void sync(const WebViewSyncData& syncData) const;
|