/frameworks/av/include/media/ |
H A D | AudioEffect.h | 65 * NO_INIT effect library failed to initialize 74 * Returns an effect descriptor during effect 78 * index: index of the queried effect. 79 * descriptor: address where the effect descriptor should be returned. 84 * NO_INIT effect library failed to initialize 86 * INVALID_OPERATION effect list has changed since last execution of queryNumberEffects() 89 * *descriptor: updated with effect descriptor 95 * Returns the descriptor for the specified effect uuid. 98 * uuid: pointer to effect uui 437 EffectClient(AudioEffect *effect) argument 441 sp<AudioEffect> effect = mEffect.promote(); local 447 sp<AudioEffect> effect = mEffect.promote(); local 457 sp<AudioEffect> effect = mEffect.promote(); local 466 sp<AudioEffect> effect = mEffect.promote(); local [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | IAudioFlinger.cpp | 636 sp<IEffect> effect; local 639 return effect; 667 effect = interface_cast<IEffect>(reply.readStrongBinder()); 674 return effect; 1306 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId, local 1311 reply->writeStrongBinder(IInterface::asBinder(effect));
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioEffect.h | 65 * NO_INIT effect library failed to initialize 74 * Returns an effect descriptor during effect 78 * index: index of the queried effect. 79 * descriptor: address where the effect descriptor should be returned. 84 * NO_INIT effect library failed to initialize 86 * INVALID_OPERATION effect list has changed since last execution of queryNumberEffects() 89 * *descriptor: updated with effect descriptor 95 * Returns the descriptor for the specified effect uuid. 98 * uuid: pointer to effect uui 437 EffectClient(AudioEffect *effect) argument 441 sp<AudioEffect> effect = mEffect.promote(); local 447 sp<AudioEffect> effect = mEffect.promote(); local 457 sp<AudioEffect> effect = mEffect.promote(); local 466 sp<AudioEffect> effect = mEffect.promote(); local [all...] |
/frameworks/av/media/libaudiohal/2.0/ |
H A D | EffectHalHidl.cpp | 29 using ::android::hardware::audio::effect::V2_0::AudioBuffer; 30 using ::android::hardware::audio::effect::V2_0::EffectBufferAccess; 31 using ::android::hardware::audio::effect::V2_0::EffectConfigParameters; 32 using ::android::hardware::audio::effect::V2_0::MessageQueueFlagBits; 33 using ::android::hardware::audio::effect::V2_0::Result; 43 EffectHalHidl::EffectHalHidl(const sp<IEffect>& effect, uint64_t effectId) argument 44 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) {
|
H A D | EffectsFactoryHalHidl.cpp | 30 using ::android::hardware::audio::effect::V2_0::IEffect; 31 using ::android::hardware::audio::effect::V2_0::Result; 110 sp<EffectHalInterface> *effect) { 120 *effect = new EffectHalHidl(result, effectId); 108 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
|
H A D | StreamHalHidl.cpp | 132 status_t StreamHalHidl::addEffect(sp<EffectHalInterface> effect) { argument 135 static_cast<EffectHalHidl*>(effect.get())->effectId())); 138 status_t StreamHalHidl::removeEffect(sp<EffectHalInterface> effect) { argument 141 static_cast<EffectHalHidl*>(effect.get())->effectId()));
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | EffectHalHidl.cpp | 30 using ::android::hardware::audio::effect::V4_0::AudioBuffer; 31 using ::android::hardware::audio::effect::V4_0::EffectBufferAccess; 32 using ::android::hardware::audio::effect::V4_0::EffectConfigParameters; 33 using ::android::hardware::audio::effect::V4_0::MessageQueueFlagBits; 34 using ::android::hardware::audio::effect::V4_0::Result; 46 EffectHalHidl::EffectHalHidl(const sp<IEffect>& effect, uint64_t effectId) argument 47 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) {
|
H A D | EffectsFactoryHalHidl.cpp | 30 using ::android::hardware::audio::effect::V4_0::IEffect; 31 using ::android::hardware::audio::effect::V4_0::Result; 111 sp<EffectHalInterface> *effect) { 121 *effect = new EffectHalHidl(result, effectId); 109 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
|
H A D | StreamHalHidl.cpp | 143 status_t StreamHalHidl::addEffect(sp<EffectHalInterface> effect) { argument 146 static_cast<EffectHalHidl*>(effect.get())->effectId())); 149 status_t StreamHalHidl::removeEffect(sp<EffectHalInterface> effect) { argument 152 static_cast<EffectHalHidl*>(effect.get())->effectId()));
|
/frameworks/av/media/libeffects/config/src/ |
H A D | EffectsConfig.cpp | 155 /** Parse an effect from an xml element describing it. 156 * @return true and pushes the effect in effects on success, 159 Effect effect{}; 166 effect.name = name; 168 // Function to parse effect.library and effect.uuid from xml 169 auto parseImpl = [&libraries](const XMLElement& xmlImpl, EffectImpl& effect) { 174 ALOGE("effect must have a library name and a uuid: %s", dump(xmlImpl)); 184 effect.library = library; 186 if (!stringToUuid(uuid, &effect 242 auto* effect = findByName(effectName, effects); local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 38 static list_elem_t *gCurEffect; // current effect in enumeration process 39 static uint32_t gCurEffectIdx; // current effect index in enumeration process 287 // so, findEffect will fail. Search for the effect in gSubEffectList. 294 // create effect in library 301 // add entry to effect list 338 // remove effect from effect list 361 // release effect in library 384 // Function to get the sub effect descriptors of the effect whos 466 sub_effect_entry_t *effect; local [all...] |
H A D | EffectsXmlConfigLoader.cpp | 67 ALOGE("Could not find library in effect directories: %s", relativePath); 85 ALOGE("Invalid effect library, failed not find symbol '%s' in %s: %s", 204 /** true if the effect is usable (aka, existing lib, desc, right version, unique uuid) */ 206 /** Set if the effect lib was found*/ 212 LoadEffectResult loadEffect(const EffectImpl& effect, const std::string& name, argument 216 // Find the effect library 217 result.lib = findLibrary(effect.library->name.c_str(), libList); 219 ALOGE("Could not find library %s to load effect %s", 220 effect.library->name.c_str(), name.c_str()); 226 // Get the effect descripto [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 89 preproc_session_t *session; // session the effect is on 90 const preproc_ops_t *ops; // effect ops table 92 uint32_t type; // subtype of effect 109 uint32_t samplingRate; // sampling rate at effect process interface 176 // UUIDs for effect types have been generated from http://www.itu.int/ITU-T/asn1/uuid.html 269 int AgcInit (preproc_effect_t *effect) argument 272 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); 280 int AgcCreate(preproc_effect_t *effect) argument 282 webrtc::GainControl *agc = effect->session->apm->gain_control(); 288 effect 293 AgcGetParameter(preproc_effect_t *effect, void *pParam, uint32_t *pValueSize, void *pValue) argument 357 AgcSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 399 AgcEnable(preproc_effect_t *effect) argument 406 AgcDisable(preproc_effect_t *effect) argument 434 AecInit(preproc_effect_t *effect) argument 443 AecCreate(preproc_effect_t *effect) argument 456 AecGetParameter(preproc_effect_t *effect, void *pParam, uint32_t *pValueSize, void *pValue) argument 481 AecSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 501 AecEnable(preproc_effect_t *effect) argument 508 AecDisable(preproc_effect_t *effect) argument 515 AecSetDevice(preproc_effect_t *effect, uint32_t device) argument 559 NsInit(preproc_effect_t *effect) argument 582 NsCreate(preproc_effect_t *effect) argument 604 NsSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 636 NsEnable(preproc_effect_t *effect) argument 649 NsDisable(preproc_effect_t *effect) argument 691 Effect_SetState(preproc_effect_t *effect, uint32_t state) argument 768 Effect_Init(preproc_effect_t *effect, uint32_t procId) argument 781 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument 790 Effect_Release(preproc_effect_t *effect) argument 1211 preproc_effect_t * effect = (preproc_effect_t *)self; local 1402 preproc_effect_t * effect = (preproc_effect_t *) self; local 1760 preproc_effect_t * effect = (preproc_effect_t *) self; local 1775 preproc_effect_t * effect = (preproc_effect_t *)self; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 80 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 115 // we define a minimum time during which a global effect is considered enabled. 524 // dump orphan effect chains 739 // check if an effect chain with the same session ID is present on another 771 // move effect chain to this output thread if an effect on same session was waiting 1739 // Check if one effect chain was awaiting for an AudioRecord to be created on this 2499 // If we still have effect chains, it means that a client still holds a handle 2500 // on at least one effect. We must either move the chain to an existing thread with the 2524 ALOGV("closeInput() found thread %d for effect sessio 2723 sp<EffectModule> effect = ec->mEffects[0]; local 3237 sp<EffectModule> effect = chain->getEffectFromId_l(0); local 3355 updateOrphanEffectChains(const sp<AudioFlinger::EffectModule>& effect) argument [all...] |
H A D | Effects.cpp | 42 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 88 // create effect engine from effect factory 123 ALOGW("EffectModule %p destructor called with unreleased interface, effect %s", 152 // if inserted in first place, move effect control from previous owner to this handle 191 // if removed from first place, move effect control from this handle to next in line 199 // Prevent calls to process() and other functions on effect interface from now on. 200 // The effect engine will be released by the destructor when the last strong reference on 224 // unsafe method called when the effect parent thread has been destroyed 252 // clear auxiliary effect inpu 1464 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument 1505 sp<EffectModule> effect = mEffect.promote(); local 1559 sp<EffectModule> effect = mEffect.promote(); local 1609 sp<EffectModule> effect = mEffect.promote(); local 1618 sp<EffectModule> effect = mEffect.promote(); local 1682 sp<EffectModule> effect = mEffect.promote(); local 1979 createEffect_l(sp<EffectModule>& effect, ThreadBase *thread, effect_descriptor_t *desc, int id, audio_session_t sessionId, bool pinned) argument 1999 addEffect_l(const sp<EffectModule>& effect) argument 2005 addEffect_ll(const sp<EffectModule>& effect) argument 2128 removeEffect_l(const sp<EffectModule>& effect, bool release) argument 2301 sp<EffectModule> effect = mEffects[i]; local 2332 sp<EffectModule> effect = getEffectIfEnabled(type); local 2352 sp<EffectModule> effect = desc->mEffect.promote(); local 2462 sp<EffectModule> effect = getEffectFromType_l(type); local 2466 checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, bool enabled) argument [all...] |
H A D | Effects.h | 34 // The EffectModule class is a wrapper object controlling the effect engine implementation 35 // in the effect library. It prevents concurrent calls to process() and command() functions 37 // to all client applications using this effect and notifies applications of effect state, 39 // reset, enable, disable commands to effect engine and provide volume 41 // When controlling an auxiliary effect, the EffectModule also provides an input buffer used by 142 // Maximum time allocated to effect engines to complete the turn off sequence 153 wp<EffectChain> mChain; // parent effect chain 156 const effect_descriptor_t mDescriptor;// effect descriptor received from effect engin 228 wp<EffectModule> effect() const { return mEffect; } function in class:EffectHandle 230 sp<EffectModule> effect = mEffect.promote(); local [all...] |
H A D | Threads.cpp | 87 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 1074 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key); 1083 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key); 1097 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, argument 1102 checkSuspendOnEffectEnabled_l(effect, enabled, sessionId); 1105 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, argument 1110 // suspend all effects in AUDIO_SESSION_OUTPUT_MIX when enabling any effect on 1111 // another session. This gives the priority to well behaved effect control panels 1122 chain->checkSuspendOnEffectEnabled(effect, enabled); 1130 // No global effect session 1280 sp<EffectModule> effect; local 1375 sp<EffectModule> effect; local 1414 addEffect_l(const sp<EffectModule>& effect) argument 1459 removeEffect_l(const sp<EffectModule>& effect, bool release) argument 3097 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); local [all...] |
H A D | Tracks.cpp | 42 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 1055 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); local 1056 if (effect == 0) { 1059 srcThread->removeEffect_l(effect); 1060 status = playbackThread->addEffect_l(effect); 1062 srcThread->addEffect_l(effect); 1065 // removeEffect_l() has stopped the effect if it was active so it must be restarted 1066 if (effect->state() == EffectModule::ACTIVE || 1067 effect->state() == EffectModule::STOPPING) { 1068 effect [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 46 ALOGW("Failed to load XML effect configuration, fallback to .conf"); 47 // load automatic audio effect modules 120 EffectDesc *effect = effects[i]; local 121 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, 126 effect->mName, (int32_t)aliasSource); 130 for (size_t j = 0; j < effect->mParams.size(); j++) { 131 fx->setParameter(effect->mParams[j]); 134 effect->mName, (int32_t)aliasSource); 269 EffectDesc *effect = effects[i]; local 270 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect 594 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy local 686 EffectDesc *effect = loadEffect(node); local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 1224 * the more specific suppressed visual effect bits. Apps should migrate to targeting 1340 final int effect = ALL_SUPPRESSED_EFFECTS[i]; 1341 if ((effects & effect) == 0) { 1353 final int effect = SCREEN_OFF_SUPPRESSED_EFFECTS[i]; 1354 if ((effects & effect) != 0) { 1366 final int effect = SCREEN_ON_SUPPRESSED_EFFECTS[i]; 1367 if ((effects & effect) != 0) { 1390 final int effect = effects[i]; 1392 currentEffects |= effect; 1394 currentEffects &= ~effect; 1436 effectToString(int effect) argument [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 601 * This method may have the side-effect of causing the input device in 650 * This method may have the side-effect of causing the input device in 678 * This method may have the side-effect of causing the input device in 723 * This method may have the side-effect of causing the input device in question 1195 VibrationEffect effect, AudioAttributes attributes) { 1198 if (effect instanceof VibrationEffect.OneShot) { 1199 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) effect; 1202 } else if (effect instanceof VibrationEffect.Waveform) { 1203 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; 1194 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
|
/frameworks/base/core/java/android/os/ |
H A D | NullVibrator.java | 48 VibrationEffect effect, AudioAttributes attributes) { 47 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
|
H A D | SystemVibrator.java | 71 VibrationEffect effect, AudioAttributes attributes) { 77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken); 70 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 848 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); local 849 obj->setPathEffect(sk_ref_sp(effect));
|
H A D | PathEffect.cpp | 15 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); local 16 SkSafeUnref(effect); 23 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), local 25 return reinterpret_cast<jlong>(effect); 32 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), local 34 return reinterpret_cast<jlong>(effect); 46 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); local 47 return reinterpret_cast<jlong>(effect); 54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, local 56 return reinterpret_cast<jlong>(effect); 60 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); local 66 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); local [all...] |