Home
last modified time | relevance | path

Searched refs:getCurrentIntensity (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibrationScaler.java76 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in getExternalVibrationScale()
105 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale()
135 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale()
H A DVibrationSettings.java350 public int getCurrentIntensity(@VibrationAttributes.Usage int usageHint) { in getCurrentIntensity() method in VibrationSettings
402 if (getCurrentIntensity(usage) == Vibrator.VIBRATION_INTENSITY_OFF) { in shouldIgnoreVibration()
577 getCurrentIntensity(USAGE_ALARM)); in dumpProto()
581 getCurrentIntensity(USAGE_HARDWARE_FEEDBACK)); in dumpProto()
585 getCurrentIntensity(USAGE_TOUCH)); in dumpProto()
589 getCurrentIntensity(USAGE_MEDIA)); in dumpProto()
593 getCurrentIntensity(USAGE_NOTIFICATION)); in dumpProto()
597 getCurrentIntensity(USAGE_RINGTONE)); in dumpProto()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationSettingsTest.java717 mVibrationSettings.getCurrentIntensity(usage)); in getCurrentIntensity_returnsIntensityFromSettings()
726 mVibrationSettings.getCurrentIntensity(USAGE_RINGTONE)); in getCurrentIntensity_updateTriggeredAfterUserSwitched()
736 mVibrationSettings.getCurrentIntensity(USAGE_RINGTONE)); in getCurrentIntensity_updateTriggeredAfterUserSwitched()
743 assertEquals(VIBRATION_INTENSITY_OFF, mVibrationSettings.getCurrentIntensity(USAGE_TOUCH)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
746 mVibrationSettings.getCurrentIntensity(USAGE_HARDWARE_FEEDBACK)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
748 mVibrationSettings.getCurrentIntensity(USAGE_PHYSICAL_EMULATION)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
752 mVibrationSettings.getCurrentIntensity(USAGE_TOUCH)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
755 mVibrationSettings.getCurrentIntensity(USAGE_HARDWARE_FEEDBACK)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
757 mVibrationSettings.getCurrentIntensity(USAGE_PHYSICAL_EMULATION)); in getCurrentIntensity_noHardwareFeedbackValueUsesHapticFeedbackValue()
/aosp14/frameworks/base/services/
H A Dart-profile10375 HPLcom/android/server/vibrator/VibrationSettings;->getCurrentIntensity(I)I