Home
last modified time | relevance | path

Searched refs:setSupportedEffects (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibratorInfoTest.java74 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testIsEffectSupported()
253 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testEquals()
274 .setSupportedEffects(new int[0]) in testEquals()
279 .setSupportedEffects(null) in testEquals()
312 .setSupportedEffects(new int[0]) in testEquals()
327 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testParceling()
H A DVibratorTest.java115 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in areEffectsSupported_unsupportedInOneVibrator_returnsNo()
118 .setSupportedEffects(new int[0]) in areEffectsSupported_unsupportedInOneVibrator_returnsNo()
129 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in areEffectsSupported_unknownInOneVibrator_returnsUnknown()
141 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in arePrimitivesSupported_supportedInAllVibrators_returnsYes()
144 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in arePrimitivesSupported_supportedInAllVibrators_returnsYes()
594 .setSupportedEffects(VibrationEffect.EFFECT_THUD) in areVibrationFeaturesSupported_noAmplitudeControl_fractionalAmplitudes()
609 .setSupportedEffects(VibrationEffect.EFFECT_THUD) in areVibrationFeaturesSupported_noAmplitudeControl_nonFractionalAmplitudes()
691 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
708 .setSupportedEffects(VibrationEffect.EFFECT_POP, VibrationEffect.EFFECT_CLICK) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
729 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationThreadTest.java496 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_THUD); in vibrate_singleVibratorPrebaked_runsVibration()
622 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_singleVibratorComposedEffects_runsDifferentVibrations()
673 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
822 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_TICK); in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
846 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
847 mVibratorProviders.get(2).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
848 mVibratorProviders.get(3).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
878 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleStereo_runsVibrationOnRightVibrators()
931 mVibratorProviders.get(3).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleSequential_runsVibrationInOrderWithDelays()
1191 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_cancelSlowVibrator_cancelIsNotBlockedByVibrationThread()
[all …]
H A DVibratorManagerServiceTest.java406 vibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
499 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in registerVibratorStateListener_multipleVibratorsAreTriggered()
634 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK, in vibrate_withRingtone_usesRingerModeSettings()
736 mVibratorProviders.get(0).setSupportedEffects(VibrationEffect.EFFECT_CLICK, in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
854 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingRepeatingVibrationBeingCancelled_playsAfterPreviousIsCancelled()
1014 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect()
1042 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingLowerImportanceExternalVibration_cancelsOngoingVibration()
1079 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect()
1108 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withInputDevices_vibratesInputDevices()
1208 fakeVibrator1.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withMultipleVibratorsAndCapabilities_prepareAndTriggerCalled()
[all …]
H A DFakeVibratorControllerProvider.java185 infoBuilder.setSupportedEffects(mSupportedEffects); in getInfo()
262 public void setSupportedEffects(int... effects) { in setSupportedEffects() method in FakeVibratorControllerProvider
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceVibrator.java61 .setSupportedEffects(new int[0]) in InputDeviceVibrator()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp46 jmethodID setSupportedEffects; member
384 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
496 sVibratorInfoBuilderClassInfo.setSupportedEffects = in register_android_server_vibrator_VibratorController()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DPrebakedSegmentTest.java294 .setSupportedEffects(supportedEffects) in createVibratorWithSupportedEffects()
/aosp14/frameworks/base/core/java/android/os/
H A DVibratorInfo.java704 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() method in VibratorInfo.Builder