/frameworks/base/media/jni/audioeffect/ |
D | android_media_StreamDefaultEffect.cpp | 45 status_t lStatus = NO_ERROR; in android_media_StreamDefaultEffect_native_setup() local 55 lStatus = NO_MEMORY; in android_media_StreamDefaultEffect_native_setup() 64 lStatus = NO_MEMORY; in android_media_StreamDefaultEffect_native_setup() 71 lStatus = BAD_VALUE; in android_media_StreamDefaultEffect_native_setup() 78 lStatus = BAD_VALUE; in android_media_StreamDefaultEffect_native_setup() 84 lStatus = AudioEffect::addStreamDefaultEffect(typeStr, in android_media_StreamDefaultEffect_native_setup() 90 if (lStatus != NO_ERROR) { in android_media_StreamDefaultEffect_native_setup() 115 return AudioEffectJni::translateNativeErrorToJava(lStatus); in android_media_StreamDefaultEffect_native_setup() 121 status_t lStatus = AudioEffect::removeStreamDefaultEffect(id); in android_media_StreamDefaultEffect_native_release() local 122 if (lStatus != NO_ERROR) { in android_media_StreamDefaultEffect_native_release() [all …]
|
D | android_media_SourceDefaultEffect.cpp | 45 status_t lStatus = NO_ERROR; in android_media_SourceDefaultEffect_native_setup() local 55 lStatus = NO_MEMORY; in android_media_SourceDefaultEffect_native_setup() 64 lStatus = NO_MEMORY; in android_media_SourceDefaultEffect_native_setup() 71 lStatus = BAD_VALUE; in android_media_SourceDefaultEffect_native_setup() 78 lStatus = BAD_VALUE; in android_media_SourceDefaultEffect_native_setup() 84 lStatus = AudioEffect::addSourceDefaultEffect(typeStr, in android_media_SourceDefaultEffect_native_setup() 90 if (lStatus != NO_ERROR) { in android_media_SourceDefaultEffect_native_setup() 115 return AudioEffectJni::translateNativeErrorToJava(lStatus); in android_media_SourceDefaultEffect_native_setup() 121 status_t lStatus = AudioEffect::removeSourceDefaultEffect(id); in android_media_SourceDefaultEffect_native_release() local 122 if (lStatus != NO_ERROR) { in android_media_SourceDefaultEffect_native_release() [all …]
|
D | android_media_AudioEffect.cpp | 285 int lStatus = AUDIOEFFECT_ERROR_NO_MEMORY; in android_media_AudioEffect_native_setup() local 315 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 337 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 365 lStatus = AudioEffectJni::translateNativeErrorToJava(lpAudioEffect->initCheck()); in android_media_AudioEffect_native_setup() 366 if (lStatus != AUDIOEFFECT_SUCCESS && lStatus != AUDIOEFFECT_ERROR_ALREADY_EXISTS) { in android_media_AudioEffect_native_setup() 367 ALOGE("AudioEffect initCheck failed %d", lStatus); in android_media_AudioEffect_native_setup() 374 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 439 return (jint)lStatus; in android_media_AudioEffect_native_setup() 537 jint lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setParameter() local 573 lStatus = lpAudioEffect->setParameter(p); in android_media_AudioEffect_native_setParameter() [all …]
|
D | android_media_Visualizer.cpp | 397 int lStatus = VISUALIZER_ERROR_NO_MEMORY; in android_media_visualizer_native_setup() local 423 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup() 440 lStatus = translateError(lpVisualizer->initCheck()); in android_media_visualizer_native_setup() 441 if (lStatus != VISUALIZER_SUCCESS && lStatus != VISUALIZER_ERROR_ALREADY_EXISTS) { in android_media_visualizer_native_setup() 442 ALOGE("Visualizer initCheck failed %d", lStatus); in android_media_visualizer_native_setup() 449 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup() 480 return (jint) lStatus; in android_media_visualizer_native_setup()
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 84 status_t lStatus; in createEffect_l() local 86 lStatus = checkEffectCompatibility(descriptor); in createEffect_l() 87 if (probe || lStatus != NO_ERROR) { in createEffect_l() 88 *status = lStatus; in createEffect_l() 105 lStatus = handle->initCheck(); in createEffect_l() 106 if (lStatus == NO_ERROR) { in createEffect_l() 107 lStatus = effect->addHandle(handle.get()); in createEffect_l() 108 if (lStatus == NO_ERROR) { in createEffect_l() 117 *status = lStatus; in createEffect_l()
|
D | AudioFlinger.cpp | 1062 status_t lStatus; in createTrack() local 1103 lStatus = BAD_VALUE; in createTrack() 1110 lStatus = AudioSystem::getOutputForAttr(&localAttr, &output.outputId, sessionId, &streamType, in createTrack() 1115 if (lStatus != NO_ERROR || output.outputId == AUDIO_IO_HANDLE_NONE) { in createTrack() 1116 ALOGE("createTrack() getOutputForAttr() return error %d or invalid output handle", lStatus); in createTrack() 1123 lStatus = BAD_VALUE; in createTrack() 1130 lStatus = BAD_VALUE; in createTrack() 1137 lStatus = BAD_VALUE; in createTrack() 1146 lStatus = BAD_VALUE; in createTrack() 1179 &lStatus, portId, input.audioTrackCallback, isSpatialized); in createTrack() [all …]
|
D | Threads.cpp | 1540 status_t lStatus; in createEffect_l() local 1546 lStatus = initCheck(); in createEffect_l() 1547 if (lStatus != NO_ERROR) { in createEffect_l() 1557 lStatus = checkEffectCompatibility_l(desc, sessionId); in createEffect_l() 1558 if (probe || lStatus != NO_ERROR) { in createEffect_l() 1580 lStatus = chain->createEffect_l(effect, desc, effectId, sessionId, pinned); in createEffect_l() 1581 if (lStatus != NO_ERROR) { in createEffect_l() 1604 lStatus = handle->initCheck(); in createEffect_l() 1605 if (lStatus == OK) { in createEffect_l() 1606 lStatus = effect->addHandle(handle.get()); in createEffect_l() [all …]
|
D | Effects.cpp | 578 int lStatus; local 586 lStatus = init(); 587 if (lStatus < 0) { 588 mStatus = lStatus; 2261 status_t lStatus = effect->status(); in createEffect_l() local 2262 if (lStatus == NO_ERROR) { in createEffect_l() 2263 lStatus = addEffect_ll(effect); in createEffect_l() 2265 if (lStatus != NO_ERROR) { in createEffect_l() 2268 return lStatus; in createEffect_l()
|
/frameworks/av/media/libaudioclient/ |
D | ToneGenerator.cpp | 1129 status_t lStatus; in startTone() local 1157 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1158 if (lStatus != NO_ERROR) { in startTone() 1159 ALOGE("--- start wait for stop timed out, status %d", lStatus); in startTone() 1179 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1180 if (lStatus != NO_ERROR) { in startTone() 1181 ALOGE("--- Immediate start timed out, status %d", lStatus); in startTone() 1193 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1194 if (lStatus == NO_ERROR) { in startTone() 1200 ALOGE("--- Delayed start timed out, status %d", lStatus); in startTone() [all …]
|