Lines Matching refs:gFields
51 static fields_t gFields; variable
125 sp<JMediaSync> old = (JMediaSync *)env->GetLongField(thiz, gFields.context); in setMediaSync()
133 env->SetLongField(thiz, gFields.context, (jlong)sync.get()); in setMediaSync()
139 return (JMediaSync *)env->GetLongField(thiz, gFields.context); in getMediaSync()
291 env->SetLongField(timestamp, gFields.mediaTimestampMediaTimeUsID, in android_media_MediaSync_native_getTimestamp()
293 env->SetLongField(timestamp, gFields.mediaTimestampNanoTimeID, in android_media_MediaSync_native_getTimestamp()
295 env->SetFloatField(timestamp, gFields.mediaTimestampClockRateID, in android_media_MediaSync_native_getTimestamp()
485 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J"); in android_media_MediaSync_native_init()
486 CHECK(gFields.context != NULL); in android_media_MediaSync_native_init()
491 gFields.mediaTimestampMediaTimeUsID = in android_media_MediaSync_native_init()
493 CHECK(gFields.mediaTimestampMediaTimeUsID != NULL); in android_media_MediaSync_native_init()
495 gFields.mediaTimestampNanoTimeID = in android_media_MediaSync_native_init()
497 CHECK(gFields.mediaTimestampNanoTimeID != NULL); in android_media_MediaSync_native_init()
499 gFields.mediaTimestampClockRateID = in android_media_MediaSync_native_init()
501 CHECK(gFields.mediaTimestampClockRateID != NULL); in android_media_MediaSync_native_init()