Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationScalerTest.java144 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
149 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
154 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
160 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
171 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
177 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
183 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
190 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DPrebakedSegmentTest.java46 assertEquals(VibrationEffect.EFFECT_STRENGTH_MEDIUM, prebaked.getEffectStrength()); in testCreation()
89 assertEquals(VibrationEffect.EFFECT_STRENGTH_LIGHT, light.getEffectStrength()); in testApplyEffectStrength()
95 assertEquals(VibrationEffect.EFFECT_STRENGTH_STRONG, strong.getEffectStrength()); in testApplyEffectStrength()
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibratorController.java203 prebaked.getEffectStrength()); in updateAlwaysOn()
252 prebaked.getEffectStrength(), vibrationId); in on()
H A DVibration.java383 proto.write(PrebakedSegmentProto.EFFECT_STRENGTH, segment.getEffectStrength()); in dumpEffect()
/aosp12/frameworks/base/core/java/android/os/vibrator/
H A DPrebakedSegment.java56 public int getEffectStrength() { in getEffectStrength() method in PrebakedSegment
/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DVibrationEffectTest.java251 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthPrebaked()
266 ((PrebakedSegment) applied.getSegments().get(0)).getEffectStrength()); in testApplyEffectStrengthComposed()
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt1988 method public int getEffectStrength();
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt43455 Landroid/os/VibrationEffect$Prebaked;->getEffectStrength()I