Home
last modified time | relevance | path

Searched refs:jStatus (Results 1 – 7 of 7) 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.cpp595 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_setVolumeIndexForAttributes() local
596 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_setVolumeIndexForAttributes()
597 return jStatus; in android_media_AudioSystem_setVolumeIndexForAttributes()
611 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getVolumeIndexForAttributes() local
612 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getVolumeIndexForAttributes()
613 return jStatus; in android_media_AudioSystem_getVolumeIndexForAttributes()
630 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getMinVolumeIndexForAttributes() local
631 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_getMinVolumeIndexForAttributes()
632 return jStatus; in android_media_AudioSystem_getMinVolumeIndexForAttributes()
649 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
103 jStatus = JNIAudioAttributeHelper::getJavaArray(env, &jAudioAttributes, numAttributes); in convertAudioProductStrategiesFromNative()
104 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in convertAudioProductStrategiesFromNative()
110 jStatus = JNIAudioAttributeHelper::nativeToJava(env, &jAudioAttribute, attributes); in convertAudioProductStrategiesFromNative()
111 if (jStatus != AUDIO_JAVA_SUCCESS) { in convertAudioProductStrategiesFromNative()
154 return jStatus; in convertAudioProductStrategiesFromNative()
175 jint jStatus; in android_media_AudioSystem_listAudioProductStrategies() local
184 jStatus = convertAudioProductStrategiesFromNative(env, &jStrategy, strategy); in android_media_AudioSystem_listAudioProductStrategies()
185 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioSystem_listAudioProductStrategies()
194 return jStatus; in android_media_AudioSystem_listAudioProductStrategies()
Dandroid_media_AudioRecord.cpp272 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioRecord_setup() local
273 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_setup()
274 return jStatus; in android_media_AudioRecord_setup()
803 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_AudioRecord_get_active_microphones() local
808 jStatus = nativeToJavaStatus(status); in android_media_AudioRecord_get_active_microphones()
809 return jStatus; in android_media_AudioRecord_get_active_microphones()
814 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_AudioRecord_get_active_microphones()
815 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_AudioRecord_get_active_microphones()
816 return jStatus; in android_media_AudioRecord_get_active_microphones()
821 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_AudioTrack.cpp299 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioTrack_setup() local
300 if (jStatus != (jint)AUDIO_JAVA_SUCCESS) { in android_media_AudioTrack_setup()
301 return jStatus; in android_media_AudioTrack_setup()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp742 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_getActiveMicrophones() local
747 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_getActiveMicrophones()
748 return jStatus; in android_media_MediaRecord_getActiveMicrophones()
753 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &activeMicrophones[i]); in android_media_MediaRecord_getActiveMicrophones()
754 if (jStatus != AUDIO_JAVA_SUCCESS) { in android_media_MediaRecord_getActiveMicrophones()
755 return jStatus; in android_media_MediaRecord_getActiveMicrophones()
760 return jStatus; in android_media_MediaRecord_getActiveMicrophones()
772 jint jStatus = AUDIO_JAVA_SUCCESS; in android_media_MediaRecord_setPreferredMicrophoneDirection() local
776 jStatus = nativeToJavaStatus(status); in android_media_MediaRecord_setPreferredMicrophoneDirection()
779 return jStatus; in android_media_MediaRecord_setPreferredMicrophoneDirection()
[all …]