Home
last modified time | relevance | path

Searched defs:effect (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java166 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local
208 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local
234 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local
257 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_3GetEnabledAfterRelease() local
286 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_4InsertOnMediaPlayer() local
323 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_5AuxiliaryOnMediaPlayer() local
363 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_6AuxiliaryOnMediaPlayerFailure() local
410 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_7AuxiliaryOnAudioTrack() local
442 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_0SetEnabledGetEnabled() local
475 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_1SetEnabledAfterRelease() local
[all …]
/frameworks/base/libs/hwui/jni/
DPathEffect.cpp12 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local
20 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), in Compose_constructor() local
29 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), in Sum_constructor() local
43 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() local
51 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor() local
57 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); in Corner_constructor() local
63 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); in Discrete_constructor() local
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h583 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
587 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local
598 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local
613 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local
627 sp<AudioEffect> effect = mEffect.promote(); in binderDied() local
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp269 int AgcInit (preproc_effect_t *effect) in AgcInit()
280 int AgcCreate(preproc_effect_t *effect) in AgcCreate()
293 int AgcGetParameter(preproc_effect_t *effect, in AgcGetParameter()
357 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter()
399 void AgcEnable(preproc_effect_t *effect) in AgcEnable()
406 void AgcDisable(preproc_effect_t *effect) in AgcDisable()
434 int AecInit (preproc_effect_t *effect) in AecInit()
443 int AecCreate(preproc_effect_t *effect) in AecCreate()
456 int AecGetParameter(preproc_effect_t *effect, in AecGetParameter()
481 int AecSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AecSetParameter()
[all …]
/frameworks/av/services/audioflinger/
DDeviceEffectManager.cpp49 for (auto& effect : mDeviceEffects) { in onCreateAudioPatch() local
64 for (auto& effect : mDeviceEffects) { in onReleaseAudioPatch() local
79 sp<DeviceEffectProxy> effect; in createEffect_l() local
130 sp<EffectHalInterface> *effect) { in createEffectHal()
163 size_t AudioFlinger::DeviceEffectManager::removeEffect(const sp<DeviceEffectProxy>& effect) in removeEffect()
177 sp<DeviceEffectProxy> effect = effectBase->asDeviceEffectProxy(); in disconnectEffectHandle() local
DEffects.cpp1602 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectBase>& effect, in EffectHandle()
1643 sp<EffectBase> effect = mEffect.promote(); in enable() local
1681 sp<EffectBase> effect = mEffect.promote(); in disable() local
1722 sp<EffectBase> effect = mEffect.promote(); in disconnect() local
1790 sp<EffectBase> effect = mEffect.promote(); in command() local
2088 status_t AudioFlinger::EffectChain::createEffect_l(sp<EffectModule>& effect, in createEffect_l()
2107 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l()
2113 status_t AudioFlinger::EffectChain::addEffect_ll(const sp<EffectModule>& effect) in addEffect_ll()
2231 size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect, in removeEffect_l()
2305 for (const auto &effect : mEffects) { in hasVolumeControlEnabled_l() local
[all …]
DDeviceEffectManager.h49 sp<EffectHalInterface> effect) { in addEffectToHal()
53 sp<EffectHalInterface> effect) { in removeEffectFromHal()
152 sp<EffectHalInterface> *effect) override { in createEffectHal()
195 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in addEffectToHal()
199 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in removeEffectFromHal()
/frameworks/base/core/java/android/content/integrity/
DRule.java67 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule()
134 private static String effectToString(int effect) { in effectToString()
145 private static boolean isValidEffect(int effect) { in isValidEffect()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorServicePermissionTest.java53 final VibrationEffect effect = in testVibrate() local
58 mVibratorService.vibrate(Process.myUid(), null, effect, attrs, in testVibrate() local
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java73 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_1), context); in getRingtones_noPrebakedRingtones() local
81 VibrationEffect effect = VibrationEffect.get(Uri.parse(UNKNOWN_URI), context); in getRingtones_noPrebakedRingtoneForUri() local
89 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_2), context); in getRingtones_getPrebakedRingtone() local
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DBassBoostTest.java186 public void setEffect(Object effect) { in setEffect()
196 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
199 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
202 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
DVirtualizerTest.java183 public void setEffect(Object effect) { in setEffect()
193 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
196 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
DPresetReverbTest.java224 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
227 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
231 public void onParameterChange(PresetReverb effect, int status, int param, short value) { in onParameterChange()
/frameworks/base/core/java/android/os/
DIVibratorService.aidl33 boolean setAlwaysOnEffect(int uid, String opPkg, int alwaysOnId, in VibrationEffect effect, in setAlwaysOnEffect()
35 void vibrate(int uid, String opPkg, in VibrationEffect effect, in vibrate()
DSystemVibrator.java208 public boolean setAlwaysOnEffect(int uid, String opPkg, int alwaysOnId, VibrationEffect effect, in setAlwaysOnEffect()
224 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate()
DVibrator.java214 public boolean setAlwaysOnEffect(int alwaysOnId, @Nullable VibrationEffect effect, in setAlwaysOnEffect()
224 @Nullable VibrationEffect effect, @Nullable AudioAttributes attributes) { in setAlwaysOnEffect()
256 VibrationEffect effect = in vibrate() local
DNullVibrator.java52 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp123 EffectDesc *effect = effects[i]; in addInputEffects() local
272 EffectDesc *effect = effects[i]; in addOutputSessionEffects() local
380 EffectDesc *effect = new EffectDesc( in addSourceDefaultEffect() local
445 EffectDesc *effect = new EffectDesc( in addStreamDefaultEffect() local
795 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy in loadEffectConfig() local
887 EffectDesc *effect = loadEffect(node); in loadEffects() local
907 for (auto& effect : stream.effects) { in loadAudioEffectXmlConfig() local
919 for (auto& effect : deviceProcess.effects) { in loadAudioEffectXmlConfig() local
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectUpdateListener.java33 public void onEffectUpdated(Effect effect, Object info); in onEffectUpdated()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java186 static native long vibratorPerformEffect(long effect, long strength, Vibration vibration, in vibratorPerformEffect()
189 VibrationEffect.Composition.PrimitiveEffect[] effect, Vibration vibration); in vibratorPerformComposedEffect()
193 static native void vibratorAlwaysOnEnable(long id, long effect, long strength); in vibratorAlwaysOnEnable()
230 public VibrationEffect effect; field in VibratorService.Vibration
236 private Vibration(IBinder token, VibrationEffect effect, in Vibration()
306 VibrationInfo(long startTimeDebug, VibrationEffect effect, in VibrationInfo()
644 public boolean setAlwaysOnEffect(int uid, String opPkg, int alwaysOnId, VibrationEffect effect, in setAlwaysOnEffect()
695 private static boolean verifyVibrationEffect(VibrationEffect effect) { in verifyVibrationEffect()
740 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate()
829 private static boolean isRepeatingVibration(VibrationEffect effect) { in isRepeatingVibration()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DLoudnessEnhancer.java155 void onParameterChange(LoudnessEnhancer effect, int param, int value); in onParameterChange()
166 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
DBassBoost.java159 void onParameterChange(BassBoost effect, int status, int param, short value); in onParameterChange()
170 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
DPresetReverb.java175 void onParameterChange(PresetReverb effect, int status, int param, short value); in onParameterChange()
186 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp170 Effect effect{}; in parseEffect() local
180 auto parseImpl = [&libraries](const XMLElement& xmlImpl, EffectImpl& effect) { in parseEffect()
253 auto* effect = findByName(effectName, effects); in parseStream() local
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp185 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local
198 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local

123