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()
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 …]
Dandroid_media_AudioSystem.cpp772 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 …]
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.cpp230 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 …]
Dandroid_media_AudioDeviceAttributes.cpp37 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in createAudioDeviceAttributesFromNative() local
45 return jStatus; in createAudioDeviceAttributesFromNative()
Dandroid_media_MicrophoneInfo.cpp63 jint jStatus = (jint)AUDIO_JAVA_SUCCESS; in convertMicrophoneInfoFromNative() local
135 return jStatus; in convertMicrophoneInfoFromNative()
Dandroid_media_AudioTrack.cpp333 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/
Dandroid_media_MediaRecorder.cpp775 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 …]