Searched refs:sync (Results 51 - 75 of 77) sorted by relevance

1234

/frameworks/rs/
H A Drsg_generator.c164 if (api->sync || api->ret.typeName[0]) {
311 if (api->ret.typeName[0] || api->sync) {
396 } else /*if (api->sync)*/ {
512 } else if (api->sync || needFlush) {
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h900 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync);
901 GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync);
902 GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
903 GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
905 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
H A Dgl31.h900 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync);
901 GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync);
902 GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
903 GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
905 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h642 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
643 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
644 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
645 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
647 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
650 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
651 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
652 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
653 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
655 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenu
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h237 GLboolean GLTrace_glIsSync(GLsync sync);
238 void GLTrace_glDeleteSync(GLsync sync);
239 GLenum GLTrace_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
240 void GLTrace_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
242 void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values);
393 GLboolean GLTrace_glIsSyncAPPLE(GLsync sync);
394 void GLTrace_glDeleteSyncAPPLE(GLsync sync);
395 GLenum GLTrace_glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout);
396 void GLTrace_glWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout);
398 void GLTrace_glGetSyncivAPPLE(GLsync sync, GLenu
[all...]
H A Dgltrace_api.cpp9004 GLboolean GLTrace_glIsSync(GLsync sync) { argument
9010 // copy argument sync
9014 arg_sync->add_int64value((uintptr_t)sync);
9019 GLboolean retValue = glContext->hooks->gl.glIsSync(sync);
9030 (void *) sync,
9041 void GLTrace_glDeleteSync(GLsync sync) { argument
9047 // copy argument sync
9051 arg_sync->add_int64value((uintptr_t)sync);
9056 glContext->hooks->gl.glDeleteSync(sync);
9061 (void *) sync,
9070 GLTrace_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
9119 GLTrace_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
9195 GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) argument
15957 GLTrace_glIsSyncAPPLE(GLsync sync) argument
15994 GLTrace_glDeleteSyncAPPLE(GLsync sync) argument
16023 GLTrace_glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
16072 GLTrace_glWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
16148 GLTrace_glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1757 // keep its virtual display state machine in sync, or
3219 /* TODO: Once we have the sync framework everywhere this can use
3242 // Attempt to create a sync khr object that can produce a sync point. If that
3243 // isn't available, create a non-dupable sync object in the fallback path and
3245 EGLSyncKHR sync; local
3247 sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, NULL);
3251 sync = EGL_NO_SYNC_KHR;
3253 if (sync != EGL_NO_SYNC_KHR) {
3254 // get the sync f
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp2109 EGLBoolean eglDestroySyncKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync) argument
2111 if (sync != FENCE_SYNC_HANDLE) {
2118 EGLint eglClientWaitSyncKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync, EGLint /*flags*/, argument
2121 if (sync != FENCE_SYNC_HANDLE) {
2128 EGLBoolean eglGetSyncAttribKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync, argument
2131 if (sync != FENCE_SYNC_HANDLE) {
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES30.cpp3659 /* GLboolean glIsSync ( GLsync sync ) */
3662 (JNIEnv *_env, jobject _this, jlong sync) {
3665 (GLsync)sync
3670 /* void glDeleteSync ( GLsync sync ) */
3673 (JNIEnv *_env, jobject _this, jlong sync) {
3675 (GLsync)sync
3679 /* GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) */
3682 (JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) {
3685 (GLsync)sync,
3692 /* void glWaitSync ( GLsync sync, GLbitfiel
3661 android_glIsSync__J(JNIEnv *_env, jobject _this, jlong sync) argument
3672 android_glDeleteSync__J(JNIEnv *_env, jobject _this, jlong sync) argument
3681 android_glClientWaitSync__JIJ(JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) argument
3694 android_glWaitSync__JIJ(JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) argument
3771 android_glGetSynciv__JII_3II_3II(JNIEnv *_env, jobject _this, jlong sync, jint pname, jint bufSize, jintArray length_ref, jint lengthOffset, jintArray values_ref, jint valuesOffset) argument
3841 android_glGetSynciv__JIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jlong sync, jint pname, jint bufSize, jobject length_buf, jobject values_buf) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java206 boolean sync = data.readInt() != 0;
210 resultExtras, sync, sendingUser, processState);
849 Bundle map, boolean sync, int sendingUser, int processState) throws RemoteException {
858 data.writeInt(sync ? 1 : 0);
847 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String resultData, Bundle map, boolean sync, int sendingUser, int processState) argument
H A DSharedPreferencesImpl.java456 mcr, null /* sync write on this thread okay */);
598 FileUtils.sync(str);
H A DActivityThread.java678 boolean sync, int sendingUser, int processState) {
681 sync, false, mAppThread.asBinder(), sendingUser);
1148 // TODO: Tune this since things like gmail sync are important background but not jank perceptible.
676 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser, int processState) argument
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java284 FileUtils.sync(fstr);
/frameworks/native/services/inputflinger/
H A DInputReader.h1009 void sync(nsecs_t when);
1172 void sync(nsecs_t when);
1675 void sync(nsecs_t when);
1837 void sync(nsecs_t when, bool force);
H A DInputReader.cpp985 ALOGD("Dropped input event while waiting for next input sync.");
1579 // out of sync with the initial state of the events in the evdev buffer.
1836 sync(rawEvent->when);
1852 void SwitchInputMapper::sync(nsecs_t when) { function in class:android::SwitchInputMapper
2430 sync(rawEvent->when);
2434 void CursorInputMapper::sync(nsecs_t when) { function in class:android::CursorInputMapper
3731 sync(rawEvent->when);
3735 void TouchInputMapper::sync(nsecs_t when) { function in class:android::TouchInputMapper
6483 sync(rawEvent->when, false /*force*/);
6490 void JoystickInputMapper::sync(nsecs_ function in class:android::JoystickInputMapper
[all...]
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp410 sync();
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java65 return new File(new File(getContext().getFilesDir(), "system"), "sync");
85 * corresponding sync is finished. This can happen if the clock changes while we are syncing.
309 // Edit existing sync and update the period and flex.
341 for (PeriodicSync sync : syncs) {
342 engine.removePeriodicSync(target, sync.extras);
647 assertEquals("expected sync1: " + sync1.toString() + " == sync 2" + syncs.get(0).toString(), sync1, syncs.get(0));
774 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync");
814 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync");
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java2073 boolean sync) {
2120 if (sync) {
2125 wallpaperWin.mWallpaperXStep, wallpaperWin.mWallpaperYStep, sync);
2126 if (sync) {
2165 void updateWallpaperOffsetLocked(WindowState changingTarget, boolean sync) { argument
2206 if (updateWallpaperOffsetLocked(wallpaper, dw, dh, sync)) {
2213 sync = false;
2915 String action, int x, int y, int z, Bundle extras, boolean sync) {
2918 boolean doWait = sync;
2929 x, y, z, extras, sync);
2072 updateWallpaperOffsetLocked(WindowState wallpaperWin, int dw, int dh, boolean sync) argument
2914 sendWindowWallpaperCommandLocked(WindowState window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java541 FileUtils.sync(dumpStream);
H A DDropBoxManagerService.java229 FileUtils.sync(foutput);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java1018 super("CreateWriteSyncFile", "Create, write, sync, and delete a file");
1031 FileUtils.sync(fos);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java6579 boolean sync) {
6580 if (sync) {
6590 int z, Bundle extras, boolean sync) {
6591 if (sync) {
6578 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument
6589 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java1379 FileUtils.sync(fstr);
1635 FileUtils.sync(fstr);
1711 FileUtils.sync(fstr);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java1389 FileUtils.sync(fos);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java6855 FileUtils.sync(stream);
7657 void writeLocked(boolean sync) { argument
7676 if (sync) {
7703 FileUtils.sync(stream);

Completed in 661 milliseconds

1234