Home
last modified time | relevance | path

Searched refs:getEffectId (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DPerformPrebakedVibratorStep.java60 prebaked.getEffectId()) + " on vibrator " in play()
64 VibrationEffect fallback = getVibration().getFallback(prebaked.getEffectId()); in play()
73 + VibrationEffect.effectIdToString(prebaked.getEffectId())); in play()
DVibrationStats.java234 mVibratorEffectsUsed.put(prebaked.getEffectId(), true); in reportPerformEffect()
238 mVibratorEffectsUsed.put(prebaked.getEffectId(), false); in reportPerformEffect()
DVibratorController.java226 mNativeWrapper.alwaysOnEnable(id, prebaked.getEffectId(), in updateAlwaysOn()
275 long duration = mNativeWrapper.perform(prebaked.getEffectId(), in on()
DVibration.java445 proto.write(PrebakedSegmentProto.EFFECT_ID, segment.getEffectId()); in dumpEffect()
DVibratorManagerService.java1271 prebaked.getEffectId()); in fillVibrationFallbacks()
1273 vib.addFallback(prebaked.getEffectId(), fallback); in fillVibrationFallbacks()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DPrebakedSegmentTest.java44 assertEquals(VibrationEffect.EFFECT_CLICK, prebaked.getEffectId()); in testCreation()
86 assertEquals(medium.getEffectId(), light.getEffectId()); in testApplyEffectStrength()
92 assertEquals(medium.getEffectId(), strong.getEffectId()); in testApplyEffectStrength()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlSerializer.java134 prebaked.getEffectId(), flags); in serializePrebakedSegment()
137 "Unsupported predefined effect id %s", prebaked.getEffectId()); in serializePrebakedSegment()
DSerializedPredefinedEffect.java54 composition.addEffect(VibrationEffect.get(mEffectName.getEffectId(), mShouldFallback)); in deserializeIntoComposition()
DXmlConstants.java193 public int getEffectId() { in getEffectId() method in XmlConstants.PredefinedEffectName
/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java61 public int getEffectId() { in getEffectId() method in PrebakedSegment
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java1405 assertEquals(VibrationEffect.EFFECT_CLICK, segment.getEffectId()); in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()
1440 assertEquals(VibrationEffect.EFFECT_CLICK, segment.getEffectId()); in performHapticFeedback_restrictedConstantsWithoutPermission_doesNotVibrate()
1471 ((PrebakedSegment) playedSegments.get(0)).getEffectId()); in performHapticFeedback_restrictedConstantsWithPermission_playsVibration()
1473 ((PrebakedSegment) playedSegments.get(1)).getEffectId()); in performHapticFeedback_restrictedConstantsWithPermission_playsVibration()
/frameworks/base/core/api/
Dtest-current.txt2707 method public int getEffectId();