/frameworks/base/core/jni/ |
D | android_media_AudioVolumeGroups.cpp | 64 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in convertAudioVolumeGroupsFromNative() local 79 jStatus = (jint)AUDIO_JAVA_ERROR; in convertAudioVolumeGroupsFromNative() 89 jStatus = JNIAudioAttributeHelper::getJavaArray(env, &jAudioAttributes, numAttributes); in convertAudioVolumeGroupsFromNative() 90 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in convertAudioVolumeGroupsFromNative() 102 jStatus = JNIAudioAttributeHelper::nativeToJava(env, &jAudioAttribute, attributes); in convertAudioVolumeGroupsFromNative() 103 if (jStatus != AUDIO_JAVA_SUCCESS) { in convertAudioVolumeGroupsFromNative() 115 return jStatus; in convertAudioVolumeGroupsFromNative() 135 jint jStatus; in android_media_AudioSystem_listAudioVolumeGroups() local 144 jStatus = convertAudioVolumeGroupsFromNative(env, &jGroup, group); in android_media_AudioSystem_listAudioVolumeGroups() 145 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_listAudioVolumeGroups() [all …]
|
D | android_media_AudioSystem.cpp | 772 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_setVolumeIndexForAttributes() local 773 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_setVolumeIndexForAttributes() 774 return jStatus; in android_media_AudioSystem_setVolumeIndexForAttributes() 789 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getVolumeIndexForAttributes() local 790 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getVolumeIndexForAttributes() 791 return jStatus; in android_media_AudioSystem_getVolumeIndexForAttributes() 809 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getMinVolumeIndexForAttributes() local 810 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getMinVolumeIndexForAttributes() 811 return jStatus; in android_media_AudioSystem_getMinVolumeIndexForAttributes() 828 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getMaxVolumeIndexForAttributes() local [all …]
|
D | android_media_AudioProductStrategies.cpp | 75 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in convertAudioProductStrategiesFromNative() local 116 jStatus = JNIAudioAttributeHelper::getJavaArray(env, &jAudioAttributes, numAttributes); in convertAudioProductStrategiesFromNative() 117 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in convertAudioProductStrategiesFromNative() 123 jStatus = JNIAudioAttributeHelper::nativeToJava(env, &jAudioAttribute, attributes); in convertAudioProductStrategiesFromNative() 124 if (jStatus != AUDIO_JAVA_SUCCESS) { in convertAudioProductStrategiesFromNative() 167 return jStatus; in convertAudioProductStrategiesFromNative() 188 jint jStatus; in android_media_AudioSystem_listAudioProductStrategies() local 197 jStatus = convertAudioProductStrategiesFromNative(env, &jStrategy, strategy); in android_media_AudioSystem_listAudioProductStrategies() 198 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_listAudioProductStrategies() 207 return jStatus; in android_media_AudioSystem_listAudioProductStrategies()
|
D | android_media_AudioRecord.cpp | 230 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioRecord_setup() local 231 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_setup() 232 return jStatus; in android_media_AudioRecord_setup() 714 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_AudioRecord_get_active_microphones() local 719 jStatus = nativeToJavaStatus(status); in android_media_AudioRecord_get_active_microphones() 720 return jStatus; in android_media_AudioRecord_get_active_microphones() 725 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_AudioRecord_get_active_microphones() 726 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_get_active_microphones() 727 return jStatus; in android_media_AudioRecord_get_active_microphones() 732 return jStatus; in android_media_AudioRecord_get_active_microphones() [all …]
|
D | android_media_AudioDeviceAttributes.cpp | 37 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in createAudioDeviceAttributesFromNative() local 45 return jStatus; in createAudioDeviceAttributesFromNative()
|
D | android_media_MicrophoneInfo.cpp | 63 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in convertMicrophoneInfoFromNative() local 135 return jStatus; in convertMicrophoneInfoFromNative()
|
D | android_media_AudioTrack.cpp | 333 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioTrack_setup() local 334 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioTrack_setup() 335 return jStatus; in android_media_AudioTrack_setup()
|
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 775 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_getActiveMicrophones() local 780 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_getActiveMicrophones() 781 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 786 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_MediaRecord_getActiveMicrophones() 787 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_MediaRecord_getActiveMicrophones() 788 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 793 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 805 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_setPreferredMicrophoneDirection() local 809 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_setPreferredMicrophoneDirection() 812 return jStatus; in android_media_MediaRecord_setPreferredMicrophoneDirection() [all …]
|