Home
last modified time | relevance | path

Searched refs:jStatus (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroups.cpp64 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 …]
Dandroid_media_AudioSystem.cpp680 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 …]
Dandroid_media_AudioProductStrategies.cpp75 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()
Dandroid_media_AudioRecord.cpp278 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 …]
Dandroid_media_MicrophoneInfo.cpp51 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()
Dandroid_media_AudioDeviceAttributes.cpp32 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in createAudioDeviceAttributesFromNative() local
39 return jStatus; in createAudioDeviceAttributesFromNative()
Dandroid_media_AudioTrack.cpp339 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/
Dandroid_media_MediaRecorder.cpp776 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 …]