/aosp12/frameworks/base/media/jni/ |
H A D | android_media_MediaSync.cpp | 126 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 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()
|
/aosp12/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/inc/ |
H A D | vidc_common.h | 108 struct dma_buf_sync sync = {0}; in sync_start_write() local 110 do_sync_ioctl(fd, &sync); in sync_start_write() 114 struct dma_buf_sync sync = {0}; in sync_end_write() local 116 do_sync_ioctl(fd, &sync); in sync_end_write() 120 struct dma_buf_sync sync = {0}; in sync_start_read() local 122 do_sync_ioctl(fd, &sync); in sync_start_read() 126 struct dma_buf_sync sync = {0}; in sync_end_read() local 128 do_sync_ioctl(fd, &sync); in sync_end_read() 132 struct dma_buf_sync sync = {0}; in sync_start_rw() local 134 do_sync_ioctl(fd, &sync); in sync_start_rw() [all …]
|
/aosp12/frameworks/base/libs/hwui/tests/unit/ |
H A 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() 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 …]
|
/aosp12/packages/modules/adb/ |
H A D | SYNC.TXT | 9 Requesting the sync service ("sync:") using the protocol as described in 10 SERVICES.TXT sets the connection in sync mode. This mode is a binary mode that 14 After the initial "sync:" command is sent the server must respond with either 17 In sync mode both the server and the client will frequently use eight-byte 18 packets to communicate. In this document these are called sync requests and sync 22 all binary integers are Little-Endian in the sync mode. Sync mode is 23 implicitly exited after each sync request, and normal adb communication 26 The following sync requests are accepted: 40 1. A four-byte sync response id "DENT" 48 When a sync response "DONE" is received the listing is done. [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/ |
H A D | HintManagerServiceTest.java | 153 sync.notify(); in testPauseResumeHintSession() 156 synchronized (sync) { in testPauseResumeHintSession() 157 sync.wait(); in testPauseResumeHintSession() 167 sync.notify(); in testPauseResumeHintSession() 170 synchronized (sync) { in testPauseResumeHintSession() 171 sync.wait(); in testPauseResumeHintSession() 241 sync.notify(); in testReportActualWorkDuration() 244 synchronized (sync) { in testReportActualWorkDuration() 245 sync.wait(); in testReportActualWorkDuration() 268 synchronized (sync) { in testDoHintInBackground() [all …]
|
/aosp12/frameworks/native/opengl/specs/ |
H A D | EGL_ANDROID_native_fence_sync.txt | 115 "When a fence sync object is created or when an EGL native fence sync 120 with the newly created sync object. 133 If the sync object is an EGL native fence sync object then the native 145 eglClientWaitSyncKHR commands blocking on <sync> unblock." 163 * If <type> is not a supported type of sync object, 195 longer be the handle of a valid sync object. Additionally, if <sync> is an 207 EGLSyncKHR sync); 216 * If <sync> is not a valid sync object for <dpy>, 223 when <sync> was created, the behaviour is undefined." 230 RESOLVED: A new sync object type will be added. [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/content/ |
H A 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 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 …]
|
/aosp12/art/test/050-sync-test/ |
H A D | Android.bp | 3 // Build rules for ART run-test `050-sync-test`. 16 name: "art-run-test-050-sync-test", 21 ":art-run-test-050-sync-test-expected-stdout", 22 ":art-run-test-050-sync-test-expected-stderr", 28 name: "art-run-test-050-sync-test-expected-stdout", 29 out: ["art-run-test-050-sync-test-expected-stdout.txt"], 36 name: "art-run-test-050-sync-test-expected-stderr", 37 out: ["art-run-test-050-sync-test-expected-stderr.txt"],
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A D | gl_common.cpp | 122 EGLSyncKHR sync = eglCreateSyncKHR(eglGetCurrentDisplay(), EGL_SYNC_NATIVE_FENCE_ANDROID, in WaitOnInputFence() local 125 if (sync == EGL_NO_SYNC_KHR) { in WaitOnInputFence() 131 EGL(eglWaitSyncKHR(eglGetCurrentDisplay(), sync, 0)); in WaitOnInputFence() 132 EGL(eglDestroySyncKHR(eglGetCurrentDisplay(), sync)); in WaitOnInputFence() 139 EGLSyncKHR sync = eglCreateSyncKHR(eglGetCurrentDisplay(), EGL_SYNC_NATIVE_FENCE_ANDROID, NULL); in CreateOutputFence() local 144 if (sync == EGL_NO_SYNC_KHR) { in CreateOutputFence() 150 int fd = eglDupNativeFenceFDANDROID(eglGetCurrentDisplay(), sync); in CreateOutputFence() 157 EGL(eglDestroySyncKHR(eglGetCurrentDisplay(), sync)); in CreateOutputFence()
|
/aosp12/hardware/qcom/display/msm8909w_3100/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 614 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 648 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 699 list->sync.acq_fen_fd_cnt = 0; in fill_color() 731 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 772 ctx->sync.flags = 0; in open_copybit() 777 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 780 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 781 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8994/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 592 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 626 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 677 list->sync.acq_fen_fd_cnt = 0; in fill_color() 709 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 742 ctx->sync.flags = 0; in open_copybit() 747 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 750 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 751 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8996/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 612 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 646 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 697 list->sync.acq_fen_fd_cnt = 0; in fill_color() 729 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 770 ctx->sync.flags = 0; in open_copybit() 775 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 778 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 779 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8998/libcopybit/ |
H A D | copybit.cpp | 49 struct mdp_buf_sync sync; member 63 struct mdp_buf_sync sync; member 612 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 646 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 697 list->sync.acq_fen_fd_cnt = 0; in fill_color() 729 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 770 ctx->sync.flags = 0; in open_copybit() 775 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 778 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 779 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8084/libcopybit/ |
H A D | copybit.cpp | 50 struct mdp_buf_sync sync; member 64 struct mdp_buf_sync sync; member 580 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 614 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 665 list->sync.acq_fen_fd_cnt = 0; in fill_color() 697 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 730 ctx->sync.flags = 0; in open_copybit() 735 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 738 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 739 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8226/libcopybit/ |
H A D | copybit.cpp | 50 struct mdp_buf_sync sync; member 64 struct mdp_buf_sync sync; member 580 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 614 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 665 list->sync.acq_fen_fd_cnt = 0; in fill_color() 697 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 730 ctx->sync.flags = 0; in open_copybit() 735 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 738 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 739 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/display/msm8909/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 614 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 648 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 699 list->sync.acq_fen_fd_cnt = 0; in fill_color() 731 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 772 ctx->sync.flags = 0; in open_copybit() 777 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 780 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 781 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/sdm845/display/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 614 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 648 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 699 list->sync.acq_fen_fd_cnt = 0; in fill_color() 731 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 772 ctx->sync.flags = 0; in open_copybit() 777 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 780 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 781 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/sm7250/display/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 606 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 640 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 691 list->sync.acq_fen_fd_cnt = 0; in fill_color() 723 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 764 ctx->sync.flags = 0; in open_copybit() 769 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 772 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 773 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/hardware/qcom/sm8150/display/libcopybit/ |
H A D | copybit.cpp | 51 struct mdp_buf_sync sync; member 65 struct mdp_buf_sync sync; member 606 list1.sync.acq_fen_fd_cnt = ctx->list.sync.acq_fen_fd_cnt; in clear_copybit() 640 ctx->list.sync.acq_fen_fd_cnt = 0; in clear_copybit() 691 list->sync.acq_fen_fd_cnt = 0; in fill_color() 723 list->sync.acq_fen_fd_cnt = 0; in flush_get_fence() 764 ctx->sync.flags = 0; in open_copybit() 769 ctx->sync.acq_fen_fd = ctx->acqFence; in open_copybit() 772 ctx->list.sync.acq_fen_fd_cnt = 0; in open_copybit() 773 ctx->list.sync.rel_fen_fd = ctx->sync.rel_fen_fd; in open_copybit() [all …]
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 337 public boolean setMuteFlags(int muteFlags, boolean sync) { in setMuteFlags() argument 338 return native_setMuteFlags(muteFlags, sync); in setMuteFlags() 353 public boolean setMuteArray(boolean[] muteArray, boolean sync) { in setMuteArray() argument 356 return native_setMuteArray(muteArray, sync); in setMuteArray() 370 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument 371 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag() 558 private native final boolean native_setMuteFlags(int muteFlags, boolean sync); in native_setMuteFlags() argument 559 private native final boolean native_setMuteArray(boolean[]muteArray, boolean sync); in native_setMuteArray() argument 560 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A 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() 440 return cnx->platform.eglSignalSyncKHR(dpy, sync, mode); in eglSignalSyncKHR() 561 EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) { in eglWaitSyncKHR() argument 564 return cnx->platform.eglWaitSyncKHR(dpy, sync, flags); in eglWaitSyncKHR() 567 EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) { in eglWaitSync() argument 570 return cnx->platform.eglWaitSync(dpy, sync, flags); in eglWaitSync() 573 EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) { in eglDupNativeFenceFDANDROID() argument [all …]
|
/aosp12/hardware/qcom/sm7250/display/gralloc/ |
H A D | gr_ion_alloc.cpp | 130 struct dma_buf_sync sync; in CleanBuffer() local 135 sync.flags = DMA_BUF_SYNC_END | DMA_BUF_SYNC_RW; in CleanBuffer() 138 sync.flags = DMA_BUF_SYNC_START | DMA_BUF_SYNC_RW; in CleanBuffer() 141 sync.flags = DMA_BUF_SYNC_END | DMA_BUF_SYNC_READ; in CleanBuffer() 148 if (ioctl(dma_buf_fd, INT(DMA_BUF_IOCTL_SYNC), &sync)) { in CleanBuffer()
|
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/proto/ |
H A D | atoms.proto | 29 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 53 // Keep in sync with proto file at packages/services/Car/cpp/watchdog/proto 73 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 86 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 111 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 127 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 165 * Keep in sync with proto file at 179 * Keep in sync with proto file at 196 * Keep in sync with proto file at 214 * Keep in sync with proto file at [all …]
|
/aosp12/build/pesto/experiments/prepare_bazel_test_env/ |
H A D | bazelenv.py | 122 def sync(self): member in Resource 152 def sync(self): member in StaticResource 153 super().sync() 156 super().sync() 221 def sync(self): member in TemplateResource 222 super().sync() 297 def sync(self): member in BuildTemplateResource 412 def sync(self) -> None: member in Resources 415 resource.sync() 597 def sync(self): member in BazelTestEnvGenerator [all …]
|