Home
last modified time | relevance | path

Searched refs:jAudioDeviceAttributes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioDeviceAttributes.cpp35 jint createAudioDeviceAttributesFromNative(JNIEnv *env, jobject *jAudioDeviceAttributes, in createAudioDeviceAttributesFromNative() argument
41 *jAudioDeviceAttributes = in createAudioDeviceAttributesFromNative()
49 const jobject jAudioDeviceAttributes) { in createAudioDeviceTypeAddrFromJava() argument
50 devTypeAddr->mType = (audio_devices_t)env->GetIntField(jAudioDeviceAttributes, in createAudioDeviceTypeAddrFromJava()
53 jstring jAddress = (jstring)env->GetObjectField(jAudioDeviceAttributes, in createAudioDeviceTypeAddrFromJava()
Dandroid_media_AudioDeviceAttributes.h29 extern jint createAudioDeviceAttributesFromNative(JNIEnv *env, jobject *jAudioDeviceAttributes,
33 const jobject jAudioDeviceAttributes);
Dandroid_media_AudioSystem.cpp2895 jobject jAudioDeviceAttributes = NULL; in android_media_AudioSystem_getDevicesForRoleAndStrategy() local
2896 jint jStatus = createAudioDeviceAttributesFromNative(env, &jAudioDeviceAttributes, &device); in android_media_AudioSystem_getDevicesForRoleAndStrategy()
2900 env->CallBooleanMethod(jDevices, gListMethods.add, jAudioDeviceAttributes); in android_media_AudioSystem_getDevicesForRoleAndStrategy()
2901 env->DeleteLocalRef(jAudioDeviceAttributes); in android_media_AudioSystem_getDevicesForRoleAndStrategy()
2975 jobject jAudioDeviceAttributes = NULL; in android_media_AudioSystem_getDevicesForRoleAndCapturePreset() local
2976 jint jStatus = createAudioDeviceAttributesFromNative(env, &jAudioDeviceAttributes, &device); in android_media_AudioSystem_getDevicesForRoleAndCapturePreset()
2980 env->CallBooleanMethod(jDevices, gListMethods.add, jAudioDeviceAttributes); in android_media_AudioSystem_getDevicesForRoleAndCapturePreset()
2981 env->DeleteLocalRef(jAudioDeviceAttributes); in android_media_AudioSystem_getDevicesForRoleAndCapturePreset()
3017 jobject jAudioDeviceAttributes = NULL; in android_media_AudioSystem_getDevicesForAttributes() local
3019 jStatus = createAudioDeviceAttributesFromNative(env, &jAudioDeviceAttributes, &device); in android_media_AudioSystem_getDevicesForAttributes()
[all …]