Home
last modified time | relevance | path

Searched refs:getEffectStrength (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationScalerTest.java156 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
161 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
165 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
170 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
181 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
186 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
190 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
195 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DPrebakedSegmentTest.java52 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation()
95 assertEquals(VibrationEffect.EFFECT_STRENGTH_LIGHT, light.getEffectStrength()); in testApplyEffectStrength()
101 assertEquals(VibrationEffect.EFFECT_STRENGTH_STRONG, strong.getEffectStrength()); in testApplyEffectStrength()
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibratorController.java219 prebaked.getEffectStrength()); in updateAlwaysOn()
268 prebaked.getEffectStrength(), vibrationId); in on()
H A DVibration.java369 proto.write(PrebakedSegmentProto.EFFECT_STRENGTH, segment.getEffectStrength()); in dumpEffect()
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DPrebakedSegment.java57 public int getEffectStrength() { in getEffectStrength() method in PrebakedSegment
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibrationEffectTest.java697 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthPrebaked()
712 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthComposed()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt2587 method public int getEffectStrength();
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt40132 Landroid/os/VibrationEffect$Prebaked;->getEffectStrength()I