/frameworks/base/core/java/android/webkit/ |
H A D | CookieSyncManager.java | 34 * To set up for sync, the host application has to call<p> 46 * To get instant sync instead of waiting for the timer to trigger, the host can 49 * <pre class="prettyprint">CookieSyncManager.getInstance().sync()</pre><p> 51 * The sync interval is 5 minutes, so you will want to force syncs 53 * WebViewClient#onPageFinished}. Note that even sync() happens 59 * To manually force a sync you can use the CookieManager 61 * replacement for {@link #sync}. 107 * sync() forces sync manager to sync no 111 public void sync() { method in class:CookieSyncManager [all...] |
H A D | WebSyncManager.java | 41 * sync() forces sync manager to sync now 43 public void sync() { method in class:WebSyncManager 47 * resetSync() resets sync manager's timer 53 * startSync() requests sync manager to start sync 59 * stopSync() requests sync manager to stop sync. remove any SYNC_MESSAGE in 60 * the queue to break the sync loo [all...] |
/frameworks/rs/ |
H A D | spec.h | 26 int sync; member in struct:__anon2069
|
/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.h | 58 virtual int sync() { function in class:android::uirenderer::LogcatStream::LogcatStreamBuf
|
/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/support/compat/src/main/java/androidx/core/util/ |
H A D | AtomicFile.java | 36 * been completely written and sync'd to disk before removing its backup. 122 * returned by {@link #startWrite()}. This will close, sync, and 128 sync(str); 145 sync(str); 210 private static boolean sync(@NonNull FileOutputStream stream) { method in class:AtomicFile 212 stream.getFD().sync();
|
/frameworks/base/media/jni/ |
H A D | android_media_SyncParams.h | 27 AVSyncSettings sync; member in struct:android::SyncParams
|
H A D | android_media_MediaSync.cpp | 124 static sp<JMediaSync> setMediaSync(JNIEnv *env, jobject thiz, const sp<JMediaSync> &sync) { argument 126 if (sync != NULL) { 127 sync->incStrong(thiz); 133 env->SetLongField(thiz, gFields.context, (jlong)sync.get()); 174 sp<JMediaSync> sync = getMediaSync(env, thiz); local 175 if (sync == NULL) { 191 status_t err = sync->setSurface(bufferProducer); 207 sp<JMediaSync> sync = getMediaSync(env, thiz); local 208 if (sync == NULL) { 222 status_t err = sync 238 sp<JMediaSync> sync = getMediaSync(env, thiz); local 259 sp<JMediaSync> sync = getMediaSync(env, thiz); local 274 sp<JMediaSync> sync = getMediaSync(env, thiz); local 302 sp<JMediaSync> sync = getMediaSync(env, thiz); local 317 sp<JMediaSync> sync = getMediaSync(env, thiz); local 368 sp<JMediaSync> sync = getMediaSync(env, thiz); local 390 sp<JMediaSync> sync = getMediaSync(env, thiz); local 441 sp<JMediaSync> sync = getMediaSync(env, thiz); local 472 sp<JMediaSync> sync = getMediaSync(env, thiz); local 508 sp<JMediaSync> sync = new JMediaSync(); local [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 69 public boolean injectInputEvent(InputEvent event, boolean sync) { argument 70 return mUiAutomation.injectInputEvent(event, sync);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WallpaperWindowToken.java | 60 String action, int x, int y, int z, Bundle extras, boolean sync) { 64 wallpaper.mClient.dispatchWallpaperCommand(action, x, y, z, extras, sync); 66 sync = false; 72 void updateWallpaperOffset(int dw, int dh, boolean sync) { argument 76 if (wallpaperController.updateWallpaperOffset(wallpaper, dw, dh, sync)) { 78 sync = false; 59 sendWindowWallpaperCommand( String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 425 int JetPlayer::setMuteFlags(EAS_U32 muteFlags, bool sync) argument 428 return JET_SetMuteFlags(mEasData, muteFlags, sync); 432 int JetPlayer::setMuteFlag(int trackNum, bool muteFlag, bool sync) argument 435 return JET_SetMuteFlag(mEasData, trackNum, muteFlag, sync);
|
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
H A D | MediaPlayer2Interface.h | 188 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { argument 189 // By default, players only support setting sync source to default; all other sync 191 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { 197 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { 198 *sync = AVSyncSettings();
|
/frameworks/base/core/java/android/app/ |
H A D | UiAutomationConnection.java | 117 public boolean injectInputEvent(InputEvent event, boolean sync) { argument 123 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
|
H A D | UiAutomation.java | 504 * @param sync Whether to inject the event synchronously. 507 public boolean injectInputEvent(InputEvent event, boolean sync) { argument 513 Log.i(LOG_TAG, "Injecting: " + event + " sync: " + sync); 516 return mUiAutomationConnection.injectInputEvent(event, sync);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 80 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { argument 81 if (sync) { 112 int z, Bundle extras, boolean sync) { 113 if (sync) { 111 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestIWindow.java | 75 boolean sync) 82 boolean sync) throws RemoteException { 74 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument 81 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
|
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/ |
H A D | LifecycleRegistry.java | 138 sync(); 188 // we do sync only on the top level. 189 sync(); 317 private void sync() { method in class:LifecycleRegistry
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 217 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { argument 218 // By default, players only support setting sync source to default; all other sync 220 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { 226 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { 227 *sync = AVSyncSettings();
|
/frameworks/av/media/libmediaplayerservice/include/ |
H A D | MediaPlayerInterface.h | 217 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { argument 218 // By default, players only support setting sync source to default; all other sync 220 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { 226 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { 227 *sync = AVSyncSettings();
|
/frameworks/base/libs/hwui/debug/ |
H A D | nullegl.cpp | 162 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { argument 166 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaSync.java | 43 * MediaSync sync = new MediaSync(); 44 * sync.setSurface(surface); 45 * Surface inputSurface = sync.createInputSurface(); 50 * sync.setAudioTrack(audioTrack); 51 * sync.setCallback(new MediaSync.Callback() { 53 * public void onAudioBufferConsumed(MediaSync sync, ByteBuffer audioBuffer, int bufferId) { 57 * // This needs to be done since sync is paused on creation. 58 * sync.setPlaybackParams(new PlaybackParams().setSpeed(1.f)); 66 * sync.queueAudio(audioByteBuffer, bufferId, audioPresentationTimeUs); // non-blocking. 72 * sync 130 onAudioBufferConsumed( @onNull MediaSync sync, @NonNull ByteBuffer audioBuffer, int bufferId) argument 162 onError(@onNull MediaSync sync, int what, int extra) argument [all...] |
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...] |
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | PermissionManagerInternal.java | 62 public void onPermissionUpdated(int[] updatedUserIds, boolean sync) { argument
|
/frameworks/av/media/extractors/mpeg2/ |
H A D | MPEG2TSExtractor.cpp | 360 // We're keeping the size of the sync points at most 5mb per a track. 482 ALOGW("No sync point to seek to."); 491 // Determine the sync point to seek. 503 ALOGW("Next sync not found; starting from the latest sync."); 514 ALOGW("Previous sync not found; starting from the earliest " 515 "sync."); 539 // Fast-forward to sync frame. 550 int32_t sync; local 551 if (meta->findInt32("isSync", &sync) [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaSync.cpp | 45 sp<MediaSync> sync = new MediaSync(); local 46 sync->mLooper->registerHandler(sync); 47 return sync; 97 ALOGE("setSurface: output surface is used as sync source and cannot be removed."); 161 ALOGE("setAudioTrack: audioTrack is used as sync source and cannot be removed."); 243 // TODO: resync ourselves to the current clock (e.g. on sync source change) 398 // verify that we have the sync source 402 ALOGE("setSyncSettings: audio sync source requires an audio track"); 408 ALOGE("setSyncSettings: vsync sync sourc 811 InputListener(const sp<MediaSync> &sync) argument 831 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output) argument [all...] |