Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java84 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() local
95 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() local
107 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() local
118 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() local
129 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() local
141 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allZeroAmplitudes() local
152 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_sparsedZeroAmplitudes() local
164 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithDefaultAmplitude() local
175 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithZeroAmplitude() local
186 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_repeating() local
[all …]
DCombinedVibrationTest.java262 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local
270 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local
280 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java157 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local
169 CombinedVibration effect = CombinedVibration.startSequential() in vibrate_missingVibrators_ignoresVibration() local
185 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
204 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
225 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
250 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{5, 5, 5}, amplitudes, 0); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local
292 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
319 VibrationEffect effect = VibrationEffect.startWaveform(targetAmplitude(1)) in vibrate_singleVibratorRepeatingPwle_generatesLargestPwles() local
350 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local
380 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
[all …]
DDeviceVibrationEffectAdapterTest.java91 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local
106 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local
129 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local
156 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local
187 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues() local
DVibratorManagerServiceTest.java352 CombinedVibration effect = CombinedVibration.createParallel( in createService_doNotCrashIfUsedBeforeSystemReady() local
526 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
547 CombinedVibration effect = CombinedVibration.startParallel() in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
574 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects() local
592 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNonPrebakedEffect_ignoresEffect() local
605 CombinedVibration effect = CombinedVibration.startSequential() in setAlwaysOnEffect_withNonSyncedEffect_ignoresEffect() local
689 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() local
990 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingHigherImportanceVibration_ignoresEffect() local
1017 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect() local
1082 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect() local
[all …]
/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/av/media/libeffects/preprocessing/
DPreProcessing.cpp260 int Agc2Init(preproc_effect_t* effect) { in Agc2Init()
268 int AgcInit(preproc_effect_t* effect) { in AgcInit()
278 int Agc2Create(preproc_effect_t* effect) { in Agc2Create()
283 int AgcCreate(preproc_effect_t* effect) { in AgcCreate()
288 int Agc2GetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in Agc2GetParameter()
356 int AgcGetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in AgcGetParameter()
421 int Agc2SetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in Agc2SetParameter()
470 int AgcSetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in AgcSetParameter()
511 void Agc2Enable(preproc_effect_t* effect) { in Agc2Enable()
517 void AgcEnable(preproc_effect_t* effect) { in AgcEnable()
[all …]
/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()
155 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator()
209 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext()
228 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext()
247 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext()
265 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext()
315 Mono(@NonNull VibrationEffect effect) { in Mono()
/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
39 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() local
47 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor() local
53 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); in Corner_constructor() local
59 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); in Discrete_constructor() local
/frameworks/av/media/libaudiohal/impl/
DEffectProxy.cpp40 namespace android::effect { namespace
72 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in destroy()
101 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in setOffloadParam()
135 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in close()
192 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in command()
200 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getState()
208 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in setParameter()
216 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getParameter()
279 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in dump()
DEffectHalAidl.cpp62 namespace effect { namespace
65 const std::shared_ptr<IEffect>& effect, in EffectHalAidl()
87 std::shared_ptr<IEffect> effect, in createAidlConversion()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h651 explicit EffectClient(const sp<AudioEffect>& effect) : mEffect(effect){} in EffectClient()
655 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local
662 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local
671 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local
678 sp<AudioEffect> effect = mEffect.promote(); in framesProcessed() local
688 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/av/services/audioflinger/
DDeviceEffectManager.cpp43 for (auto& effect : mDeviceEffects) { in onCreateAudioPatch() local
53 for (auto& effect : mDeviceEffects) { in onReleaseAudioPatch() local
69 sp<DeviceEffectProxy> effect; in createEffect_l() local
141 sp<EffectHalInterface> *effect) { in createEffectHal()
177 size_t AudioFlinger::DeviceEffectManager::removeEffect(const sp<DeviceEffectProxy>& effect) in removeEffect()
191 sp<DeviceEffectProxy> effect = effectBase->asDeviceEffectProxy(); in disconnectEffectHandle() local
DDeviceEffectManager.h48 const sp<EffectHalInterface>& effect) { in addEffectToHal()
52 const sp<EffectHalInterface>& effect) { in removeEffectFromHal()
82 sp<EffectHalInterface> *effect) override { in createEffectHal()
136 const sp<EffectHalInterface>& effect) { in addEffectToHal()
140 const sp<EffectHalInterface>& effect) { in removeEffectFromHal()
DEffects.cpp1753 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectBase>& effect, in EffectHandle()
1856 sp<EffectBase> effect = mEffect.promote(); in enable() local
1894 sp<EffectBase> effect = mEffect.promote(); in disable() local
1936 sp<EffectBase> effect = mEffect.promote(); in disconnect() local
1966 sp<EffectBase> effect = mEffect.promote(); in getConfig() local
2033 sp<EffectBase> effect = mEffect.promote(); in command() local
2325 status_t AudioFlinger::EffectChain::createEffect_l(sp<EffectModule>& effect, in createEffect_l()
2344 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l()
2350 status_t AudioFlinger::EffectChain::addEffect_ll(const sp<EffectModule>& effect) in addEffect_ll()
2508 size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect, in removeEffect_l()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DVibratorHelperTest.java110 private void assertRepeatingVibration(VibrationEffect effect) { in assertRepeatingVibration()
114 private void assertSingleVibration(VibrationEffect effect) { in assertSingleVibration()
118 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex()
/frameworks/base/services/core/java/com/android/server/vibrator/
DStartSequentialEffectStep.java60 CombinedVibration.Sequential effect) { in StartSequentialEffectStep()
67 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep()
88 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local
143 CombinedVibration effect) { in createEffectToVibratorMapping()
265 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local
283 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local
DVibrationEffectAdapters.java61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply()
74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
DHalVibration.java58 HalVibration(@NonNull IBinder token, CombinedVibration effect, @NonNull CallerInfo callerInfo) { in HalVibration()
99 public void addFallback(int effectId, VibrationEffect effect) { in addFallback()
127 VibrationEffect effect = ((CombinedVibration.Mono) combinedEffect).getEffect(); in transformCombinedEffect() local
DComposePrimitivesVibratorStep.java42 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePrimitivesVibratorStep()
98 private List<PrimitiveSegment> unrollPrimitiveSegments(VibrationEffect.Composed effect, in unrollPrimitiveSegments()
/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java124 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration() local
143 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate()
162 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local
177 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration() local
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
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()
DBassBoostTest.java192 public void setEffect(Object effect) { in setEffect()
202 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
205 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
208 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()

12345678