Searched refs:javaAudioAttrFields (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 45 static audio_attributes_fields_t javaAudioAttrFields; variable 193 (jstring) env->GetObjectField(jaa, javaAudioAttrFields.fieldFormattedTags); in android_media_SoundPool_native_setup() 198 paa->usage = (audio_usage_t) env->GetIntField(jaa, javaAudioAttrFields.fieldUsage); in android_media_SoundPool_native_setup() 200 (audio_content_type_t) env->GetIntField(jaa, javaAudioAttrFields.fieldContentType); in android_media_SoundPool_native_setup() 201 paa->flags = env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_SoundPool_native_setup() 355 javaAudioAttrFields.fieldUsage = env->GetFieldID(audioAttributesClassRef, "mUsage", "I"); in JNI_OnLoad() 356 javaAudioAttrFields.fieldContentType in JNI_OnLoad() 358 javaAudioAttrFields.fieldFlags = env->GetFieldID(audioAttributesClassRef, "mFlags", "I"); in JNI_OnLoad() 359 javaAudioAttrFields.fieldFormattedTags = in JNI_OnLoad() 362 if (javaAudioAttrFields.fieldUsage == NULL || javaAudioAttrFields.fieldContentType == NULL in JNI_OnLoad() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 55 static audio_attributes_fields_t javaAudioAttrFields; variable 271 (jstring) env->GetObjectField(jaa, javaAudioAttrFields.fieldFormattedTags); in android_media_AudioRecord_setup() 276 paa->source = (audio_source_t) env->GetIntField(jaa, javaAudioAttrFields.fieldRecSource); in android_media_AudioRecord_setup() 277 paa->flags = (audio_flags_mask_t)env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_AudioRecord_setup() 828 javaAudioAttrFields.fieldRecSource = GetFieldIDOrDie(env, audioAttrClass, "mSource", "I"); in register_android_media_AudioRecord() 829 javaAudioAttrFields.fieldFlags = GetFieldIDOrDie(env, audioAttrClass, "mFlags", "I"); in register_android_media_AudioRecord() 830 javaAudioAttrFields.fieldFormattedTags = GetFieldIDOrDie(env, in register_android_media_AudioRecord()
|
D | android_media_AudioTrack.cpp | 66 static audio_attributes_fields_t javaAudioAttrFields; variable 305 (jstring) env->GetObjectField(jaa, javaAudioAttrFields.fieldFormattedTags); in android_media_AudioTrack_setup() 310 paa->usage = (audio_usage_t) env->GetIntField(jaa, javaAudioAttrFields.fieldUsage); in android_media_AudioTrack_setup() 312 (audio_content_type_t) env->GetIntField(jaa, javaAudioAttrFields.fieldContentType); in android_media_AudioTrack_setup() 313 paa->flags = env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_AudioTrack_setup() 1355 javaAudioAttrFields.fieldUsage = GetFieldIDOrDie(env, audioAttrClass, "mUsage", "I"); in register_android_media_AudioTrack() 1356 javaAudioAttrFields.fieldContentType = GetFieldIDOrDie(env, in register_android_media_AudioTrack() 1358 javaAudioAttrFields.fieldFlags = GetFieldIDOrDie(env, audioAttrClass, "mFlags", "I"); in register_android_media_AudioTrack() 1359 javaAudioAttrFields.fieldFormattedTags = GetFieldIDOrDie(env, in register_android_media_AudioTrack()
|