Searched refs:gAudioAttributesClass (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioAttributes.cpp | 42 static jclass gAudioAttributesClass; variable 76 if (!env->IsInstanceOf(jAudioAttributes, gAudioAttributesClass)) { in nativeAudioAttributesFromJavaAudioAttributes() 116 const bool isSystemUsage = env->CallStaticBooleanMethod(gAudioAttributesClass, in nativeAudioAttributesToJavaAudioAttributes() 167 *jAudioAttributeArray = env->NewObjectArray(numAudioAttributes, gAudioAttributesClass, NULL); in getJavaArray() 177 gAudioAttributesClass = MakeGlobalRefOrDie(env, audioAttributesClass); in register_android_media_AudioAttributes() 179 GetStaticMethodIDOrDie(env, gAudioAttributesClass, "isSystemUsage", "(I)Z"); in register_android_media_AudioAttributes()
|
D | android_media_AudioSystem.cpp | 177 static jclass gAudioAttributesClass; variable 2280 jAudioAttributes = env->NewObject(gAudioAttributesClass, gAudioAttributesCstor); in nativeAudioMixToJavaAudioMixingRule() 2288 jAudioAttributes = env->NewObject(gAudioAttributesClass, gAudioAttributesCstor); in nativeAudioMixToJavaAudioMixingRule() 3735 gAudioAttributesClass = MakeGlobalRefOrDie(env, audioAttributesClass); in register_android_media_AudioSystem() 3736 gAudioAttributesCstor = GetMethodIDOrDie(env, gAudioAttributesClass, "<init>", "()V"); in register_android_media_AudioSystem() 3737 gAudioAttributesFields.mSource = GetFieldIDOrDie(env, gAudioAttributesClass, "mUsage", "I"); in register_android_media_AudioSystem() 3738 gAudioAttributesFields.mUsage = GetFieldIDOrDie(env, gAudioAttributesClass, "mSource", "I"); in register_android_media_AudioSystem()
|