/frameworks/rs/ |
H A D | spec.h | 26 int sync; member in struct:__anon1564
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 33 * been completely written and sync'd to disk before removing its backup. 117 * returned by {@link #startWrite()}. This will close, sync, and 123 sync(str); 140 sync(str); 203 static boolean sync(FileOutputStream stream) { method in class:AtomicFile 206 stream.getFD().sync();
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 264 // Do whatever sync ops we need to do before releasing the slot. 401 // Do whatever sync ops we need to do before releasing the old slot. 643 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local 645 if (sync == EGL_NO_SYNC_KHR) { 651 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); 652 eglDestroySyncKHR(dpy, sync); 953 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local 955 if (sync == EGL_NO_SYNC_KHR) { 965 eglWaitSyncKHR(dpy, sync, 0); 967 eglDestroySyncKHR(dpy, sync); [all...] |
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2109 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/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 114 * (keep in sync with gExtensionString above) 986 static void queueSync(EGLSyncKHR sync) { argument 997 thread->mQueue.push_back(sync); 1008 EGLSyncKHR sync; local 1015 sync = mQueue[0]; 1022 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); 1028 eglDestroySyncKHR(dpy, sync); 1089 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL); local 1090 if (sync != EGL_NO_SYNC_KHR) { 1091 FrameCompletionThread::queueSync(sync); 1435 eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) argument 1450 eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) argument 1465 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument 1482 eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value) argument 1503 eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) argument 1519 eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 9004 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/inputflinger/ |
H A D | InputReader.cpp | 985 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/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 1757 // 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindow.java | 67 boolean sync) { 73 int z, Bundle extras, boolean sync) { 66 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument 72 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
H A D | BridgeWindowSession.java | 183 int z, Bundle extras, boolean sync) { 182 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 1385 // C function GLboolean glIsSync ( GLsync sync ) 1388 long sync 1391 // C function void glDeleteSync ( GLsync sync ) 1394 long sync 1397 // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1400 long sync, 1405 // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1408 long sync, 1428 // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values ) 1431 long sync, 1399 glClientWaitSync( long sync, int flags, long timeout ) argument 1407 glWaitSync( long sync, int flags, long timeout ) argument 1430 glGetSynciv( long sync, int pname, int bufSize, int[] length, int lengthOffset, int[] values, int valuesOffset ) argument 1442 glGetSynciv( long sync, int pname, int bufSize, java.nio.IntBuffer length, java.nio.IntBuffer values ) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | RandomBlock.java | 65 void toFile(String filename, boolean sync) throws IOException { argument 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessStatsService.java | 208 private void writeStateLocked(boolean sync) { argument 214 writeStateLocked(sync, commitPending); 217 public void writeStateLocked(boolean sync, final boolean commit) { argument 237 if (!sync) {
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 337 * Request a sync with a generic {@link android.content.SyncRequest} object. This will be 339 * periodic OR one-off sync. 341 * anonymous OR provider sync. 345 public void sync(SyncRequest request) { method in class:ContentService 354 enforceCrossUserPermission(userId, "no permission to request sync as user: " + userId); 371 "no permission to write the sync settings"); 380 // Schedule periodic sync. 397 * Clear all scheduled sync operations that match the uri and cancel the active sync 411 * Clear all scheduled sync operation 539 setSyncAutomatically(Account account, String providerName, boolean sync) argument 544 setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, int userId) argument [all...] |
H A D | SyncStorageEngine.java | 69 * Singleton that tracks the sync data and overall sync 86 /** Default time for a periodic sync. */ 92 /** Lower bound on sync time from which we assign a default flex time. */ 98 /** Enum value for a sync start event. */ 101 /** Enum value for a sync stop event. */ 105 /** String names for the sync event types. */ 108 /** Enum value for a server-initiated sync. */ 111 /** Enum value for a local-initiated sync. */ 113 /** Enum value for a poll-based sync ( 646 setSyncAutomatically(Account account, int userId, String providerName, boolean sync) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 432 int z, Bundle extras, boolean sync) { 438 action, x, y, z, extras, sync); 431 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
H A D | WindowManagerService.java | 2073 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/media/java/android/media/ |
H A D | JetPlayer.java | 74 // to keep in sync with the JetPlayer class constants 81 // to keep in sync with external/sonivox/arm-wt-22k/lib_src/jet_data.h 93 // to keep in sync with values used in external/sonivox/arm-wt-22k/Android.mk 326 * @param sync if false, the new mute flags will be applied as soon as possible by the JET 332 public boolean setMuteFlags(int muteFlags, boolean sync) { argument 333 return native_setMuteFlags(muteFlags, sync); 342 * @param sync if false, the new mute flags will be applied as soon as possible by the JET 348 public boolean setMuteArray(boolean[] muteArray, boolean sync) { argument 351 return native_setMuteArray(muteArray, sync); 359 * @param sync i 365 setMuteFlag(int trackId, boolean muteFlag, boolean sync) argument 553 native_setMuteFlags(int muteFlags, boolean sync) argument 554 native_setMuteArray(boolean[]muteArray, boolean sync) argument 555 native_setMuteFlag(int trackId, boolean muteFlag, boolean sync) argument [all...] |
H A D | RemoteController.java | 234 * a synchronization policy that will periodically re-sync the estimated position 444 * @param sync {@link #POSITION_SYNCHRONIZATION_NONE} or {@link #POSITION_SYNCHRONIZATION_CHECK} 448 public boolean setSynchronizationMode(int sync) throws IllegalArgumentException { argument 449 if ((sync != POSITION_SYNCHRONIZATION_NONE) && (sync != POSITION_SYNCHRONIZATION_CHECK)) { 450 throw new IllegalArgumentException("Unknown synchronization mode " + sync); 457 POSITION_SYNCHRONIZATION_CHECK == sync);
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 149 public static boolean sync(FileOutputStream stream) { method in class:FileUtils 152 stream.getFD().sync(); 196 out.getFD().sync();
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 122 boolean sync; field in class:WallpaperService.WallpaperCommand 293 boolean sync) { 300 if (sync) { 313 int z, Bundle extras, boolean sync) { 322 cmd.sync = sync; 941 boolean sync; 947 sync = mPendingSync; 966 if (sync) { 979 cmd.extras, cmd.sync); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 6579 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/core/java/android/webkit/ |
H A D | CookieSyncManager.java | 35 * To set up for sync, the host application has to call<p> 47 * To get instant sync instead of waiting for the timer to trigger, the host can 50 * <pre class="prettyprint">CookieSyncManager.getInstance().sync()</pre><p> 52 * The sync interval is 5 minutes, so you will want to force syncs 54 * WebViewClient#onPageFinished}. Note that even sync() happens 60 * To manually force a sync you can use the CookieManager 62 * replacement for {@link #sync}. 103 * sync() forces sync manager to sync no 107 public void sync() { method in class:CookieSyncManager [all...] |
H A D | WebSyncManager.java | 46 * sync() forces sync manager to sync now 48 public void sync() { method in class:WebSyncManager 52 * resetSync() resets sync manager's timer 58 * startSync() requests sync manager to start sync 64 * stopSync() requests sync manager to stop sync. remove any SYNC_MESSAGE in 65 * the queue to break the sync loo [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 6855 FileUtils.sync(stream); 7657 void writeLocked(boolean sync) { argument 7676 if (sync) { 7703 FileUtils.sync(stream);
|