Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 189) sorted by relevance

12345678

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp124 static sp<JMediaSync> setMediaSync(JNIEnv *env, jobject thiz, const sp<JMediaSync> &sync) { in setMediaSync() argument
126 if (sync != NULL) { in setMediaSync()
127 sync->incStrong(thiz); in setMediaSync()
133 env->SetLongField(thiz, gFields.context, (jlong)sync.get()); in setMediaSync()
174 sp<JMediaSync> sync = getMediaSync(env, thiz); in android_media_MediaSync_native_setSurface() local
175 if (sync == NULL) { in android_media_MediaSync_native_setSurface()
191 status_t err = sync->setSurface(bufferProducer); in android_media_MediaSync_native_setSurface()
207 sp<JMediaSync> sync = getMediaSync(env, thiz); in android_media_MediaSync_native_setAudioTrack() local
208 if (sync == NULL) { in android_media_MediaSync_native_setAudioTrack()
222 status_t err = sync->setAudioTrack(audioTrack); in android_media_MediaSync_native_setAudioTrack()
[all …]
Dandroid_media_SyncParams.cpp60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source); in fillFromJobject()
61sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)env->GetIntField(params, fields.audio_adjust_mode); in fillFromJobject()
62 sync.mTolerance = env->GetFloatField(params, fields.tolerance); in fillFromJobject()
77 env->SetIntField(params, fields.sync_source, (jint)sync.mSource); in asJobject()
78 env->SetIntField(params, fields.audio_adjust_mode, (jint)sync.mAudioAdjustMode); in asJobject()
79 env->SetFloatField(params, fields.tolerance, (jfloat)sync.mTolerance); in asJobject()
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt39 This extension enables the creation of EGL fence sync objects that are
41 using a file descriptor. These EGL fence sync objects have nearly
47 object that behaves similarly to an EGL fence sync object. These native
89 "If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID, an EGL native fence sync
95 The default values for the EGL native fence sync object attributes are as
115 "When a fence sync object is created or when an EGL native fence sync
120 with the newly created sync object.
122 After associating the fence command with an EGL native fence sync object,
127 new native fence object is signaled when the EGL native fence sync object
130 When the condition of the sync object is satisfied by the fence command,
[all …]
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-sync-adapter.jd53 The sync adapter component in your app encapsulates the code for the tasks that transfer
55 your app, the sync adapter framework runs the code in the sync adapter component. To add a
56 sync adapter component to your app, you need to add the following pieces:
62 A class that wraps your data transfer code in an interface compatible with the sync adapter
69 A component that allows the sync adapter framework to run the code in your sync adapter
76 A file containing information about your sync adapter. The framework reads this file to
83 XML that declares the bound service and points to sync adapter-specific metadata.
91 In this part of the lesson you learn how to create the sync adapter class that encapsulates the
92 data transfer code. Creating the class includes extending the sync adapter base class, defining
96 <h3>Extend the base sync adapter class AbstractThreadedSyncAdapter</h3>
[all …]
Drunning-sync-adapter.jd37 In the previous lessons in this class, you learned how to create a sync adapter component that
39 plug the sync adapter into the system. You now have everything you need to install an app that
40 includes a sync adapter, but none of the code you've seen actually runs the sync adapter.
43 You should try to run your sync adapter based on a schedule or as the indirect result of some
44 event. For example, you may want your sync adapter to run on a regular schedule, either after a
45 certain period of time or at a particular time of the day. You may also want to run your sync
47 sync adapter as the direct result of a user action, because by doing this you don't get the full
48 benefit of the sync adapter framework's scheduling ability. For example, you should avoid
52 You have the following options for running your sync adapter:
59 Run the sync adapter in response to a message from a server, indicating that server-based
[all …]
Dcreating-stub-provider.jd38 The sync adapter framework is designed to work with device data managed by the flexible and
39 highly secure content provider framework. For this reason, the sync adapter framework expects
41 If the sync adapter framework tries to run your sync adapter, and your app doesn't have a
42 content provider, your sync adapter crashes.
47 sync adapters, content providers offer a variety of security benefits and are specifically
53 However, if you're already storing local data in another form, you can still use a sync
54 adapter to handle data transfer. To satisfy the sync adapter framework requirement for a
57 add a stub provider, you can then use a sync adapter to transfer data from any storage
63 <a href="creating-sync-adapter.html">Creating a Sync Adapter</a>. If you don't yet have a
65 plug your sync adapter into the framework.
[all …]
Dindex.jd49 consider using Android's sync adapter framework. This framework helps manage and automate data
93 This class shows you how to create a sync adapter and the bound {@link android.app.Service} that
94 wraps it, how to provide the other components that help you plug the sync adapter into the
95 framework, and how to run the sync adapter to run in various ways.
109 Learn how to add an account-handling component that the sync adapter framework expects to be
117 Learn how to add a content provider component that the sync adapter framework expects to be
123 <b><a href="creating-sync-adapter.html">Creating a Sync Adapter</a></b>
126 Learn how to encapsulate your data transfer code in a component that the sync
130 <b><a href="running-sync-adapter.html">Running a Sync Adapter</a></b>
133 Learn how to trigger and schedule data transfers using the sync adapter framework.
Dcreating-authenticator.jd43 The sync adapter framework assumes that your sync adapter transfers data between device storage
45 framework expects you to provide a component called an authenticator as part of your sync
54 allows the sync adapter framework to call the authenticator's methods.
58 satisfy the requirements of the sync adapter framework. If you need to provide a real
139 In order for the sync adapter framework to access your authenticator, you must create a bound
179 To plug your authenticator component into the sync adapter and account frameworks, you need to
181 account type you've created for your sync adapter and declares user interface elements
195 The sync adapter framework requires each sync adapter to have an account type, in the form
196 of a domain name. The framework uses the account type as part of the sync adapter's
202 sync adapter, the value is not sent to your server.
[all …]
/frameworks/native/opengl/include/EGL/
Deglext.h142 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi…
144 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
145 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute…
148 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
149 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint …
150 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum…
151 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi…
221 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync);
222 EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync);
[all …]
/frameworks/base/media/java/android/media/
DJetPlayer.java332 public boolean setMuteFlags(int muteFlags, boolean sync) { in setMuteFlags() argument
333 return native_setMuteFlags(muteFlags, sync); in setMuteFlags()
348 public boolean setMuteArray(boolean[] muteArray, boolean sync) { in setMuteArray() argument
351 return native_setMuteArray(muteArray, sync); in setMuteArray()
365 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument
366 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag()
553 private native final boolean native_setMuteFlags(int muteFlags, boolean sync); in native_setMuteFlags() argument
554 private native final boolean native_setMuteArray(boolean[]muteArray, boolean sync); in native_setMuteArray() argument
555 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java72 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { in dispatchWallpaperOffsets() argument
73 if (sync) { in dispatchWallpaperOffsets()
93 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument
94 if (sync) { in dispatchWallpaperCommand()
/frameworks/support/v4/java/android/support/v4/util/
DAtomicFile.java123 sync(str); in finishWrite()
140 sync(str); in failWrite()
203 static boolean sync(FileOutputStream stream) { in sync() method in AtomicFile
206 stream.getFD().sync(); in sync()
/frameworks/av/media/libmedia/
DIMediaPlayer.cpp212 status_t setSyncSettings(const AVSyncSettings& sync, float videoFpsHint) in setSyncSettings() argument
216 data.writeInt32((int32_t)sync.mSource); in setSyncSettings()
217 data.writeInt32((int32_t)sync.mAudioAdjustMode); in setSyncSettings()
218 data.writeFloat(sync.mTolerance); in setSyncSettings()
224 status_t getSyncSettings(AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) in getSyncSettings() argument
235 *sync = settings; in getSyncSettings()
535 AVSyncSettings sync; in onTransact() local
536 sync.mSource = (AVSyncSource)data.readInt32(); in onTransact()
537 sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)data.readInt32(); in onTransact()
538 sync.mTolerance = data.readFloat(); in onTransact()
[all …]
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java93 _errHandler.sync(this); in document()
102 _errHandler.sync(this); in document()
107 _errHandler.sync(this); in document()
116 _errHandler.sync(this); in document()
170 _errHandler.sync(this); in prolog()
179 _errHandler.sync(this); in prolog()
264 _errHandler.sync(this); in content()
313 _errHandler.sync(this); in content()
377 _errHandler.sync(this); in element()
386 _errHandler.sync(this); in element()
[all …]
/frameworks/native/opengl/libs/GLES_trace/
Ddev.make4 sync:
8 adb sync
/frameworks/base/docs/html/training/cloudsync/
Dindex.jd2 page.tags=cloud,sync,backup
20 helps you build rich cloud-enabled apps that sync their data to a remote web
21 service, making sure all your devices always stay in sync, and your valuable
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java91 FileUtils.sync(str); in finishWrite()
103 FileUtils.sync(str); in failWrite()
125 FileUtils.sync(fos); in truncate()
/frameworks/base/core/java/android/util/
DAtomicFile.java129 FileUtils.sync(str); in finishWrite()
146 FileUtils.sync(str); in failWrite()
163 FileUtils.sync(fos); in truncate()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h56 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint);
57 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
238 status_t onConfigSync(const AVSyncSettings &sync, float videoFpsHint);
239 status_t onGetSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
/frameworks/base/core/java/android/view/
DIWindow.aidl66 void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync); in dispatchWallpaperOffsets() argument
69 int z, in Bundle extras, boolean sync); in dispatchWallpaperCommand() argument
/frameworks/base/docs/html/distribute/engage/
Dgcm.jd2 page.metaDescription=Keep your users in sync with your latest content by delivering lightweight mes…
21 content for the user, or other data to sync.
32 Google Cloud Messaging lets your users stay in sync with your service without
/frameworks/base/core/java/android/content/
DIContentService.aidl62 void sync(in SyncRequest request); in sync() method
84 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() argument
85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
/frameworks/av/include/media/
DMediaPlayerInterface.h192 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { in setSyncSettings() argument
195 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { in setSyncSettings()
201 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { in getSyncSettings() argument
202 *sync = AVSyncSettings(); in getSyncSettings()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindow.java67 boolean sync) { in dispatchWallpaperOffsets() argument
73 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument
/frameworks/av/media/libstagefright/
DMediaSync.cpp43 sp<MediaSync> sync = new MediaSync(); in create() local
44 sync->mLooper->registerHandler(sync); in create()
45 return sync; in create()
825 MediaSync::InputListener::InputListener(const sp<MediaSync> &sync) in InputListener() argument
826 : mSync(sync) {} in InputListener()
845 MediaSync::OutputListener::OutputListener(const sp<MediaSync> &sync, in OutputListener() argument
847 : mSync(sync), in OutputListener()

12345678