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 184 (jstring) env->GetObjectField(jaa, javaAudioAttrFields.fieldFormattedTags); in android_media_SoundPool_native_setup() 189 paa->usage = (audio_usage_t) env->GetIntField(jaa, javaAudioAttrFields.fieldUsage); in android_media_SoundPool_native_setup() 191 (audio_content_type_t) env->GetIntField(jaa, javaAudioAttrFields.fieldContentType); in android_media_SoundPool_native_setup() 192 paa->flags = env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_SoundPool_native_setup() 342 javaAudioAttrFields.fieldUsage = env->GetFieldID(audioAttributesClassRef, "mUsage", "I"); in JNI_OnLoad() 343 javaAudioAttrFields.fieldContentType in JNI_OnLoad() 345 javaAudioAttrFields.fieldFlags = env->GetFieldID(audioAttributesClassRef, "mFlags", "I"); in JNI_OnLoad() 346 javaAudioAttrFields.fieldFormattedTags = in JNI_OnLoad() 349 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 | 63 static audio_attributes_fields_t javaAudioAttrFields; variable 301 (jstring) env->GetObjectField(jaa, javaAudioAttrFields.fieldFormattedTags); in android_media_AudioTrack_setup() 306 paa->usage = (audio_usage_t) env->GetIntField(jaa, javaAudioAttrFields.fieldUsage); in android_media_AudioTrack_setup() 308 (audio_content_type_t) env->GetIntField(jaa, javaAudioAttrFields.fieldContentType); in android_media_AudioTrack_setup() 309 paa->flags = env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_AudioTrack_setup() 1288 javaAudioAttrFields.fieldUsage = GetFieldIDOrDie(env, audioAttrClass, "mUsage", "I"); in register_android_media_AudioTrack() 1289 javaAudioAttrFields.fieldContentType = GetFieldIDOrDie(env, in register_android_media_AudioTrack() 1291 javaAudioAttrFields.fieldFlags = GetFieldIDOrDie(env, audioAttrClass, "mFlags", "I"); in register_android_media_AudioTrack() 1292 javaAudioAttrFields.fieldFormattedTags = GetFieldIDOrDie(env, in register_android_media_AudioTrack()
|