/frameworks/base/media/jni/ |
D | android_media_MediaSync.cpp | 124 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 …]
|
D | android_media_SyncParams.cpp | 60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source); in fillFromJobject() 61 … sync.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()
|
D | android_media_MediaPlayer.cpp | 513 scp.syncSourceSet, scp.sync.mSource, in android_media_MediaPlayer_setSyncParams() 514 scp.audioAdjustModeSet, scp.sync.mAudioAdjustMode, in android_media_MediaPlayer_setSyncParams() 515 scp.toleranceSet, scp.sync.mTolerance, in android_media_MediaPlayer_setSyncParams() 524 avsync.mSource = scp.sync.mSource; in android_media_MediaPlayer_setSyncParams() 528 avsync.mAudioAdjustMode = scp.sync.mAudioAdjustMode; in android_media_MediaPlayer_setSyncParams() 532 avsync.mTolerance = scp.sync.mTolerance; in android_media_MediaPlayer_setSyncParams() 556 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate), in android_media_MediaPlayer_getSyncParams() 560 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate); in android_media_MediaPlayer_getSyncParams() 563 if (scp.sync.mSource >= AVSYNC_SOURCE_MAX in android_media_MediaPlayer_getSyncParams() 564 || scp.sync.mAudioAdjustMode >= AVSYNC_AUDIO_ADJUST_MODE_MAX in android_media_MediaPlayer_getSyncParams() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 39 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/ |
D | creating-sync-adapter.jd | 53 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 …]
|
D | running-sync-adapter.jd | 36 In the previous lessons in this class, you learned how to create a sync adapter component that 38 plug the sync adapter into the system. You now have everything you need to install an app that 39 includes a sync adapter, but none of the code you've seen actually runs the sync adapter. 42 You should try to run your sync adapter based on a schedule or as the indirect result of some 43 event. For example, you may want your sync adapter to run on a regular schedule, either after a 44 certain period of time or at a particular time of the day. You may also want to run your sync 46 sync adapter as the direct result of a user action, because by doing this you don't get the full 47 benefit of the sync adapter framework's scheduling ability. For example, you should avoid 51 You have the following options for running your sync adapter: 58 Run the sync adapter in response to a message from a server, indicating that server-based [all …]
|
D | creating-stub-provider.jd | 38 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 …]
|
D | index.jd | 49 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.
|
D | creating-authenticator.jd | 43 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/base/media/java/android/media/ |
D | JetPlayer.java | 332 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/native/opengl/include/EGL/ |
D | eglext.h | 142 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/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 75 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) { in dispatchWallpaperOffsets() argument 76 if (sync) { in dispatchWallpaperOffsets() 100 int z, Bundle extras, boolean sync) { in dispatchWallpaperCommand() argument 101 if (sync) { in dispatchWallpaperCommand()
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | AtomicFile.java | 123 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/ |
D | IMediaPlayer.cpp | 212 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() 547 AVSyncSettings sync; in onTransact() local 548 sync.mSource = (AVSyncSource)data.readInt32(); in onTransact() 549 sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)data.readInt32(); in onTransact() 550 sync.mTolerance = data.readFloat(); in onTransact() [all …]
|
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/ |
D | XMLParser.java | 93 _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/base/core/java/com/android/internal/os/ |
D | AtomicFile.java | 91 FileUtils.sync(str); in finishWrite() 103 FileUtils.sync(str); in failWrite() 125 FileUtils.sync(fos); in truncate()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 129 FileUtils.sync(str); in finishWrite() 146 FileUtils.sync(str); in failWrite() 163 FileUtils.sync(fos); in truncate()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 56 status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint); 57 status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */); 245 status_t onConfigSync(const AVSyncSettings &sync, float videoFpsHint); 246 status_t onGetSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
|
/frameworks/rs/ |
D | rs.spec | 86 sync 92 sync 97 sync 104 sync 120 sync 132 sync 462 sync
|
/frameworks/base/docs/html/distribute/engage/ |
D | gcm.jd | 2 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/av/media/libstagefright/ |
D | MediaSync.cpp | 43 sp<MediaSync> sync = new MediaSync(); in create() local 44 sync->mLooper->registerHandler(sync); in create() 45 return sync; in create() 824 MediaSync::InputListener::InputListener(const sp<MediaSync> &sync) in InputListener() argument 825 : mSync(sync) {} in InputListener() 844 MediaSync::OutputListener::OutputListener(const sp<MediaSync> &sync, in OutputListener() argument 846 : mSync(sync), in OutputListener()
|
/frameworks/base/core/java/android/content/ |
D | IContentService.aidl | 62 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/base/core/java/android/view/ |
D | IWindow.aidl | 69 void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync); in dispatchWallpaperOffsets() argument 72 int z, in Bundle extras, boolean sync); in dispatchWallpaperCommand() argument
|
/frameworks/av/include/media/ |
D | MediaPlayerInterface.h | 194 virtual status_t setSyncSettings(const AVSyncSettings& sync, float /* videoFps */) { in setSyncSettings() argument 197 if (sync.mSource != AVSYNC_SOURCE_DEFAULT) { in setSyncSettings() 203 AVSyncSettings* sync /* nonnull */, float* videoFps /* nonnull */) { in getSyncSettings() argument 204 *sync = AVSyncSettings(); in getSyncSettings()
|
D | JetPlayer.h | 57 int setMuteFlags(EAS_U32 muteFlags, bool sync); 58 int setMuteFlag(int trackNum, bool muteFlag, bool sync);
|