Searched refs:sync (Results 101 - 125 of 134) sorted by relevance

123456

/frameworks/native/opengl/include/GLES3/
H A Dgl31.h1068 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1069 typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1070 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1071 typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1073 typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1173 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync);
1174 GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync);
1175 GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1176 GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1178 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenu
[all...]
H A Dgl32.h1068 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1069 typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1070 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1071 typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1073 typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1173 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync);
1174 GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync);
1175 GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1176 GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1178 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenu
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp70 // with a sync frame.
160 // Parse the payload and set event when PES with a sync frame is detected.
222 // another payload. event is set if the flushed payload is PES with a sync
228 // payload is PES with a sync frame.
235 // with parsed metadata. event is set if the PES contains a sync frame.
239 // into mSource. If the packet is a sync frame. set event with start offset
1561 int32_t sync = 0; local
1562 if (!accessUnit->meta()->findInt32("isSync", &sync) || !sync) {
1590 int32_t sync local
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp2169 EGLBoolean eglDestroySyncKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync) argument
2171 if (sync != FENCE_SYNC_HANDLE) {
2178 EGLint eglClientWaitSyncKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync, EGLint /*flags*/, argument
2181 if (sync != FENCE_SYNC_HANDLE) {
2188 EGLBoolean eglGetSyncAttribKHR(EGLDisplay /*dpy*/, EGLSyncKHR sync, argument
2191 if (sync != FENCE_SYNC_HANDLE) {
/frameworks/base/services/core/java/com/android/server/
H A DDeviceIdleController.java1317 long duration, int userId, boolean sync, String reason) {
1319 userId, sync, reason);
1323 public void addPowerSaveTempWhitelistAppDirect(int appId, long duration, boolean sync, argument
1325 addPowerSaveTempWhitelistAppDirectInternal(0, appId, duration, sync, reason);
1829 long duration, int userId, boolean sync, String reason) {
1833 addPowerSaveTempWhitelistAppDirectInternal(callingUid, appId, duration, sync, reason);
1843 long duration, boolean sync, String reason) {
1875 if (sync) {
2748 FileUtils.sync(stream);
1316 addPowerSaveTempWhitelistApp(int callingUid, String packageName, long duration, int userId, boolean sync, String reason) argument
1828 addPowerSaveTempWhitelistAppInternal(int callingUid, String packageName, long duration, int userId, boolean sync, String reason) argument
1842 addPowerSaveTempWhitelistAppDirectInternal(int callingUid, int appId, long duration, boolean sync, String reason) argument
H A DDropBoxManagerService.java280 FileUtils.sync(foutput);
H A DBatteryService.java746 FileUtils.sync(dumpStream);
/frameworks/base/core/java/android/os/
H A DFileUtils.java194 public static boolean sync(FileOutputStream stream) { method in class:FileUtils
197 stream.getFD().sync();
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES30.cpp4267 /* GLboolean glIsSync ( GLsync sync ) */
4270 (JNIEnv *_env, jobject _this, jlong sync) {
4273 (GLsync)sync
4278 /* void glDeleteSync ( GLsync sync ) */
4281 (JNIEnv *_env, jobject _this, jlong sync) {
4283 (GLsync)sync
4287 /* GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) */
4290 (JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) {
4293 (GLsync)sync,
4300 /* void glWaitSync ( GLsync sync, GLbitfiel
4269 android_glIsSync__J(JNIEnv *_env, jobject _this, jlong sync) argument
4280 android_glDeleteSync__J(JNIEnv *_env, jobject _this, jlong sync) argument
4289 android_glClientWaitSync__JIJ(JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) argument
4302 android_glWaitSync__JIJ(JNIEnv *_env, jobject _this, jlong sync, jint flags, jlong timeout) argument
4393 android_glGetSynciv__JII_3II_3II(JNIEnv *_env, jobject _this, jlong sync, jint pname, jint bufSize, jintArray length_ref, jint lengthOffset, jintArray values_ref, jint valuesOffset) argument
4459 android_glGetSynciv__JIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jlong sync, jint pname, jint bufSize, jobject length_buf, jobject values_buf) argument
[all...]
H A Dandroid_view_SurfaceControl.cpp312 static void nativeApplyTransaction(JNIEnv* env, jclass clazz, jlong transactionObj, jboolean sync) { argument
314 transaction->apply(sync);
/frameworks/native/services/inputflinger/
H A DInputReader.cpp1195 ALOGD("Dropped input event while waiting for next input sync.");
1815 // out of sync with the initial state of the events in the evdev buffer.
2091 sync(rawEvent->when);
2107 void SwitchInputMapper::sync(nsecs_t when) { function in class:android::SwitchInputMapper
2781 sync(rawEvent->when);
2785 void CursorInputMapper::sync(nsecs_t when) { function in class:android::CursorInputMapper
3041 sync(rawEvent->when);
3045 void RotaryEncoderInputMapper::sync(nsecs_t when) { function in class:android::RotaryEncoderInputMapper
4300 sync(rawEvent->when);
4304 void TouchInputMapper::sync(nsecs_ function in class:android::TouchInputMapper
7061 void ExternalStylusInputMapper::sync(nsecs_t when) { function in class:android::ExternalStylusInputMapper
7375 void JoystickInputMapper::sync(nsecs_t when, bool force) { function in class:android::JoystickInputMapper
[all...]
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java101 /** Time (and number of instances) of file-system sync requests */
581 mcr, null /* sync write on this thread okay */);
777 FileUtils.sync(str);
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp409 sync();
/frameworks/rs/script_api/
H A Drs_graphics.spec222 If the source is specified, sync from memory space specified by source.
224 If the source is not specified, sync from its SCRIPT memory space to its HW
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMediaPlayer2Test.java1003 SyncParams sync = new SyncParams().allowDefaults();
1004 mPlayer.setSyncParams(sync);
1005 sync = mPlayer.getSyncParams();
1018 FLOAT_TOLERANCE + playbackRate * sync.getTolerance());
1079 // seek to previous sync or next sync.
1085 // seek to closest position or next sync.
1087 assertTrue("MediaPlayer2 did not seek to preivous sync position",
1091 // seek to closest position or previous sync.
1093 assertTrue("MediaPlayer2 did not seek to next sync positio
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp9 #include <sync/sync.h>
822 // predictor will sync up with the real vsync.
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h992 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
993 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
994 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
995 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
997 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1000 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
1001 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
1002 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1003 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1005 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenu
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp22 #include <sync/sync.h>
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDocumentsProviderTest.java616 fd.getFileDescriptor().sync();
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java1018 super("CreateWriteSyncFile", "Create, write, sync, and delete a file");
1031 FileUtils.sync(fos);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java2474 FileUtils.sync(fstream);
2924 FileUtils.sync(fos);
2927 FileUtils.sync(cos);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java2183 FileUtils.sync(fstr);
2590 FileUtils.sync(fstr);
2802 FileUtils.sync(fstr);
5110 public void writeRuntimePermissionsForUserLPr(int userId, boolean sync) { argument
5111 if (sync) {
/frameworks/av/services/audioflinger/
H A DThreads.h1355 virtual void sync(size_t *framesAvailable = NULL, bool *hasOverrun = NULL);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java3298 // This value is re-sync'd to the value of mStopped
8013 boolean sync) {
8014 if (sync) {
8024 int z, Bundle extras, boolean sync) {
8025 if (sync) {
8012 dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync) argument
8023 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
/frameworks/base/core/proto/android/providers/settings/
H A Dglobal.proto785 optional Sync sync = 116;

Completed in 2857 milliseconds

123456