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

12

/frameworks/base/core/tests/overlaytests/
H A Druntests.sh100 function sync() function
103 $adb sync data | tee -a $log
109 # build and sync
112 sync
/frameworks/rs/
H A Dspec.h26 int sync; member in struct:__anon1568
/frameworks/support/renderscript/v8/rs_support/
H A Dspec.h26 int sync; member in struct:__anon1597
/frameworks/base/services/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/core/java/android/webkit/
H A DWebSyncManager.java27 // message code for sync message
29 // time delay in millisec for a sync (now) message
31 // time delay in millisec for a sync (later) message
37 // handler of the sync thread
41 // Ref count for calls to start/stop sync
51 Log.v(LOGTAG, "*** WebSyncManager sync ***");
55 // send a delayed message to request sync later
80 // prepare Looper for sync handler
94 * sync() forces sync manage
96 public void sync() { method in class:WebSyncManager
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java68 public static boolean sync(FileOutputStream stream) { method in class:FileUtils
71 stream.getFD().sync();
115 out.getFD().sync();
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp434 int JetPlayer::setMuteFlags(EAS_U32 muteFlags, bool sync) argument
437 return JET_SetMuteFlags(mEasData, muteFlags, sync);
441 int JetPlayer::setMuteFlag(int trackNum, bool muteFlag, bool sync) argument
444 return JET_SetMuteFlag(mEasData, trackNum, muteFlag, sync);
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java76 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { argument
77 if (sync) {
97 int z, Bundle extras, boolean sync) {
98 if (sync) {
96 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.java72 boolean sync) {
78 int z, Bundle extras, boolean sync) {
71 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument
77 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
H A DBridgeWindowSession.java176 int z, Bundle extras, boolean sync) {
175 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/core/java/android/content/
H A DContentService.java319 * Clear all scheduled sync operations that match the uri and cancel the active sync
360 "no permission to read the sync settings");
376 public void setSyncAutomatically(Account account, String providerName, boolean sync) { argument
378 "no permission to write the sync settings");
386 account, userId, providerName, sync);
396 "no permission to write the sync settings");
410 "no permission to write the sync settings");
424 "no permission to read the sync settings");
438 "no permission to read the sync setting
[all...]
H A DContentResolver.java83 * If this extra is set to true then the sync settings (like getSyncAutomatically())
84 * are ignored by the sync scheduler.
90 * are ignored by the sync scheduler. If this request fails and gets rescheduled then the
115 * do a full sync, though it is allowed to do so.
1254 * Notify registered observers that a row was updated and attempt to sync changes
1266 notifyChange(uri, observer, true /* sync to network */);
1273 * If syncToNetwork is true, this will attempt to schedule a local sync using the sync
1275 * passed to the sync adapter, so all matching accounts will be synchronized.
1282 * @param syncToNetwork If true, attempt to sync th
1462 setSyncAutomatically(Account account, String authority, boolean sync) argument
1625 setMasterSyncAutomatically(boolean sync) argument
[all...]
H A DSyncStorageEngine.java59 * Singleton that tracks the sync data and overall sync
82 /** Enum value for a sync start event. */
85 /** Enum value for a sync stop event. */
89 /** String names for the sync event types. */
92 /** Enum value for a server-initiated sync. */
95 /** Enum value for a local-initiated sync. */
98 * Enum value for a poll-based sync (e.g., upon connection to
103 /** Enum value for a user-initiated sync. */
106 /** Enum value for a periodic sync
486 setSyncAutomatically(Account account, int userId, String providerName, boolean sync) argument
[all...]
/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
324 * @param sync if false, the new mute flags will be applied as soon as possible by the JET
330 public boolean setMuteFlags(int muteFlags, boolean sync) { argument
331 return native_setMuteFlags(muteFlags, sync);
340 * @param sync if false, the new mute flags will be applied as soon as possible by the JET
346 public boolean setMuteArray(boolean[] muteArray, boolean sync) { argument
349 return native_setMuteArray(muteArray, sync);
357 * @param sync i
363 setMuteFlag(int trackId, boolean muteFlag, boolean sync) argument
551 native_setMuteFlags(int muteFlags, boolean sync) argument
552 native_setMuteArray(boolean[]muteArray, boolean sync) argument
553 native_setMuteFlag(int trackId, boolean muteFlag, boolean sync) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java407 int z, Bundle extras, boolean sync) {
413 action, x, y, z, extras, sync);
406 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java195 boolean sync = data.readInt() != 0;
198 resultExtras, sync, sendingUser);
760 Bundle map, boolean sync, int sendingUser) throws RemoteException {
769 data.writeInt(sync ? 1 : 0);
758 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String resultData, Bundle map, boolean sync, int sendingUser) argument
H A DIApplicationThread.java68 int resultCode, String data, Bundle extras, boolean sync,
67 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser) argument
H A DActivityThread.java647 boolean sync, int sendingUser) {
649 sync, false, mAppThread.asBinder(), sendingUser);
645 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java113 boolean sync; field in class:WallpaperService.WallpaperCommand
282 boolean sync) {
289 if (sync) {
302 int z, Bundle extras, boolean sync) {
311 cmd.sync = sync;
834 boolean sync;
840 sync = mPendingSync;
859 if (sync) {
872 cmd.extras, cmd.sync);
[all...]
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp471 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local
473 if (sync == EGL_NO_SYNC_KHR) {
479 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync);
480 eglDestroySyncKHR(dpy, sync);
784 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local
786 if (sync == EGL_NO_SYNC_KHR) {
796 eglWaitSyncANDROID(dpy, sync, 0);
798 eglDestroySyncKHR(dpy, sync);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp788 static void queueSync(EGLSyncKHR sync) { argument
799 thread->mQueue.push_back(sync);
810 EGLSyncKHR sync; local
817 sync = mQueue[0];
824 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR);
830 eglDestroySyncKHR(dpy, sync);
880 EGLSyncKHR sync = EGL_NO_SYNC_KHR; local
882 sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL);
884 if (sync != EGL_NO_SYNC_KHR) {
885 FrameCompletionThread::queueSync(sync);
1201 eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) argument
1216 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
1233 eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value) argument
1254 eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) argument
1269 eglWaitSyncANDROID(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp2105 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) argument
2107 if (sync != FENCE_SYNC_HANDLE) {
2114 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, argument
2117 if (sync != FENCE_SYNC_HANDLE) {
2124 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, argument
2127 if (sync != FENCE_SYNC_HANDLE) {
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4932 boolean sync) {
4933 if (sync) {
4942 int z, Bundle extras, boolean sync) {
4943 if (sync) {
4931 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument
4941 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java4860 void writeLocked(boolean sync) { argument
4879 if (sync) {
4909 FileUtils.sync(stream);

Completed in 7375 milliseconds

12