/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() 97 jStatus = JNIAudioAttributeHelper::nativeToJava(env, &jAudioAttribute, attributes); in convertAudioVolumeGroupsFromNative() 98 if (jStatus != AUDIO_JAVA_SUCCESS) { in convertAudioVolumeGroupsFromNative() 110 return jStatus; in convertAudioVolumeGroupsFromNative() 130 jint jStatus; in android_media_AudioSystem_listAudioVolumeGroups() local 139 jStatus = convertAudioVolumeGroupsFromNative(env, &jGroup, group); in android_media_AudioSystem_listAudioVolumeGroups() 140 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_listAudioVolumeGroups() [all …]
|
D | android_media_AudioSystem.cpp | 680 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_setVolumeIndexForAttributes() local 681 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_setVolumeIndexForAttributes() 682 return jStatus; in android_media_AudioSystem_setVolumeIndexForAttributes() 696 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getVolumeIndexForAttributes() local 697 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getVolumeIndexForAttributes() 698 return jStatus; in android_media_AudioSystem_getVolumeIndexForAttributes() 715 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getMinVolumeIndexForAttributes() local 716 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getMinVolumeIndexForAttributes() 717 return jStatus; in android_media_AudioSystem_getMinVolumeIndexForAttributes() 734 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 | 278 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioRecord_setup() local 279 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_setup() 280 return jStatus; in android_media_AudioRecord_setup() 808 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_AudioRecord_get_active_microphones() local 813 jStatus = nativeToJavaStatus(status); in android_media_AudioRecord_get_active_microphones() 814 return jStatus; in android_media_AudioRecord_get_active_microphones() 819 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_AudioRecord_get_active_microphones() 820 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_get_active_microphones() 821 return jStatus; in android_media_AudioRecord_get_active_microphones() 826 return jStatus; in android_media_AudioRecord_get_active_microphones() [all …]
|
D | android_media_MicrophoneInfo.cpp | 51 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in convertMicrophoneInfoFromNative() local 63 jStatus = nativeToJavaStatus(BAD_VALUE); in convertMicrophoneInfoFromNative() 80 jStatus = nativeToJavaStatus(BAD_VALUE); in convertMicrophoneInfoFromNative() 97 jStatus = nativeToJavaStatus(BAD_VALUE); in convertMicrophoneInfoFromNative() 146 return jStatus; in convertMicrophoneInfoFromNative()
|
D | android_media_AudioDeviceAttributes.cpp | 32 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in createAudioDeviceAttributesFromNative() local 39 return jStatus; in createAudioDeviceAttributesFromNative()
|
D | android_media_AudioTrack.cpp | 339 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioTrack_setup() local 340 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioTrack_setup() 341 return jStatus; in android_media_AudioTrack_setup()
|
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 776 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_getActiveMicrophones() local 781 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_getActiveMicrophones() 782 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 787 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_MediaRecord_getActiveMicrophones() 788 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_MediaRecord_getActiveMicrophones() 789 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 794 return jStatus; in android_media_MediaRecord_getActiveMicrophones() 806 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_setPreferredMicrophoneDirection() local 810 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_setPreferredMicrophoneDirection() 813 return jStatus; in android_media_MediaRecord_setPreferredMicrophoneDirection() [all …]
|