Home
last modified time | relevance | path

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

12345678910>>...48

/aosp_15_r20/frameworks/base/core/tests/vibrator/src/android/os/
H A DVibrationEffectTest.java85 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() local
96 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() local
108 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() local
119 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() local
130 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() local
142 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allZeroAmplitudes() local
153 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_sparsedZeroAmplitudes() local
165 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithDefaultAmplitude() local
176 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithZeroAmplitude() local
187 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_repeating() local
[all …]
/aosp_15_r20/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
H A DVibrationThreadTest.java188 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local
199 CombinedVibration effect = CombinedVibration.startSequential() in vibrate_missingVibrators_ignoresVibration() local
214 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
231 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
250 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
275 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly() local
360 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
379 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationSteps_skipsZeroDurationSteps() local
399 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationAndAmplitude_skipsZeroDurationSteps() local
422 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingPatternWithZeroDurationSteps_repeatsEffectCorrectly() local
[all …]
H A DDeviceAdapterTest.java131 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local
149 VibrationEffect effect = VibrationEffect.createVendorEffect(vendorData); in testVendorEffect_returnsOriginalSegment() local
157 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local
179 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local
201 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local
225 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValuesOnlyInRamps() local
255 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testMonoCombinedVibration_returnsSameVibrationWhenEffectsUnchanged() local
271 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testMonoCombinedVibration_mapsEffectsToAllVibrators() local
307 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStereoCombinedVibration_adaptMappedEffectsAndLeaveUnmappedOnesUnchanged() local
337 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPwleSegment_withoutPwleV2Capability_returnsNull() local
[all …]
H A DVibratorManagerServiceTest.java407 CombinedVibration effect = CombinedVibration.createParallel( in createService_doNotCrashIfUsedBeforeSystemReady() local
581 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
602 CombinedVibration effect = CombinedVibration.startParallel() in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
629 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects() local
647 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNonPrebakedEffect_ignoresEffect() local
660 CombinedVibration effect = CombinedVibration.startSequential() in setAlwaysOnEffect_withNonSyncedEffect_ignoresEffect() local
792 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() local
1221 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingHigherImportanceVibration_ignoresEffect() local
1282 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect() local
1380 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect() local
[all …]
/aosp_15_r20/cts/tests/vibrator/src/android/os/cts/
H A DVibrationEffectTest.java169 VibrationEffect effect = in testOneShotEqualsWithDefaultAmplitude() local
186 VibrationEffect effect = VibrationEffect.get(id, fallback); in testCreatePrebaked() local
213 VibrationEffect effect = VibrationEffect.createWaveform(TEST_TIMINGS, TEST_AMPLITUDES, -1); in testCreateWaveform() local
282 VibrationEffect effect = VibrationEffect.createWaveform(TEST_TIMINGS, -1); in testCreateWaveformWithNoAmplitudes() local
307 VibrationEffect effect = VibrationEffect.createWaveform(TEST_TIMINGS, TEST_AMPLITUDES, -1); in testWaveformEquals() local
443 VibrationEffect effect = VibrationEffect.startComposition() in testComposed() local
467 VibrationEffect effect = VibrationEffect.startComposition() in testComposedEquals() local
493 VibrationEffect effect = VibrationEffect.startComposition() in testComposedRepeatingAreEqualsAreEquals() local
505 VibrationEffect effect = VibrationEffect.startComposition() in testComposedDifferentPrimitivesNotEquals() local
516 VibrationEffect effect = VibrationEffect.startComposition() in testComposedDifferentScaleNotEquals() local
[all …]
H A DCombinedVibrationTest.java232 CombinedVibration effect = CombinedVibration.createParallel( in testParallelMonoCombinationDuration() local
239 CombinedVibration effect = CombinedVibration.startParallel() in testParallelStereoCombinationDuration() local
249 CombinedVibration effect = CombinedVibration.startParallel() in testParallelCombinationUnknownDuration() local
258 CombinedVibration effect = CombinedVibration.startParallel() in testParallelCombinationRepeatingDuration() local
268 CombinedVibration effect = CombinedVibration.startSequential() in testSequentialCombinationDuration() local
278 CombinedVibration effect = CombinedVibration.startSequential() in testSequentialCombinationUnknownDuration() local
287 CombinedVibration effect = CombinedVibration.startSequential() in testSequentialCombinationRepeatingDuration() local
/aosp_15_r20/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
H A DVibrationEffectXmlSerializationTest.java89 VibrationEffect effect = VibrationEffect.startComposition() in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() local
311 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testVibrationSelectTag_onlyParseDocumentSucceeds() local
327 VibrationEffect effect = VibrationEffect.startComposition() in testPrimitives_allSucceed() local
353 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{123, 456, 789, 0}, in testWaveforms_allSucceed() local
381 VibrationEffect effect = VibrationEffect.get(entry.getValue()); in testPredefinedEffects_publicEffectsWithDefaultFallback_allSucceed() local
402 VibrationEffect effect = VibrationEffect.get(entry.getValue()); in testPredefinedEffects_hiddenEffects_onlySucceedsWithFlag() local
424 VibrationEffect effect = VibrationEffect.get(entry.getValue(), nonDefaultFallback); in testPredefinedEffects_allEffectsWithNonDefaultFallback_onlySucceedsWithFlag() local
444 VibrationEffect effect = new VibrationEffect.WaveformEnvelopeBuilder() in testWaveformEnvelopeEffect_allSucceed() local
469 VibrationEffect effect = new VibrationEffect.WaveformEnvelopeBuilder() in testWaveformEnvelopeEffectWithInitialFrequency_allSucceed() local
655 VibrationEffect effect = new VibrationEffect.WaveformEnvelopeBuilder() in testWaveformEnvelopeEffect_featureFlagDisabled_allFail() local
[all …]
/aosp_15_r20/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java164 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local
206 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local
232 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local
255 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_3GetEnabledAfterRelease() local
284 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_4InsertOnMediaPlayer() local
321 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_5AuxiliaryOnMediaPlayer() local
361 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_6AuxiliaryOnMediaPlayerFailure() local
408 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_7AuxiliaryOnAudioTrack() local
440 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_0SetEnabledGetEnabled() local
473 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_1SetEnabledAfterRelease() local
[all …]
/aosp_15_r20/out/soong/.intermediates/prebuilts/misc/common/androidx-media3/androidx.media3.media3-effect-nodeps/android_common_apex30/aar/
Dandroidx.media3.media3-effect-nodeps.jar ... androidx/ androidx/media3/ androidx/media3/effect/ androidx/media3/effect/AlphaScale.class ...
Dclasses.jar ... androidx/ androidx/media3/ androidx/media3/effect/ androidx/media3/effect/AlphaScale.class ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/misc/common/androidx-media3/androidx.media3.media3-effect-nodeps/android_common/aar/
Dandroidx.media3.media3-effect-nodeps.jar ... androidx/ androidx/media3/ androidx/media3/effect/ androidx/media3/effect/AlphaScale.class ...
Dclasses.jar ... androidx/ androidx/media3/ androidx/media3/effect/ androidx/media3/effect/AlphaScale.class ...
/aosp_15_r20/frameworks/av/media/libeffects/preprocessing/
H A 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 …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/vibrator/persistence/
H A DVibrationEffectXmlSerializer.java94 VibrationEffect.Composed effect, @XmlConstants.Flags int flags) in serializePredefinedEffect()
98 "Unsupported repeating predefined effect %s", effect); in serializePredefinedEffect() local
100 "Unsupported multiple segments in predefined effect %s", effect); in serializePredefinedEffect() local
105 VibrationEffect.VendorEffect effect) { in serializeVendorEffect()
110 VibrationEffect.Composed effect) throws XmlSerializerException { in serializePrimitiveEffect()
113 "Unsupported repeating primitive composition %s", effect); in serializePrimitiveEffect() local
124 VibrationEffect.Composed effect) throws XmlSerializerException { in serializeWaveformEnvelopeEffect()
129 "Unsupported repeating waveform envelope effect %s", effect); in serializeWaveformEnvelopeEffect() local
148 VibrationEffect.Composed effect) throws XmlSerializerException { in serializeBasicEnvelopeEffect()
152 "Unsupported repeating basic envelope effect %s", effect); in serializeBasicEnvelopeEffect() local
[all …]
/aosp_15_r20/frameworks/av/services/audioflinger/
H A DEffects.cpp1768 const sp<IAfEffectBase>& effect, in create()
1780 EffectHandle::EffectHandle(const sp<IAfEffectBase>& effect, in EffectHandle()
1887 sp<IAfEffectBase> effect = mEffect.promote(); in enable() local
1925 sp<IAfEffectBase> effect = mEffect.promote(); in disable() local
1967 sp<IAfEffectBase> effect = mEffect.promote(); in disconnect() local
2005 sp<IAfEffectBase> effect = mEffect.promote(); in getConfig() local
2072 sp<IAfEffectBase> effect = mEffect.promote(); in command() local
2369 status_t EffectChain::createEffect(sp<IAfEffectModule>& effect, in createEffect()
2387 status_t EffectChain::addEffect(const sp<IAfEffectModule>& effect) in addEffect()
2393 status_t EffectChain::addEffect_l(const sp<IAfEffectModule>& effect) in addEffect_l()
[all …]
H A DDeviceEffectManager.cpp48 const sp<EffectHalInterface>& effect) { in addEffectToHal()
53 const sp<EffectHalInterface>& effect) { in removeEffectFromHal()
64 for (auto& effect : effectProxies.second) { in onCreateAudioPatch() local
78 for (auto& effect : effectProxies.second) { in onReleaseAudioPatch() local
94 for (auto& effect : effectProxies.second) { in onUpdateAudioPatch() local
113 sp<IAfDeviceEffectProxy> effect; in createEffect_l() local
199 sp<EffectHalInterface> *effect) { in createEffectHal()
224 for (const auto& effect : iter.second) { in dump() local
231 size_t DeviceEffectManager::removeEffect(const sp<IAfDeviceEffectProxy>& effect) in removeEffect()
258 sp<IAfDeviceEffectProxy> effect = effectBase->asDeviceEffectProxy(); in disconnectEffectHandle() local
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.effect-V3-ndk-source/gen/android/hardware/audio/effect/
DRange.cpp20 namespace effect { namespace
235 namespace effect { namespace
292 namespace effect { namespace
349 namespace effect { namespace
406 namespace effect { namespace
463 namespace effect { namespace
520 namespace effect { namespace
577 namespace effect { namespace
634 namespace effect { namespace
691 namespace effect { namespace
[all …]
DDynamicsProcessing.cpp20 namespace effect { namespace
158 namespace effect { namespace
208 namespace effect { namespace
265 namespace effect { namespace
362 namespace effect { namespace
419 namespace effect { namespace
506 namespace effect { namespace
673 namespace effect { namespace
790 namespace effect { namespace
/aosp_15_r20/frameworks/av/media/libaudiohal/impl/
H A DEffectProxy.cpp41 namespace android::effect { namespace
75 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in destroy()
101 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in setOffloadParam()
161 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in close()
240 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in command()
248 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getState()
256 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in setParameter()
264 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getParameter()
332 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in dump()
/aosp_15_r20/hardware/interfaces/vibrator/1.3/example/
H A DVibrator.cpp67 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform()
73 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1()
80 Return<void> Vibrator::perform_1_2(V1_2::Effect effect, EffectStrength strength, in perform_1_2()
103 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3()
109 Return<void> Vibrator::perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform()
136 Return<void> Vibrator::perform(T effect, EffectStrength strength, perform_cb _hidl_cb) { in perform()
206 const std::string Vibrator::effectToName(Effect effect) { in effectToName()
210 uint32_t Vibrator::effectToMs(Effect effect, Status* status) { in effectToMs()
/aosp_15_r20/external/skia/tests/
H A DSkRuntimeEffectTest.cpp406 const SkRuntimeEffect* effect, in verify_2x2_surface_results()
612 TestEffect effect(r, grContext, graphite); in test_RuntimeEffect_Shaders() local
747 const SkRuntimeEffect* effect, in verify_draw_obeys_capabilities()
781 auto effect = SkRuntimeEffect::MakeForShader(SkString(R"( in test_RuntimeEffectObeysCapabilities() local
797 auto effect = SkRuntimeEffect::MakeForShader(SkString(R"( in test_RuntimeEffectObeysCapabilities() local
817 auto effect = SkRuntimeEffect::MakeForBlender(SkString(R"( in test_RuntimeEffectObeysCapabilities() local
829 auto effect = SkRuntimeEffect::MakeForBlender(SkString(R"( in test_RuntimeEffectObeysCapabilities() local
872 auto effect = SkRuntimeEffect::MakeForColorFilter(SkString(R"( in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
887 auto effect = SkRuntimeEffect::MakeForColorFilter(SkString(R"( in DEF_TEST() local
895 auto effect = SkRuntimeEffect::MakeForColorFilter(SkString(R"( in DEF_TEST() local
[all …]
/aosp_15_r20/frameworks/libs/systemui/msdllib/tests/src/com/google/android/msdl/domain/
DMSDLPlayerImplTest.kt55 val effect = composition?.composeIntoVibrationEffect() in <lambda>() constant
80 val effect = composition?.composeIntoVibrationEffect() in <lambda>() constant
99 val effect = composition?.fallbackEffect in <lambda>() constant
115 val effect = composition?.composeIntoVibrationEffect(scaleOverride) in <lambda>() constant
/aosp_15_r20/frameworks/base/libs/hwui/jni/
H A 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
/aosp_15_r20/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp195 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local
210 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local
221 sp<EffectDescriptor> effect = valueAt(i); in hasOrphansForSession() local
236 sp<EffectDescriptor> effect = valueAt(i); in getOrphanEffectsForSession() local
248 sp<EffectDescriptor> effect = valueAt(i); in getIoForSession() local
290 const sp<EffectDescriptor>& effect = effectsToMove.valueAt(i); in moveEffects() local
303 const sp<EffectDescriptor>& effect = effectsToMove.valueAt(i); in moveEffects() local
315 sp<EffectDescriptor> effect = valueAt(i); in putOrphanEffectsForIo() local
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/vibrator/
H A DStartSequentialEffectStep.java60 CombinedVibration.Sequential effect) { in StartSequentialEffectStep()
67 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep()
89 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local
145 CombinedVibration effect) { in createEffectToVibratorMapping()
236 private long startVibrating(@Nullable AbstractVibratorStep step, VibrationEffect effect, in startVibrating()
265 VibrationEffect effect = mono.getEffect(); in DeviceEffectMap() local
337 VibrationEffect effect = effects.valueAt(i); in calculateRequiredSyncCapabilities() local

12345678910>>...48