Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/tests/vibrator/src/android/os/
DVibrationEffectTest.java77 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() local
88 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() local
100 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() local
111 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() local
122 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() local
134 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allZeroAmplitudes() local
145 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_sparsedZeroAmplitudes() local
157 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithDefaultAmplitude() local
168 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithZeroAmplitude() local
179 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_repeating() local
[all …]
DCombinedVibrationTest.java259 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local
267 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local
277 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java168 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local
179 CombinedVibration effect = CombinedVibration.startSequential() in vibrate_missingVibrators_ignoresVibration() local
194 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
211 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
230 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
252 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly() local
336 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
356 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationSteps_skipsZeroDurationSteps() local
376 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationAndAmplitude_skipsZeroDurationSteps() local
399 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingPatternWithZeroDurationSteps_repeatsEffectCorrectly() local
[all …]
DDeviceAdapterTest.java92 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local
107 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
151 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local
174 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValuesOnlyInRamps() local
204 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testMonoCombinedVibration_returnsSameVibrationWhenEffectsUnchanged() local
220 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testMonoCombinedVibration_mapsEffectsToAllVibrators() local
251 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStereoCombinedVibration_adaptMappedEffectsAndLeaveUnmappedOnesUnchanged() local
DVibratorManagerServiceTest.java386 CombinedVibration effect = CombinedVibration.createParallel( in createService_doNotCrashIfUsedBeforeSystemReady() local
560 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
581 CombinedVibration effect = CombinedVibration.startParallel() in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
608 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects() local
626 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNonPrebakedEffect_ignoresEffect() local
639 CombinedVibration effect = CombinedVibration.startSequential() in setAlwaysOnEffect_withNonSyncedEffect_ignoresEffect() local
771 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() local
1084 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingHigherImportanceVibration_ignoresEffect() local
1112 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect() local
1176 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect() local
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
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 …]
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java73 VibrationEffect effect = VibrationEffect.startComposition() in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() local
233 VibrationEffect effect = VibrationEffect.startComposition() in testPrimitives_allSucceed() local
276 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{123, 456, 789, 0}, in testWaveforms_allSucceed() local
300 VibrationEffect effect = VibrationEffect.get(entry.getValue()); in testPredefinedEffects_publicEffectsWithDefaultFallback_allSucceed() local
318 VibrationEffect effect = VibrationEffect.get(entry.getValue()); in testPredefinedEffects_hiddenEffects_onlySucceedsWithFlag() local
337 VibrationEffect effect = VibrationEffect.get(entry.getValue(), nonDefaultFallback); in testPredefinedEffects_allEffectsWithNonDefaultFallback_onlySucceedsWithFlag() local
356 private void assertPublicApisParserSucceeds(String xml, VibrationEffect effect) in assertPublicApisParserSucceeds()
408 private void assertHiddenApisParseVibrationEffectSucceeds(String xml, VibrationEffect effect) in assertHiddenApisParseVibrationEffectSucceeds()
414 private void assertPublicApisSerializerFails(VibrationEffect effect) { in assertPublicApisSerializerFails()
426 private void assertPublicApisSerializerSucceeds(VibrationEffect effect, in assertPublicApisSerializerSucceeds()
[all …]
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlSerializer.java77 VibrationEffect.Composed effect, @XmlConstants.Flags int flags) in serializePredefinedEffect()
81 "Unsupported repeating predefined effect %s", effect); in serializePredefinedEffect() local
83 "Unsupported multiple segments in predefined effect %s", effect); in serializePredefinedEffect() local
88 VibrationEffect.Composed effect) throws XmlSerializerException { in serializePrimitiveEffect()
91 "Unsupported repeating primitive composition %s", effect); in serializePrimitiveEffect() local
102 VibrationEffect.Composed effect) throws XmlSerializerException { in serializeWaveformEffect()
/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/av/services/audioflinger/
DDeviceEffectManager.cpp48 const sp<EffectHalInterface>& effect) { in addEffectToHal()
53 const sp<EffectHalInterface>& effect) { in removeEffectFromHal()
64 for (auto& effect : effectProxies.second) { in onCreateAudioPatch() local
76 for (auto& effect : effectProxies.second) { in onReleaseAudioPatch() local
89 for (auto& effect : effectProxies.second) { in onUpdateAudioPatch() local
108 sp<IAfDeviceEffectProxy> effect; in createEffect_l() local
194 sp<EffectHalInterface> *effect) { in createEffectHal()
220 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
DEffects.cpp1735 const sp<IAfEffectBase>& effect, in create()
1744 EffectHandle::EffectHandle(const sp<IAfEffectBase>& effect, in EffectHandle()
1849 sp<IAfEffectBase> effect = mEffect.promote(); in enable() local
1887 sp<IAfEffectBase> effect = mEffect.promote(); in disable() local
1929 sp<IAfEffectBase> effect = mEffect.promote(); in disconnect() local
1959 sp<IAfEffectBase> effect = mEffect.promote(); in getConfig() local
2026 sp<IAfEffectBase> effect = mEffect.promote(); in command() local
2325 status_t EffectChain::createEffect(sp<IAfEffectModule>& effect, in createEffect()
2343 status_t EffectChain::addEffect(const sp<IAfEffectModule>& effect) in addEffect()
2349 status_t EffectChain::addEffect_l(const sp<IAfEffectModule>& effect) in addEffect_l()
[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
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/base/services/core/java/com/android/server/notification/
DVibratorHelper.java127 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration() local
145 public VibrationEffect scale(VibrationEffect effect, float scale) { in scale()
154 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate()
173 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local
188 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration() local
197 public boolean areEffectComponentsSupported(VibrationEffect effect) { in areEffectComponentsSupported()
/frameworks/base/core/java/android/os/vibrator/persistence/
DVibrationXmlSerializer.java95 public static void serialize(@NonNull VibrationEffect effect, @NonNull Writer writer) in serialize()
108 public static void serialize(@NonNull VibrationEffect effect, @NonNull Writer writer, in serialize()
122 VibrationEffect effect, @Flags int flags) throws SerializationFailedException { in toSerializedVibration()
151 SerializationFailedException(VibrationEffect effect, Throwable cause) { in SerializationFailedException()
DParsedVibration.java49 public ParsedVibration(@NonNull VibrationEffect effect) { in ParsedVibration()
87 VibrationEffect effect = mEffects.get(i); in resolve() local
/frameworks/base/core/java/android/os/
DVibratorManager.java85 @Nullable CombinedVibration effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect()
103 public final void vibrate(@NonNull CombinedVibration effect) { in vibrate()
125 public final void vibrate(@NonNull CombinedVibration effect, in vibrate()
127 vibrate(Process.myUid(), mPackageName, effect, null, attributes); in vibrate() local
137 public abstract void vibrate(int uid, String opPkg, @NonNull CombinedVibration effect, in vibrate()
DCombinedVibration.java59 public static CombinedVibration createParallel(@NonNull VibrationEffect effect) { in createParallel()
181 VibrationEffect adaptToVibrator(int vibratorId, @NonNull VibrationEffect effect); in adaptToVibrator()
206 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator()
260 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext()
279 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext()
298 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext()
316 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext()
366 Mono(@NonNull VibrationEffect effect) { in Mono()
/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/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp190 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local
205 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local
216 sp<EffectDescriptor> effect = valueAt(i); in hasOrphansForSession() local
231 sp<EffectDescriptor> effect = valueAt(i); in hasOrphanEffectsForSessionAndType() local
245 sp<EffectDescriptor> effect = valueAt(i); in getOrphanEffectsForSession() local
257 sp<EffectDescriptor> effect = valueAt(i); in getIoForSession() local
299 const sp<EffectDescriptor>& effect = effectsToMove.valueAt(i); in moveEffects() local
312 const sp<EffectDescriptor>& effect = effectsToMove.valueAt(i); in moveEffects() local
324 sp<EffectDescriptor> effect = valueAt(i); in putOrphanEffectsForIo() local
/frameworks/av/media/libaudiohal/impl/
DEffectProxy.cpp40 namespace android::effect { namespace
73 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in destroy()
99 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in setOffloadParam()
159 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in close()
222 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in command()
230 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getState()
238 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in setParameter()
246 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getParameter()
314 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in dump()
/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.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.java59 CombinedVibration.Sequential effect) { in StartSequentialEffectStep()
66 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep()
87 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local
142 CombinedVibration effect) { in createEffectToVibratorMapping()
258 VibrationEffect effect = mono.getEffect(); in DeviceEffectMap() local
285 VibrationEffect effect = stereoEffects.valueAt(i); in DeviceEffectMap() local
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java362 VibrationEffect effect = VibrationEffect.createOneShot(123, 1); in testVibrationGetters_nonPatternBasedVibrationEffect_waveform() local
380 VibrationEffect effect = in testVibrationGetters_nonPatternBasedVibrationEffect_nonWaveform() local
403 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ -1); in testVibrationGetters_patternBasedVibrationEffect_nonRepeating() local
422 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ 0); in testVibrationGetters_patternBasedVibrationEffect_wholeRepeating() local
442 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ 2); in testVibrationGetters_patternBasedVibrationEffect_partialRepeating() local
494 VibrationEffect effect = in testVibrationGetters_setEffectOverridesSetPattern() local
540 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP); in testEqualityDependsOnVibration() 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()

12345678