Searched refs:getEffectId (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | PerformPrebakedVibratorStep.java | 60 prebaked.getEffectId()) + " on vibrator " in play() 64 VibrationEffect fallback = getVibration().getFallback(prebaked.getEffectId()); in play() 73 + VibrationEffect.effectIdToString(prebaked.getEffectId())); in play()
|
D | VibrationStats.java | 234 mVibratorEffectsUsed.put(prebaked.getEffectId(), true); in reportPerformEffect() 238 mVibratorEffectsUsed.put(prebaked.getEffectId(), false); in reportPerformEffect()
|
D | VibratorController.java | 226 mNativeWrapper.alwaysOnEnable(id, prebaked.getEffectId(), in updateAlwaysOn() 275 long duration = mNativeWrapper.perform(prebaked.getEffectId(), in on()
|
D | Vibration.java | 445 proto.write(PrebakedSegmentProto.EFFECT_ID, segment.getEffectId()); in dumpEffect()
|
D | VibratorManagerService.java | 1271 prebaked.getEffectId()); in fillVibrationFallbacks() 1273 vib.addFallback(prebaked.getEffectId(), fallback); in fillVibrationFallbacks()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 44 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/ |
D | VibrationEffectXmlSerializer.java | 134 prebaked.getEffectId(), flags); in serializePrebakedSegment() 137 "Unsupported predefined effect id %s", prebaked.getEffectId()); in serializePrebakedSegment()
|
D | SerializedPredefinedEffect.java | 54 composition.addEffect(VibrationEffect.get(mEffectName.getEffectId(), mShouldFallback)); in deserializeIntoComposition()
|
D | XmlConstants.java | 193 public int getEffectId() { in getEffectId() method in XmlConstants.PredefinedEffectName
|
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 61 public int getEffectId() { in getEffectId() method in PrebakedSegment
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 1405 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/ |
D | test-current.txt | 2707 method public int getEffectId();
|