Searched defs:sync (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java35 * 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 DWebSyncManager.java46 * 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/rs/
H A Dspec.h26 int sync; member in struct:__anon1564
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java65 void toFile(String filename, boolean sync) throws IOException { argument
69 out = new RandomAccessFile(filename, sync ? "rws" : "rw");
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java33 * 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/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java69 public boolean injectInputEvent(InputEvent event, boolean sync) { argument
70 return mUiAutomation.injectInputEvent(event, sync);
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java105 public boolean injectInputEvent(InputEvent event, boolean sync) { argument
111 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
H A DUiAutomation.java427 * @param sync Whether to inject the event synchronously.
430 public boolean injectInputEvent(InputEvent event, boolean sync) { argument
436 Log.i(LOG_TAG, "Injecting: " + event + " sync: " + sync);
439 return mUiAutomationConnection.injectInputEvent(event, sync);
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 DIApplicationThread.java74 int resultCode, String data, Bundle extras, boolean sync,
73 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser, int processState) argument
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp430 int JetPlayer::setMuteFlags(EAS_U32 muteFlags, bool sync) argument
433 return JET_SetMuteFlags(mEasData, muteFlags, sync);
437 int JetPlayer::setMuteFlag(int trackNum, bool muteFlag, bool sync) argument
440 return JET_SetMuteFlag(mEasData, trackNum, muteFlag, sync);
/frameworks/base/core/java/android/os/
H A DFileUtils.java149 public static boolean sync(FileOutputStream stream) { method in class:FileUtils
152 stream.getFD().sync();
196 out.getFD().sync();
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java72 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { argument
73 if (sync) {
93 int z, Bundle extras, boolean sync) {
94 if (sync) {
92 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java67 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 DBridgeWindowSession.java183 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/media/java/android/media/
H A DJetPlayer.java74 // 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 DRemoteController.java234 * 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/services/core/java/com/android/server/am/
H A DProcessStatsService.java208 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/wm/
H A DSession.java432 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
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java337 * 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 DSyncStorageEngine.java69 * 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/native/libs/gui/
H A DGLConsumer.cpp264 // 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/libs/EGL/
H A DeglApi.cpp114 * (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/base/core/java/android/content/
H A DContentResolver.java77 * If this extra is set to true, the sync request will be scheduled
78 * at the front of the sync request queue and without any delay
90 * If this extra is set to true then the sync settings (like getSyncAutomatically())
91 * are ignored by the sync scheduler.
97 * are ignored by the sync scheduler. If this request fails and gets rescheduled then the
114 * Indicates that this sync is intended to only upload local changes to the server.
115 * For example, this will be set to true if the sync is initiated by a call to
121 * Indicates that the sync adapter should proceed with the delete operations,
128 * Indicates that the sync adapter should not proceed with the delete operations,
141 /** {@hide} Priority of this sync wit
1940 setSyncAutomatically(Account account, String authority, boolean sync) argument
1948 setSyncAutomaticallyAsUser(Account account, String authority, boolean sync, int userId) argument
2167 setMasterSyncAutomatically(boolean sync) argument
2175 setMasterSyncAutomaticallyAsUser(boolean sync, int userId) argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java122 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...]

Completed in 3714 milliseconds

12