Home
last modified time | relevance | path

Searched refs:translateError (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp117 static jint translateError(int code) { in translateError() function
397 lStatus = translateError(lpVisualizer->initCheck()); in android_media_visualizer_native_setup()
473 jint retVal = translateError(lpVisualizer->setEnabled(enabled)); in android_media_visualizer_native_setEnabled()
527 return translateError(lpVisualizer->setCaptureSize(size)); in android_media_visualizer_native_setCaptureSize()
548 return translateError(lpVisualizer->setScalingMode(mode)); in android_media_visualizer_native_setScalingMode()
568 return translateError(lpVisualizer->setMeasurementMode(mode)); in android_media_visualizer_native_setMeasurementMode()
603 jint status = translateError(lpVisualizer->getWaveForm((uint8_t *)nWaveform)); in android_media_visualizer_native_getWaveForm()
621 jint status = translateError(lpVisualizer->getFft((uint8_t *)nFft)); in android_media_visualizer_native_getFft()
636 jint status = translateError( in android_media_visualizer_native_getPeakRms()
671 return translateError(lpVisualizer->setCaptureCallBack(cbk, in android_media_setPeriodicCapture()
Dandroid_media_AudioEffect.cpp74 static jint translateError(int code) { in translateError() function
361 lStatus = translateError(lpAudioEffect->initCheck()); in android_media_AudioEffect_native_setup()
497 return (jint) translateError(lpAudioEffect->setEnabled(enabled)); in android_media_AudioEffect_native_setEnabled()
592 return (jint) translateError(lStatus); in android_media_AudioEffect_native_setParameter()
660 return (jint) translateError(lStatus); in android_media_AudioEffect_native_getParameter()
699 lStatus = translateError(lpAudioEffect->command((uint32_t)cmdCode, in android_media_AudioEffect_native_command()