Home
last modified time | relevance | path

Searched refs:hasAmplitudeControl (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DRampSegmentTest.java160 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_amplitudeAndFrequencyControls_supported()
177 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_noAmplitudeControl_unsupportedForChangingAmplitude()
187 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_noAmplitudeControl_fractionalAmplitudeUnsupported()
200 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_unchangingZeroAmplitude_supported()
205 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingZeroAmplitude_supported()
216 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_unchangingOneAmplitude_supported()
221 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingOneAmplitude_supported()
239 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_unchangingDefaultAmplitude_supported()
247 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_noFrequencyControl_unsupportedForChangingFrequency()
257 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_noFrequencyControl_fractionalFrequencyUnsupported()
[all …]
H A DStepSegmentTest.java174 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_zeroAmplitude_supported()
178 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_zeroAmplitude_supported()
187 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_maxAmplitude_supported()
191 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_maxAmplitude_supported()
203 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_defaultAmplitude_supported()
207 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_defaultAmplitude_supported()
214 when(mVibrator.hasAmplitudeControl()).thenReturn(true); in testVibrationFeaturesSupport_fractionalAmplitude_hasAmplitudeCtrl_supported()
222 when(mVibrator.hasAmplitudeControl()).thenReturn(false); in testVibrationFeaturesSupport_fractionalAmplitude_hasNoAmplitudeCtrl_notSupported()
/aosp14/frameworks/base/core/java/android/os/
H A DNullVibrator.java45 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in NullVibrator
H A DSystemVibratorManager.java207 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in SystemVibratorManager.SingleVibrator
208 return mVibratorInfo.hasAmplitudeControl(); in hasAmplitudeControl()
H A DSystemVibrator.java194 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in SystemVibrator
195 return getInfo().hasAmplitudeControl(); in hasAmplitudeControl()
H A DVibrator.java208 public abstract boolean hasAmplitudeControl(); in hasAmplitudeControl() method in Vibrator
H A DVibratorInfo.java220 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in VibratorInfo
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DFakeVibrator.java38 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in FakeVibrator
H A DVibratorManagerServiceTest.java414 assertTrue(info.hasAmplitudeControl()); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
/aosp14/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/
H A DMainActivity.kt60 if (vibrator.hasAmplitudeControl()) {
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DStepSegment.java91 areFeaturesSupported &= vibrator.hasAmplitudeControl(); in areVibrationFeaturesSupported()
H A DRampSegment.java115 areFeaturesSupported &= vibrator.hasAmplitudeControl(); in areVibrationFeaturesSupported()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibratorInfoTest.java54 assertFalse(noCapabilities.hasAmplitudeControl()); in testHasAmplitudeControl()
58 assertTrue(composeAndAmplitudeControl.hasAmplitudeControl()); in testHasAmplitudeControl()
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceVibrator.java169 public boolean hasAmplitudeControl() { in hasAmplitudeControl() method in InputDeviceVibrator
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCentralSurfacesCommandQueueCallbacks.java582 if (vibratorOptional.isPresent() && vibratorOptional.get().hasAmplitudeControl()) { in getCameraGestureVibrationEffect()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt37387 Landroid/os/IVibratorService$Stub$Proxy;->hasAmplitudeControl()Z
37398 Landroid/os/IVibratorService;->hasAmplitudeControl()Z
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt34072 method public abstract boolean hasAmplitudeControl();