Home
last modified time | relevance | path

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

12345

/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/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java137 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local
149 CombinedVibration effect = CombinedVibration.startSequential() in vibrate_missingVibrators_ignoresVibration() local
165 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
184 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
205 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
230 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{5, 5, 5}, amplitudes, 0); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local
265 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond() local
287 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
310 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() local
338 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately() local
[all …]
DDeviceVibrationEffectAdapterTest.java74 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local
89 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local
112 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local
139 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsSameAmplitudesAndZeroFreq() local
170 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues() local
DVibrationScalerTest.java139 PrebakedSegment effect = new PrebakedSegment(VibrationEffect.EFFECT_CLICK, in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() local
167 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() local
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp258 int Agc2Init(preproc_effect_t* effect) { in Agc2Init()
269 int AgcInit(preproc_effect_t* effect) { in AgcInit()
279 int Agc2Create(preproc_effect_t* effect) { in Agc2Create()
284 int AgcCreate(preproc_effect_t* effect) { in AgcCreate()
289 int Agc2GetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in Agc2GetParameter()
362 int AgcGetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in AgcGetParameter()
427 int Agc2SetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in Agc2SetParameter()
475 int AgcSetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in AgcSetParameter()
516 void Agc2Enable(preproc_effect_t* effect) { in Agc2Enable()
522 void AgcEnable(preproc_effect_t* effect) { in AgcEnable()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java71 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_1), context); in getRingtones_noPrebakedRingtones() local
79 VibrationEffect effect = VibrationEffect.get(Uri.parse(UNKNOWN_URI), context); in getRingtones_noPrebakedRingtoneForUri() local
87 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_2), context); in getRingtones_getPrebakedRingtone() local
214 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testResolvePrebaked() local
220 VibrationEffect effect = VibrationEffect.startComposition() in testResolveComposed() local
256 VibrationEffect effect = VibrationEffect.startComposition() in testApplyEffectStrengthComposed() local
289 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testScalePrebaked() local
300 VibrationEffect.Composed effect = in testScaleComposed() local
DCombinedVibrationTest.java179 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local
187 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local
197 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
/frameworks/base/core/java/android/os/
DVibratorManager.java84 @Nullable CombinedVibration effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect()
102 public final void vibrate(@NonNull CombinedVibration effect) { in vibrate()
124 public final void vibrate(@NonNull CombinedVibration effect, in vibrate()
126 vibrate(Process.myUid(), mPackageName, effect, null, attributes); in vibrate() local
136 public abstract void vibrate(int uid, String opPkg, @NonNull CombinedVibration effect, in vibrate()
DCombinedVibration.java57 public static CombinedVibration createParallel(@NonNull VibrationEffect effect) { in createParallel()
141 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator()
195 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext()
214 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext()
233 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext()
251 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext()
301 Mono(@NonNull VibrationEffect effect) { in Mono()
553 CombinedVibration effect = mEffects.get(i); in getDuration() local
/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.h564 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
568 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local
575 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local
584 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local
593 sp<AudioEffect> effect = mEffect.promote(); in binderDied() local
/frameworks/base/core/java/android/content/integrity/
DRule.java66 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule()
67 checkArgument(isValidEffect(effect), "Unknown effect: %d", effect); in Rule() local
133 private static String effectToString(int effect) { in effectToString()
144 private static boolean isValidEffect(int effect) { in isValidEffect()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DVibratorHelperTest.java98 private void assertRepeatingVibration(VibrationEffect effect) { in assertRepeatingVibration()
102 private void assertSingleVibration(VibrationEffect effect) { in assertSingleVibration()
106 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex()
/frameworks/av/services/audioflinger/
DDeviceEffectManager.cpp51 for (auto& effect : mDeviceEffects) { in onCreateAudioPatch() local
66 for (auto& effect : mDeviceEffects) { in onReleaseAudioPatch() local
81 sp<DeviceEffectProxy> effect; in createEffect_l() local
141 sp<EffectHalInterface> *effect) { in createEffectHal()
174 size_t AudioFlinger::DeviceEffectManager::removeEffect(const sp<DeviceEffectProxy>& effect) in removeEffect()
188 sp<DeviceEffectProxy> effect = effectBase->asDeviceEffectProxy(); in disconnectEffectHandle() local
DEffects.cpp1708 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectBase>& effect, in EffectHandle()
1753 sp<EffectBase> effect = mEffect.promote(); in enable() local
1791 sp<EffectBase> effect = mEffect.promote(); in disable() local
1833 sp<EffectBase> effect = mEffect.promote(); in disconnect() local
1904 sp<EffectBase> effect = mEffect.promote(); in command() local
2188 status_t AudioFlinger::EffectChain::createEffect_l(sp<EffectModule>& effect, in createEffect_l()
2207 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l()
2213 status_t AudioFlinger::EffectChain::addEffect_ll(const sp<EffectModule>& effect) in addEffect_ll()
2331 size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect, in removeEffect_l()
2405 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()
196 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in addEffectToHal()
200 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in removeEffectFromHal()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibration.java93 Vibration(IBinder token, int id, CombinedVibration effect, in Vibration()
136 public void addFallback(int effectId, VibrationEffect effect) { in addFallback()
164 VibrationEffect effect = ((CombinedVibration.Mono) combinedEffect).getEffect(); in transformCombinedEffect() local
226 DebugInfo(long startTimeDebug, long endTimeDebug, CombinedVibration effect, in DebugInfo()
292 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
300 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
317 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
324 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
334 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
DVibrationThread.java127 CombinedVibration effect = vib.getEffect(); in VibrationThread() local
307 VibrationEffect.Composed effect, int segmentIndex, long vibratorOffTimeout) { in nextVibrateStep()
332 private static CombinedVibration.Sequential toSequential(CombinedVibration effect) { in toSequential()
642 StartVibrateStep(CombinedVibration.Sequential effect) { in StartVibrateStep()
646 StartVibrateStep(long startTime, CombinedVibration.Sequential effect, int index) { in StartVibrateStep()
666 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local
718 CombinedVibration effect) { in createEffectToVibratorMapping()
868 public final VibrationEffect.Composed effect; field in VibrationThread.SingleVibratorStep
886 VibrationEffect.Composed effect, int index, long vibratorOffTimeout) { in SingleVibratorStep()
983 VibrationEffect.Composed effect, int index, long vibratorOffTimeout) { in PerformStep()
[all …]
DVibrationEffectAdapters.java61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply()
74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
DVibratorController.java391 private static native long performEffect(long nativePtr, long effect, long strength, in performEffect()
394 private static native long performComposedEffect(long nativePtr, PrimitiveSegment[] effect, in performComposedEffect()
397 private static native long performPwleEffect(long nativePtr, RampSegment[] effect, in performPwleEffect()
402 private static native void alwaysOnEnable(long nativePtr, long id, long effect, in alwaysOnEnable()
446 public long perform(long effect, long strength, long vibrationId) { in perform()
466 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable()
/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()
/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
209 sp<EffectDescriptor> effect = valueAt(i); in getIoForSession() local
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp51 bool isStaticCastValid(Effect effect) { in isStaticCastValid()
314 HalResult<void> AidlHalWrapper::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable()
323 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
349 for (const auto& effect : primitives) { in performComposedEffect() local
547 perform_fn<T> performFn, sp<I> handle, T effect, EffectStrength strength, in performInternal()
577 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
591 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
609 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
636 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectUpdateListener.java33 public void onEffectUpdated(Effect effect, Object info); in onEffectUpdated()

12345