Home
last modified time | relevance | path

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

/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DVibratorInfoFactoryTest.java39 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testCreatedInfo_hasTheRequestedId()
66 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_THUD) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
81 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testCreatedInfo_hasEqualContentRegardlessOfSourceInfoOrder()
97 .setSupportedEffects(VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_POP) in testCreatedInfoContents()
102 .setSupportedEffects(VibrationEffect.EFFECT_POP, VibrationEffect.EFFECT_THUD) in testCreatedInfoContents()
113 .setSupportedEffects(VibrationEffect.EFFECT_POP) in testCreatedInfoContents()
DMultiVibratorInfoTest.java39 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testGetId()
42 .setSupportedEffects(new int[0]) in testGetId()
55 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
58 .setSupportedEffects(VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
71 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testIsEffectSupported_unsupportedInOneVibrator_returnsNo()
74 .setSupportedEffects(new int[0]) in testIsEffectSupported_unsupportedInOneVibrator_returnsNo()
87 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testIsEffectSupported_unknownInOneVibrator_returnsUnknown()
DPrebakedSegmentTest.java291 .setSupportedEffects(supportedEffects) in createVibratorInfoWithSupportedEffects()
/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java83 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testIsEffectSupported()
267 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testEquals()
297 .setSupportedEffects(new int[0]) in testEquals()
303 .setSupportedEffects(null) in testEquals()
342 .setSupportedEffects(new int[0]) in testEquals()
359 .setSupportedEffects(VibrationEffect.EFFECT_CLICK) in testParceling()
466 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
483 .setSupportedEffects(VibrationEffect.EFFECT_POP, VibrationEffect.EFFECT_CLICK) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
504 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
531 .setSupportedEffects(VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java440 vibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
536 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in registerVibratorStateListener_multipleVibratorsAreTriggered()
716 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK, in vibrate_withRingtone_usesRingerModeSettings()
744 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_CLICK, in vibrate_withPowerMode_usesPowerModeState()
818 mVibratorProviders.get(0).setSupportedEffects(VibrationEffect.EFFECT_CLICK, in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
938 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingRepeatingVibrationBeingCancelled_playsAfterPreviousIsCancelled()
1109 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect()
1136 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingLowerImportanceExternalVibration_cancelsOngoingVibration()
1173 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect()
1203 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_withInputDevices_vibratesInputDevices()
[all …]
DVibrationThreadTest.java605 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_THUD); in vibrate_singleVibratorPrebaked_runsVibration()
723 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_singleVibratorComposedEffects_runsDifferentVibrations()
773 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
915 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_TICK); in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
938 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
939 mVibratorProviders.get(2).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
940 mVibratorProviders.get(3).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleMono_runsSameEffectInAllVibrators()
969 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleStereo_runsVibrationOnRightVibrators()
1021 mVibratorProviders.get(3).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleSequential_runsVibrationInOrderWithDelays()
1110 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_CLICK); in vibrate_multipleSynced_callsPrepareAndTriggerCallbacks()
[all …]
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java186 infoBuilder.setSupportedEffects(mSupportedEffects); in getInfo()
270 public void setSupportedEffects(int... effects) { in setSupportedEffects() method in FakeVibratorControllerProvider
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibrator.java61 .setSupportedEffects(new int[0]) in InputDeviceVibrator()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp46 jmethodID setSupportedEffects; member
397 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
509 sVibratorInfoBuilderClassInfo.setSupportedEffects = in register_android_server_vibrator_VibratorController()
/frameworks/base/core/java/android/os/
DVibratorInfo.java763 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() method in VibratorInfo.Builder