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

123456

/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java95 FileUtils.sync(fos);
/frameworks/base/media/java/android/media/
H A DRemoteController.java202 * a synchronization policy that will periodically re-sync the estimated position
357 * @param sync {@link #POSITION_SYNCHRONIZATION_NONE} or {@link #POSITION_SYNCHRONIZATION_CHECK}
361 public boolean setSynchronizationMode(int sync) throws IllegalArgumentException { argument
362 if ((sync != POSITION_SYNCHRONIZATION_NONE) && (sync != POSITION_SYNCHRONIZATION_CHECK)) {
363 throw new IllegalArgumentException("Unknown synchronization mode " + sync);
/frameworks/base/services/core/java/com/android/server/
H A DCertBlacklister.java92 // sync to disk
93 FileUtils.sync(out);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java127 boolean sync; field in class:WallpaperService.WallpaperCommand
337 boolean sync) {
344 if (sync) {
357 int z, Bundle extras, boolean sync) {
366 cmd.sync = sync;
1106 boolean sync;
1112 sync = mPendingSync;
1131 if (sync) {
1144 cmd.extras, cmd.sync);
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp143 * (keep in sync with gExtensionString above)
1295 static void queueSync(EGLSyncKHR sync) { argument
1304 thread.mQueue.push_back(sync);
1327 EGLSyncKHR sync; local
1334 sync = mQueue[0];
1343 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR);
1349 eglDestroySyncKHR(dpy, sync);
1382 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL); local
1383 if (sync != EGL_NO_SYNC_KHR) {
1384 FrameCompletionThread::queueSync(sync);
1812 eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) argument
1827 eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) argument
1842 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
1859 eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value) argument
2086 eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) argument
2102 eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) argument
[all...]
/frameworks/av/include/media/
H A Dmediaplayer.h164 // Keep KEY_PARAMETER_* in sync with MediaPlayer.java.
183 // Keep INVOKE_ID_* in sync with MediaPlayer.java.
233 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint);
235 AVSyncSettings* sync /* nonnull */,
/frameworks/av/media/libmedia/include/media/
H A Dmediaplayer.h164 // Keep KEY_PARAMETER_* in sync with MediaPlayer.java.
183 // Keep INVOKE_ID_* in sync with MediaPlayer.java.
233 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint);
235 AVSyncSettings* sync /* nonnull */,
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
H A Dmediaplayer2.h74 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint);
76 AVSyncSettings* sync /* nonnull */,
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2.h59 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint);
60 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
H A DNuPlayer2Driver.h50 virtual status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint);
51 virtual status_t getSyncSettings(AVSyncSettings *sync, float *videoFps);
H A DNuPlayer2Renderer.cpp249 status_t NuPlayer2::Renderer::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { argument
251 writeToAMessage(msg, sync, videoFpsHint);
260 status_t NuPlayer2::Renderer::onConfigSync(const AVSyncSettings &sync, float videoFpsHint __unused) { argument
261 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) {
264 // TODO: support sync sources
268 status_t NuPlayer2::Renderer::getSyncSettings(AVSyncSettings *sync, float *videoFps) { argument
275 readFromAMessage(response, sync, videoFps);
282 AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */) {
283 *sync = mSyncSettings;
667 AVSyncSettings sync; local
683 AVSyncSettings sync; local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h66 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint);
67 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
H A DNuPlayerRenderer.cpp250 status_t NuPlayer::Renderer::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { argument
252 writeToAMessage(msg, sync, videoFpsHint);
261 status_t NuPlayer::Renderer::onConfigSync(const AVSyncSettings &sync, float videoFpsHint __unused) { argument
262 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) {
265 // TODO: support sync sources
269 status_t NuPlayer::Renderer::getSyncSettings(AVSyncSettings *sync, float *videoFps) { argument
276 readFromAMessage(response, sync, videoFps);
283 AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */) {
284 *sync = mSyncSettings;
668 AVSyncSettings sync; local
684 AVSyncSettings sync; local
[all...]
/frameworks/native/libs/gui/
H A DGLConsumer.cpp276 // Do whatever sync ops we need to do before releasing the slot.
418 // Do whatever sync ops we need to do before releasing the old slot.
678 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local
680 if (sync == EGL_NO_SYNC_KHR) {
686 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync);
687 eglDestroySyncKHR(dpy, sync);
999 EGLSyncKHR sync = eglCreateSyncKHR(dpy, local
1001 if (sync == EGL_NO_SYNC_KHR) {
1011 eglWaitSyncKHR(dpy, sync, 0);
1013 eglDestroySyncKHR(dpy, sync);
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp29 #include <sync/sync.h>
H A DGralloc2.cpp27 #include <sync/sync.h>
/frameworks/rs/
H A Dspec.l71 <api_entry2>"sync" {
72 apis[apiCount].sync = 1;
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp587 scp.syncSourceSet, scp.sync.mSource,
588 scp.audioAdjustModeSet, scp.sync.mAudioAdjustMode,
589 scp.toleranceSet, scp.sync.mTolerance,
598 avsync.mSource = scp.sync.mSource;
602 avsync.mAudioAdjustMode = scp.sync.mAudioAdjustMode;
606 avsync.mTolerance = scp.sync.mTolerance;
630 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate),
637 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync
[all...]
H A Dandroid_media_MediaPlayer2.cpp694 scp.syncSourceSet, scp.sync.mSource,
695 scp.audioAdjustModeSet, scp.sync.mAudioAdjustMode,
696 scp.toleranceSet, scp.sync.mTolerance,
705 avsync.mSource = scp.sync.mSource;
709 avsync.mAudioAdjustMode = scp.sync.mAudioAdjustMode;
713 avsync.mTolerance = scp.sync.mTolerance;
737 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate),
744 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync
[all...]
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java170 _errHandler.sync(this);
520 _errHandler.sync(this);
532 _errHandler.sync(this);
969 _errHandler.sync(this);
1082 _errHandler.sync(this);
1090 _errHandler.sync(this);
1362 _errHandler.sync(this);
1462 _errHandler.sync(this);
1474 _errHandler.sync(this);
1786 _errHandler.sync(thi
[all...]
/frameworks/av/media/libmediaplayer2/
H A Dmediaplayer2.cpp148 // keep in sync with frameworks/base/media/java/android/media/AudioAttributes.java
916 status_t MediaPlayer2::setSyncSettings(const AVSyncSettings& sync, float videoFpsHint) { argument
918 sync.mSource, sync.mAudioAdjustMode, sync.mTolerance, videoFpsHint);
921 return mPlayer->setSyncSettings(sync, videoFpsHint);
925 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) {
930 status_t ret = mPlayer->getSyncSettings(sync, videoFps);
933 sync->mSource, sync
[all...]
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp290 // that generated the error. The sync version of prepare returns only 1 error
459 status_t MediaPlayer::setSyncSettings(const AVSyncSettings& sync, float videoFpsHint) argument
462 sync.mSource, sync.mAudioAdjustMode, sync.mTolerance, videoFpsHint);
465 return mPlayer->setSyncSettings(sync, videoFpsHint);
469 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */)
473 return mPlayer->getSyncSettings(sync, videoFps);
/frameworks/rs/driver/
H A DrsdGL.cpp404 // Create a EGL sync object.
405 EGLSyncKHR sync = eglCreateSyncKHR(dc->gl.egl.display, EGL_SYNC_NATIVE_FENCE_ANDROID, NULL);
406 if (sync != EGL_NO_SYNC_KHR) {
409 // Convert the EGL sync object to a file descriptor.
410 syncFd = eglDupNativeFenceFDANDROID(dc->gl.egl.display, sync);
412 ALOGW("Failed to dup sync khr object");
415 // The sync object is no longer needed once we have the file descriptor.
416 eglDestroySyncKHR(dc->gl.egl.display, sync);
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java117 public boolean injectInputEvent(InputEvent event, boolean sync) { argument
123 final int mode = (sync) ? InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl211 int z, in Bundle extras, boolean sync);

Completed in 449 milliseconds

123456