/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 | 729 sp<IEffect> effect; local 732 return effect; 760 effect = interface_cast<IEffect>(reply.readStrongBinder()); 767 return effect; 1333 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId, local 1338 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/ |
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; 42 EffectHalHidl::EffectHalHidl(const sp<IEffect>& effect, uint64_t effectId) argument 43 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true) {
|
H A D | EffectsFactoryHalHidl.cpp | 28 using ::android::hardware::audio::effect::V2_0::IEffect; 29 using ::android::hardware::audio::effect::V2_0::Result; 118 sp<EffectHalInterface> *effect) { 128 *effect = new EffectHalHidl(result, effectId); 116 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
|
H A D | EffectsFactoryHalLocal.cpp | 50 sp<EffectHalInterface> *effect) { 54 *effect = new EffectHalLocal(handle); 48 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
|
H A D | StreamHalHidl.cpp | 115 status_t StreamHalHidl::addEffect(sp<EffectHalInterface> effect) { argument 118 static_cast<EffectHalHidl*>(effect.get())->effectId())); 121 status_t StreamHalHidl::removeEffect(sp<EffectHalInterface> effect) { argument 124 static_cast<EffectHalHidl*>(effect.get())->effectId()));
|
H A D | StreamHalLocal.cpp | 81 status_t StreamHalLocal::addEffect(sp<EffectHalInterface> effect) { argument 82 LOG_ALWAYS_FATAL_IF(!effect->isLocal(), "Only local effects can be added for a local stream"); 84 static_cast<EffectHalLocal*>(effect.get())->handle()); 87 status_t StreamHalLocal::removeEffect(sp<EffectHalInterface> effect) { argument 88 LOG_ALWAYS_FATAL_IF(!effect->isLocal(), "Only local effects can be removed for a local stream"); 90 static_cast<EffectHalLocal*>(effect.get())->handle());
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 43 static list_elem_t *gCurEffect; // current effect in enumeration process 44 static uint32_t gCurEffectIdx; // current effect index in enumeration process 63 // To get and add the effect pointed by the passed node to the gSubEffectList 307 // so, findEffect will fail. Search for the effect in gSubEffectList. 314 // create effect in library 321 // add entry to effect list 358 // remove effect from effect list 381 // release effect in library 404 // Function to get the sub effect descriptor 847 sub_effect_entry_t *effect; local [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 | 79 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 114 // we define a minimum time during which a global effect is considered enabled. 507 // dump orphan effect chains 724 // check if an effect chain with the same session ID is present on another 751 // move effect chain to this output thread if an effect on same session was waiting 1682 // Check if one effect chain was awaiting for an AudioRecord to be created on this 2396 // If we still have effect chains, it means that a client still holds a handle 2397 // on at least one effect. We must either move the chain to an existing thread with the 2421 ALOGV("closeInput() found thread %d for effect sessio 2618 sp<EffectModule> effect = ec->mEffects[0]; local 3126 sp<EffectModule> effect = chain->getEffectFromId_l(0); local 3239 updateOrphanEffectChains(const sp<AudioFlinger::EffectModule>& effect) argument [all...] |
H A D | Effects.cpp | 37 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 78 // create effect engine from effect factory 139 // if inserted in first place, move effect control from previous owner to this handle 178 // if removed from first place, move effect control from this handle to next in line 186 // Prevent calls to process() and other functions on effect interface from now on. 187 // The effect engine will be released by the destructor when the last strong reference on 211 // unsafe method called when the effect parent thread has been destroyed 239 // clear auxiliary effect input buffer for next accumulation 284 // do 32 bit to 16 bit conversion for auxiliary effect inpu 1155 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument 1196 sp<EffectModule> effect = mEffect.promote(); local 1250 sp<EffectModule> effect = mEffect.promote(); local 1300 sp<EffectModule> effect = mEffect.promote(); local 1310 sp<EffectModule> effect = mEffect.promote(); local 1356 sp<EffectModule> effect = mEffect.promote(); local 1656 createEffect_l(sp<EffectModule>& effect, ThreadBase *thread, effect_descriptor_t *desc, int id, audio_session_t sessionId, bool pinned) argument 1676 addEffect_l(const sp<EffectModule>& effect) argument 1682 addEffect_ll(const sp<EffectModule>& effect) argument 1799 removeEffect_l(const sp<EffectModule>& effect, bool release) argument 1987 sp<EffectModule> effect = mEffects[i]; local 2017 sp<EffectModule> effect = getEffectIfEnabled(type); local 2036 sp<EffectModule> effect = desc->mEffect.promote(); local 2135 sp<EffectModule> effect = getEffectFromType_l(type); local 2139 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 154 wp<EffectChain> mChain; // parent effect chain 157 const effect_descriptor_t mDescriptor;// effect descriptor received from effect engin 221 wp<EffectModule> effect() const { return mEffect; } function in class:EffectHandle 223 sp<EffectModule> effect = mEffect.promote(); local [all...] |
H A D | Threads.cpp | 84 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 1082 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key); 1091 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key); 1105 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, argument 1110 checkSuspendOnEffectEnabled_l(effect, enabled, sessionId); 1113 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, argument 1118 // suspend all effects in AUDIO_SESSION_OUTPUT_MIX when enabling any effect on 1119 // another session. This gives the priority to well behaved effect control panels 1130 chain->checkSuspendOnEffectEnabled(effect, enabled); 1138 // No global effect session 1283 sp<EffectModule> effect; local 1378 sp<EffectModule> effect; local 1417 addEffect_l(const sp<EffectModule>& effect) argument 1461 removeEffect_l(const sp<EffectModule>& effect, bool release) argument 2907 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 1002 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); local 1003 if (effect == 0) { 1006 srcThread->removeEffect_l(effect); 1007 status = playbackThread->addEffect_l(effect); 1009 srcThread->addEffect_l(effect); 1012 // removeEffect_l() has stopped the effect if it was active so it must be restarted 1013 if (effect->state() == EffectModule::ACTIVE || 1014 effect->state() == EffectModule::STOPPING) { 1015 effect [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 42 // load automatic audio effect modules 112 EffectDesc *effect = effects[i]; local 113 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, 118 effect->mName, (int32_t)aliasSource); 122 for (size_t j = 0; j < effect->mParams.size(); j++) { 123 fx->setParameter(effect->mParams[j]); 126 effect->mName, (int32_t)aliasSource); 261 EffectDesc *effect = effects[i]; local 262 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, 0, 0, 0, 267 effect 585 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy local 677 EffectDesc *effect = loadEffect(node); local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 1000 final int effect = ALL_SUPPRESSED_EFFECTS[i]; 1001 if ((effects & effect) != 0) { 1003 sb.append(effectToString(effect)); 1005 effects &= ~effect; 1032 private static String effectToString(int effect) { argument 1033 switch (effect) { 1037 default: return "UNKNOWN_" + effect;
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 543 * This method may have the side-effect of causing the input device in 592 * This method may have the side-effect of causing the input device in 620 * This method may have the side-effect of causing the input device in 711 * This method may have the side-effect of causing the input device in question 1164 VibrationEffect effect, AudioAttributes attributes) { 1167 if (effect instanceof VibrationEffect.OneShot) { 1168 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) effect; 1171 } else if (effect instanceof VibrationEffect.Waveform) { 1172 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; 1163 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 | 854 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); local 855 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...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 163 * Paint flag that applies a synthetic bolding effect to drawn text. 166 * simulated bold effect when drawing a {@link Typeface} that is not 1121 * @param effect May be null. The patheffect to be installed in the paint 1122 * @return effect 1124 public PathEffect setPathEffect(PathEffect effect) { argument 1126 if (effect != null) { 1127 effectNative = effect.native_instance; 1130 mPathEffect = effect; 1131 return effect; 2276 * other characters in the cluster. In effect, suc 2829 nSetPathEffect(long paintPtr, long effect) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 43 * <p>To apply the audio effect to a specific AudioTrack or MediaPlayer instance, 48 * <p>Creating an AudioEffect object will create the corresponding effect engine in the audio 49 * framework if no instance of the same effect type exists in the specified audio session. 52 * control of the effect engine or not depending on the priority parameter. If priority is higher 53 * than the priority used by the current effect engine owner, the control will be transfered to the 55 * application will be notified of changes in effect engine state or control ownership by the 67 // effect type UUIDs are taken from hardware/libhardware/include/hardware/audio_effect.h 70 * The following UUIDs define effect types corresponding to standard audio 76 * UUID for environmental reverberation effect 81 * UUID for preset reverberation effect 969 onEnableStatusChange(AudioEffect effect, boolean enabled) argument 984 onControlStatusChange(AudioEffect effect, boolean controlGranted) argument 1000 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
H A D | BassBoost.java | 26 * Bass boost is an audio effect to boost or amplify low frequencies of the sound. It is comparable 52 * Bass boost effect strength. Parameter ID for 81 * how much the requesting application needs control of effect parameters. The normal priority 115 * Sets the strength of the bass boost effect. If the implementation does not support per mille 119 * @param strength strength of the effect. The valid range for strength strength is [0, 1000], 120 * where 0 per mille designates the mildest effect and 1000 per mille designates the strongest. 131 * Gets the current strength of the effect. 132 * @return the strength of the effect. The valid range for strength is [0, 1000], where 0 per 133 * mille designates the mildest effect and 1000 per mille the strongest 154 * @param effect th 159 onParameterChange(BassBoost effect, int status, int param, short value) argument 170 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |