/device/google/contexthub/firmware/os/algos/ |
D | time_sync.c | 21 void time_sync_reset(time_sync_t *sync) { in time_sync_reset() argument 22 sync->n = 0; in time_sync_reset() 23 sync->i = 0; in time_sync_reset() 24 sync->estimate_valid = false; in time_sync_reset() 26 sync->hold_count = 0; in time_sync_reset() 29 bool time_sync_init(time_sync_t *sync) { in time_sync_init() argument 30 time_sync_reset(sync); in time_sync_init() 35 void time_sync_truncate(time_sync_t *sync, size_t window_size) { in time_sync_truncate() argument 37 sync->n = (window_size < sync->n) ? window_size : sync->n; in time_sync_truncate() 38 sync->estimate_valid = false; in time_sync_truncate() [all …]
|
D | ap_hub_sync.c | 38 void apHubSyncReset(struct ApHubSync* sync) { in apHubSyncReset() argument 39 sync->state = 0; in apHubSyncReset() 45 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime) { in apHubSyncAddDelta() argument 50 if (apTime > sync->lastTs + SYNC_EXPIRATION || sync->lastTs == 0) { in apHubSyncAddDelta() 51 apHubSyncReset(sync); in apHubSyncAddDelta() 54 sync->lastTs = apTime; in apHubSyncAddDelta() 56 if (sync->state == NOT_INITED) { in apHubSyncAddDelta() 58 sync->windowMax = delta; in apHubSyncAddDelta() 59 sync->windowTimeout = apTime + SYNC_WINDOW_TIMEOUT; in apHubSyncAddDelta() 61 sync->state = USE_MAX; in apHubSyncAddDelta() [all …]
|
/device/google/contexthub/firmware/os/inc/algos/ |
D | time_sync.h | 47 void time_sync_reset(time_sync_t *sync); 48 bool time_sync_init(time_sync_t *sync); 49 void time_sync_truncate(time_sync_t *sync, size_t window_size); 50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2); 51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1); 52 void time_sync_hold(time_sync_t *sync, uint8_t count);
|
D | ap_hub_sync.h | 51 void apHubSyncReset(struct ApHubSync* sync); 54 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime); 57 int64_t apHubSyncGetDelta(struct ApHubSync* sync, uint64_t hubTime);
|
/device/generic/goldfish-opengl/system/include/EGL/ |
D | eglext.h | 142 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi… 144 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 145 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute… 148 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 149 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint … 150 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum… 151 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi… 221 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); 222 EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/ |
D | egl_extensions.entries | 6 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 7 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 8 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
|
D | gles3_only.entries | 79 GLboolean glIsSync(GLsync sync); 80 void glDeleteSync(GLsync sync); 81 GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 82 void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 84 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | GLESv3.cpp | 234 GlSync(GLESv3* ctx_, GLsync sync_) : sync(sync_), id(ctx_->sync_nextId++), ctx(ctx_) { in GlSync() 242 GLsync sync; member 258 GlSync* sync = it->second; in glClientWaitSyncAEMU() local 259 return s_gles3.glClientWaitSync(sync->sync, flags, timeout); in glClientWaitSyncAEMU() 303 GlSync* sync = it->second; in glDeleteSyncAEMU() local 304 s_gles3.glDeleteSync(sync->sync); in glDeleteSyncAEMU() 305 delete sync; in glDeleteSyncAEMU() 352 GlSync* sync = new (std::nothrow) GlSync(ctx, sync_); in glFenceSyncAEMU() local 353 if (!sync) { in glFenceSyncAEMU() 358 return sync->id; in glFenceSyncAEMU() [all …]
|
D | EglSync.h | 28 EglSync(EGLSyncKHR sync_) : sync(sync_), id(nextId++) { in EglSync() 36 EGLSyncKHR sync; member
|
D | RenderControl.cpp | 746 EGLSyncKHR sync = s_egl.eglCreateSyncKHR(rc->dpy, type, attribs); in rcCreateSyncKHR() local 747 if (sync == EGL_NO_SYNC_KHR) { in rcCreateSyncKHR() 752 EglSync* syn = new (std::nothrow) EglSync(sync); in rcCreateSyncKHR() 754 s_egl.eglDestroySyncKHR(rc->dpy, sync); in rcCreateSyncKHR() 768 EglSync* sync = it->second; in rcClientWaitSyncKHR() local 770 return s_egl.eglClientWaitSyncKHR(rc->dpy, sync->sync, flags, timeout); in rcClientWaitSyncKHR() 783 EglSync* sync = it->second; in rcDestroySyncKHR() local 785 return s_egl.eglDestroySyncKHR(rc->dpy, sync->sync); in rcDestroySyncKHR() 820 EglSync* sync = it->second; in rcWaitSyncKHR() local 824 s_egl.eglClientWaitSyncKHR(rc->dpy, sync->sync, flags, EGL_FOREVER_KHR); in rcWaitSyncKHR()
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_entry.cpp | 38 EGLint rcClientWaitSyncKHR(uint64_t sync, EGLint flags, uint64_t timeout); 40 int rcDestroySyncKHR(uint64_t sync); 44 void rcWaitSyncKHR(uint64_t sync, EGLint flags); 55 int rcIsSyncSignaled(uint64_t sync); 247 EGLint rcClientWaitSyncKHR(uint64_t sync, EGLint flags, uint64_t timeout) in rcClientWaitSyncKHR() argument 250 return ctx->rcClientWaitSyncKHR(ctx, sync, flags, timeout); in rcClientWaitSyncKHR() 259 int rcDestroySyncKHR(uint64_t sync) in rcDestroySyncKHR() argument 262 return ctx->rcDestroySyncKHR(ctx, sync); in rcDestroySyncKHR() 283 void rcWaitSyncKHR(uint64_t sync, EGLint flags) in rcWaitSyncKHR() argument 286 ctx->rcWaitSyncKHR(ctx, sync, flags); in rcWaitSyncKHR() [all …]
|
/device/linaro/dragonboard/ |
D | init.common.rc | 27 chmod 755 /sys/kernel/debug/sync 28 chown graphics graphics /sys/kernel/debug/sync/sw_sync 29 chmod 777 /sys/kernel/debug/sync/sw_sync 30 chown graphics graphics /sys/kernel/debug/sync/info
|
/device/common/ |
D | generate-blob-lists.sh | 45 repo sync -j32 -n 46 repo sync -j32 -n 47 repo sync -j2 -l
|
/device/generic/goldfish-opengl/system/egl/ |
D | egl.cpp | 2332 EGLSync_t* sync = static_cast<EGLSync_t*>(eglsync); in eglDestroySyncKHR() local 2334 if (sync && sync->android_native_fence_fd > 0) { in eglDestroySyncKHR() 2335 close(sync->android_native_fence_fd); in eglDestroySyncKHR() 2336 sync->android_native_fence_fd = -1; in eglDestroySyncKHR() 2339 if (sync) { in eglDestroySyncKHR() 2342 rcEnc->rcDestroySyncKHR(rcEnc, sync->handle); in eglDestroySyncKHR() 2344 delete sync; in eglDestroySyncKHR() 2360 EGLSync_t* sync = (EGLSync_t*)eglsync; in eglClientWaitSyncKHR() local 2363 sync, sync->handle, flags, timeout); in eglClientWaitSyncKHR() 2370 (rcEnc, sync->handle, flags, timeout); in eglClientWaitSyncKHR() [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/ |
D | renderControl.in | 31 GL_ENTRY(EGLint, rcClientWaitSyncKHR, uint64_t sync, EGLint flags, uint64_t timeout) 33 GL_ENTRY(int, rcDestroySyncKHR, uint64_t sync) 37 GL_ENTRY(void, rcWaitSyncKHR, uint64_t sync, EGLint flags);
|
/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
D | egl.cpp | 604 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) in eglDestroySyncKHR() argument 606 return getDispatch()->eglDestroySyncKHR(dpy, sync); in eglDestroySyncKHR() 609 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) in eglClientWaitSyncKHR() argument 611 return getDispatch()->eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSyncKHR() 614 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) in eglSignalSyncKHR() argument 616 return getDispatch()->eglSignalSyncKHR(dpy, sync, mode); in eglSignalSyncKHR() 619 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value) in eglGetSyncAttribKHR() argument 621 return getDispatch()->eglGetSyncAttribKHR(dpy, sync, attribute, value); in eglGetSyncAttribKHR()
|
/device/google/contexthub/firmware/variant/ |
D | variant.mk | 49 .PHONY: all clean sync 78 sync:
|
/device/google/cuttlefish/tools/ |
D | flash-blk-dev.sh | 87 dd if=${image} of=/dev/${blk_dev} bs=1M conv=sync,noerror status=progress 110 sudo sync /dev/${blk_dev}
|
D | create_base_image_arm.sh | 474 dd if=/dev/${src_dev}p1 of=/dev/${dest_dev}p1 conv=sync,noerror status=progress 475 dd if=/dev/${src_dev}p2 of=/dev/${dest_dev}p2 conv=sync,noerror status=progress 476 dd if=/dev/${src_dev}p3 of=/dev/${dest_dev}p3 conv=sync,noerror status=progress 477 dd if=/dev/${src_dev}p4 of=/dev/${dest_dev}p4 conv=sync,noerror status=progress 480 …dd if=/dev/${src_dev}${part_num} of=/dev/${dest_dev}${part_num} bs=1M conv=sync,noerror status=pro… 487 sync /dev/${dest_dev} 512 sync /dev/${dest_dev}
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | Cargo.lock | 17 "sync", 39 "sync", 52 "sync", 142 "sync", 195 "sync", 786 name = "sync" 796 "sync", 906 "sync", 964 "sync",
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/ |
D | Cargo.lock | 17 "sync", 39 "sync", 52 "sync", 142 "sync", 195 "sync", 783 name = "sync" 793 "sync", 903 "sync", 961 "sync",
|
/device/ti/beagle_x15/ |
D | ueventd.beagle_x15board.rc | 4 # for android sync framework
|
/device/generic/goldfish/tools/ |
D | mk_qemu_image.sh | 33 dd if=$srcimg of=$target conv=notrunc,sync ibs=1024k obs=1024k seek=1 > /dev/null 2>&1
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | device.te | 65 #EFS sync bridge devices 68 #EFS sync block devices
|
/device/google/wahoo/ |
D | fstab.hardware | 5 …/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync …
|