Home
last modified time | relevance | path

Searched refs:lStatus (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp256 int lStatus = AUDIOEFFECT_ERROR_NO_MEMORY; in android_media_AudioEffect_native_setup() local
287 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup()
309 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup()
326 lStatus = translateError(lpAudioEffect->initCheck()); in android_media_AudioEffect_native_setup()
327 if (lStatus != AUDIOEFFECT_SUCCESS && lStatus != AUDIOEFFECT_ERROR_ALREADY_EXISTS) { in android_media_AudioEffect_native_setup()
328 ALOGE("AudioEffect initCheck failed %d", lStatus); in android_media_AudioEffect_native_setup()
335 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup()
422 return (jint)lStatus; in android_media_AudioEffect_native_setup()
521 jint lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setParameter() local
559 lStatus = lpAudioEffect->setParameter(p); in android_media_AudioEffect_native_setParameter()
[all …]
Dandroid_media_Visualizer.cpp342 int lStatus = VISUALIZER_ERROR_NO_MEMORY; in android_media_visualizer_native_setup() local
364 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup()
378 lStatus = translateError(lpVisualizer->initCheck()); in android_media_visualizer_native_setup()
379 if (lStatus != VISUALIZER_SUCCESS && lStatus != VISUALIZER_ERROR_ALREADY_EXISTS) { in android_media_visualizer_native_setup()
380 ALOGE("Visualizer initCheck failed %d", lStatus); in android_media_visualizer_native_setup()
387 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup()
417 return (jint) lStatus; in android_media_visualizer_native_setup()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp550 status_t lStatus; in createTrack() local
557 lStatus = BAD_VALUE; in createTrack()
564 lStatus = BAD_VALUE; in createTrack()
571 lStatus = BAD_VALUE; in createTrack()
578 lStatus = BAD_VALUE; in createTrack()
584 lStatus = BAD_VALUE; in createTrack()
593 lStatus = BAD_VALUE; in createTrack()
625 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); in createTrack()
626 LOG_ALWAYS_FATAL_IF((lStatus == NO_ERROR) && (track == 0)); in createTrack()
631 if (lStatus == NO_ERROR && effectThread != NULL) { in createTrack()
[all …]
DThreads.cpp899 status_t lStatus; in createEffect_l() local
905 lStatus = initCheck(); in createEffect_l()
906 if (lStatus != NO_ERROR) { in createEffect_l()
916 lStatus = BAD_VALUE; in createEffect_l()
925 lStatus = BAD_VALUE; in createEffect_l()
940 lStatus = BAD_VALUE; in createEffect_l()
949 lStatus = BAD_VALUE; in createEffect_l()
976 lStatus = AudioSystem::registerEffect(desc, mId, chain->strategy(), sessionId, id); in createEffect_l()
977 if (lStatus != NO_ERROR) { in createEffect_l()
983 lStatus = effect->status(); in createEffect_l()
[all …]
DEffects.cpp75 int lStatus; in EffectModule() local
83 lStatus = init(); in EffectModule()
84 if (lStatus < 0) { in EffectModule()
85 mStatus = lStatus; in EffectModule()
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp134 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack() local
135 if (lStatus != NO_ERROR) { in createTrack()
136 ALOGE("createTrack error: %s", strerror(-lStatus)); in createTrack()
150 lStatus = reply.readInt32(); in createTrack()
152 if (lStatus == NO_ERROR) { in createTrack()
155 lStatus = UNKNOWN_ERROR; in createTrack()
159 ALOGE("createTrack returned an IAudioTrack but with status %d", lStatus); in createTrack()
165 *status = lStatus; in createTrack()
204 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply); in openRecord() local
205 if (lStatus != NO_ERROR) { in openRecord()
[all …]
DToneGenerator.cpp878 status_t lStatus; in startTone() local
906 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone()
907 if (lStatus != NO_ERROR) { in startTone()
908 ALOGE("--- start wait for stop timed out, status %d", lStatus); in startTone()
928 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone()
929 if (lStatus != NO_ERROR) { in startTone()
930 ALOGE("--- Immediate start timed out, status %d", lStatus); in startTone()
942 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone()
943 if (lStatus == NO_ERROR) { in startTone()
949 ALOGE("--- Delayed start timed out, status %d", lStatus); in startTone()
[all …]