/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 | 277 int lStatus = AUDIOEFFECT_ERROR_NO_MEMORY; in android_media_AudioEffect_native_setup() local 307 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 329 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 354 lStatus = AudioEffectJni::translateNativeErrorToJava(lpAudioEffect->initCheck()); in android_media_AudioEffect_native_setup() 355 if (lStatus != AUDIOEFFECT_SUCCESS && lStatus != AUDIOEFFECT_ERROR_ALREADY_EXISTS) { in android_media_AudioEffect_native_setup() 356 ALOGE("AudioEffect initCheck failed %d", lStatus); in android_media_AudioEffect_native_setup() 363 lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setup() 418 return (jint)lStatus; in android_media_AudioEffect_native_setup() 505 jint lStatus = AUDIOEFFECT_ERROR_BAD_VALUE; in android_media_AudioEffect_native_setParameter() local 541 lStatus = lpAudioEffect->setParameter(p); in android_media_AudioEffect_native_setParameter() [all …]
|
D | android_media_Visualizer.cpp | 354 int lStatus = VISUALIZER_ERROR_NO_MEMORY; in android_media_visualizer_native_setup() local 380 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup() 395 lStatus = translateError(lpVisualizer->initCheck()); in android_media_visualizer_native_setup() 396 if (lStatus != VISUALIZER_SUCCESS && lStatus != VISUALIZER_ERROR_ALREADY_EXISTS) { in android_media_visualizer_native_setup() 397 ALOGE("Visualizer initCheck failed %d", lStatus); in android_media_visualizer_native_setup() 404 lStatus = VISUALIZER_ERROR_BAD_VALUE; in android_media_visualizer_native_setup() 431 return (jint) lStatus; in android_media_visualizer_native_setup()
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 80 status_t lStatus; in createEffect_l() local 82 lStatus = checkEffectCompatibility(descriptor); in createEffect_l() 83 if (lStatus != NO_ERROR) { in createEffect_l() 84 *status = lStatus; in createEffect_l() 99 lStatus = handle->initCheck(); in createEffect_l() 100 if (lStatus == NO_ERROR) { in createEffect_l() 101 lStatus = effect->addHandle(handle.get()); in createEffect_l() 102 if (lStatus == NO_ERROR) { in createEffect_l() 111 *status = lStatus; in createEffect_l()
|
D | AudioFlinger.cpp | 739 status_t lStatus; in createTrack() local 771 lStatus = BAD_VALUE; in createTrack() 778 lStatus = AudioSystem::getOutputForAttr(&localAttr, &output.outputId, sessionId, &streamType, in createTrack() 782 if (lStatus != NO_ERROR || output.outputId == AUDIO_IO_HANDLE_NONE) { in createTrack() 783 ALOGE("createTrack() getOutputForAttr() return error %d or invalid output handle", lStatus); in createTrack() 790 lStatus = BAD_VALUE; in createTrack() 797 lStatus = BAD_VALUE; in createTrack() 804 lStatus = BAD_VALUE; in createTrack() 813 lStatus = BAD_VALUE; in createTrack() 845 &lStatus, portId); in createTrack() [all …]
|
D | Threads.cpp | 1337 status_t lStatus; in createEffect_l() local 1343 lStatus = initCheck(); in createEffect_l() 1344 if (lStatus != NO_ERROR) { in createEffect_l() 1354 lStatus = checkEffectCompatibility_l(desc, sessionId); in createEffect_l() 1355 if (lStatus != NO_ERROR) { in createEffect_l() 1377 lStatus = chain->createEffect_l(effect, desc, effectId, sessionId, pinned); in createEffect_l() 1378 if (lStatus != NO_ERROR) { in createEffect_l() 1391 lStatus = handle->initCheck(); in createEffect_l() 1392 if (lStatus == OK) { in createEffect_l() 1393 lStatus = effect->addHandle(handle.get()); in createEffect_l() [all …]
|
D | Effects.cpp | 531 int lStatus; local 539 lStatus = init(); 540 if (lStatus < 0) { 541 mStatus = lStatus; 2091 status_t lStatus = effect->status(); in createEffect_l() local 2092 if (lStatus == NO_ERROR) { in createEffect_l() 2093 lStatus = addEffect_ll(effect); in createEffect_l() 2095 if (lStatus != NO_ERROR) { in createEffect_l() 2098 return lStatus; in createEffect_l()
|
/frameworks/av/media/libaudioclient/ |
D | ToneGenerator.cpp | 1070 status_t lStatus; in startTone() local 1098 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1099 if (lStatus != NO_ERROR) { in startTone() 1100 ALOGE("--- start wait for stop timed out, status %d", lStatus); in startTone() 1120 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1121 if (lStatus != NO_ERROR) { in startTone() 1122 ALOGE("--- Immediate start timed out, status %d", lStatus); in startTone() 1134 lStatus = mWaitCbkCond.waitRelative(mLock, seconds(3)); in startTone() 1135 if (lStatus == NO_ERROR) { in startTone() 1141 ALOGE("--- Delayed start timed out, status %d", lStatus); in startTone() [all …]
|
D | IAudioFlinger.cpp | 121 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack() local 122 if (lStatus != NO_ERROR) { in createTrack() 123 ALOGE("createTrack transaction error %d", lStatus); in createTrack() 156 status_t lStatus = remote()->transact(CREATE_RECORD, data, &reply); in createRecord() local 157 if (lStatus != NO_ERROR) { in createRecord() 158 ALOGE("createRecord transaction error %d", lStatus); in createRecord() 692 status_t lStatus = remote()->transact(CREATE_EFFECT, data, &reply); in createEffect() local 693 if (lStatus != NO_ERROR) { in createEffect() 694 ALOGE("createEffect error: %s", strerror(-lStatus)); in createEffect() 696 lStatus = reply.readInt32(); in createEffect() [all …]
|