/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | VibrationEffectTest.java | 84 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 …]
|
H A D | CombinedVibrationTest.java | 262 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
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibrationThreadTest.java | 157 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local 225 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local 292 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local 350 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local 380 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local 405 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() local 437 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately() local 559 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposed_runsVibration() local 580 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposedAndNoCapability_ignoresVibration() local 604 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorLargeComposition_splitsVibratorComposeCalls() local [all …]
|
H A D | DeviceVibrationEffectAdapterTest.java | 91 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
|
H A D | VibratorManagerServiceTest.java | 352 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 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 1118 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_withInputDevices_vibratesInputDevices() local 1212 CombinedVibration effect = CombinedVibration.startParallel() in vibrate_withMultipleVibratorsAndCapabilities_prepareAndTriggerCalled() local [all …]
|
H A D | VibrationScalerTest.java | 152 PrebakedSegment effect = new PrebakedSegment(VibrationEffect.EFFECT_CLICK, in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() local 177 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() local
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 505 AudioEffect effect = null; in test3_0SetParameterByteArrayByteArray() local 539 AudioEffect effect = null; in test3_1SetParameterIntInt() local 572 AudioEffect effect = null; in test3_2SetParameterIntShort() local 605 AudioEffect effect = null; in test3_3SetParameterIntByteArray() local 639 AudioEffect effect = null; in test3_4SetParameterIntArrayIntArray() local 676 AudioEffect effect = null; in test3_5SetParameterIntArrayShortArray() local 713 AudioEffect effect = null; in test3_6SetParameterIntArrayByteArray() local 749 AudioEffect effect = null; in test3_7SetParameterAfterRelease() local 783 AudioEffect effect = null; in test4_0GetParameterByteArrayByteArray() local 817 AudioEffect effect = null; in test4_1GetParameterIntIntArray() local [all …]
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | VibratorManager.java | 84 @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()
|
H A D | CombinedVibration.java | 57 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()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | PathEffect.cpp | 12 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
|
/aosp14/frameworks/base/core/java/android/content/integrity/ |
H A D | Rule.java | 66 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()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | VibratorHelperTest.java | 110 private void assertRepeatingVibration(VibrationEffect effect) { in assertRepeatingVibration() 114 private void assertSingleVibration(VibrationEffect effect) { in assertSingleVibration() 118 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | StartSequentialEffectStep.java | 60 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
|
H A D | HalVibration.java | 58 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
|
H A D | VibrationEffectAdapters.java | 61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply() 74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
|
H A D | ComposePrimitivesVibratorStep.java | 42 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePrimitivesVibratorStep() 98 private List<PrimitiveSegment> unrollPrimitiveSegments(VibrationEffect.Composed effect, in unrollPrimitiveSegments()
|
H A D | Vibration.java | 214 DebugInfo(Status status, VibrationStats stats, @Nullable CombinedVibration effect, in DebugInfo() 280 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect() 288 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect() 305 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect() 312 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect() 322 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
|
H A D | VibratorController.java | 402 private static native long performEffect(long nativePtr, long effect, long strength, in performEffect() 405 private static native long performComposedEffect(long nativePtr, PrimitiveSegment[] effect, in performComposedEffect() 408 private static native long performPwleEffect(long nativePtr, RampSegment[] effect, in performPwleEffect() 413 private static native void alwaysOnEnable(long nativePtr, long id, long effect, in alwaysOnEnable() 456 public long perform(long effect, long strength, long vibrationId) { in perform() 476 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable()
|
H A D | ComposePwleVibratorStep.java | 43 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePwleVibratorStep() 98 private List<RampSegment> unrollRampSegments(VibrationEffect.Composed effect, int startIndex, in unrollRampSegments()
|
H A D | SetAmplitudeVibratorStep.java | 43 VibratorController controller, VibrationEffect.Composed effect, int index, in SetAmplitudeVibratorStep() 173 private long getVibratorOnDuration(VibrationEffect.Composed effect, int startIndex) { in getVibratorOnDuration()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | VibratorHelper.java | 124 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
|
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | VirtualizerTest.java | 183 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()
|
H A D | BassBoostTest.java | 192 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()
|
H A D | PresetReverbTest.java | 224 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()
|
/aosp14/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | EffectUpdateListener.java | 33 public void onEffectUpdated(Effect effect, Object info); in onEffectUpdated()
|