Home
last modified time | relevance | path

Searched refs:nativeToJavaStatus (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioErrors.h38 static inline jint nativeToJavaStatus(status_t status) { in nativeToJavaStatus() function
Dandroid_media_AudioRecord.cpp387 return nativeToJavaStatus( in android_media_AudioRecord_start()
488 return nativeToJavaStatus(readSize); in interpretReadSizeError()
588 return nativeToJavaStatus( lpRecorder->setMarkerPosition(markerPos) ); in android_media_AudioRecord_set_marker_pos()
619 return nativeToJavaStatus( lpRecorder->setPositionUpdatePeriod(period) ); in android_media_AudioRecord_set_pos_update_period()
736 jint status = nativeToJavaStatus(lpRecorder->getTimestamp(&ts)); in android_media_AudioRecord_get_timestamp()
742 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); in android_media_AudioRecord_get_timestamp()
Dandroid_media_AudioTrack.cpp620 return nativeToJavaStatus(writeSize); in interpretWriteSizeError()
783 return nativeToJavaStatus(lpTrack->setSampleRate(sampleRateInHz)); in android_media_AudioTrack_set_playback_rate()
876 return nativeToJavaStatus( lpTrack->setMarkerPosition(markerPos) ); in android_media_AudioTrack_set_marker_pos()
904 return nativeToJavaStatus( lpTrack->setPositionUpdatePeriod(period) ); in android_media_AudioTrack_set_pos_update_period()
932 return nativeToJavaStatus( lpTrack->setPosition(position) ); in android_media_AudioTrack_set_position()
1007 return (jint) nativeToJavaStatus(status); in android_media_AudioTrack_get_timestamp()
1020 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()
1032 return nativeToJavaStatus( lpTrack->reload() ); in android_media_AudioTrack_reload()
1121 return nativeToJavaStatus( lpTrack->attachAuxEffect(effectId) ); in android_media_AudioTrack_attachAuxEffect()
Dandroid_media_AudioSystem.cpp1221 jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_listAudioPorts()
1325 jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_createAudioPatch()
1384 jint jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_releaseAudioPatch()
1451 jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_listAudioPatches()
1580 jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_setAudioPortConfig()
1746 jStatus = nativeToJavaStatus(status); in android_media_AudioSystem_registerPolicyMixes()
1761 return nativeToJavaStatus(AudioSystem::systemReady()); in android_media_AudioSystem_systemReady()