Home
last modified time | relevance | path

Searched refs:EFFECT_TICK (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DPrebakedSegmentTest.java68 () -> new PrebakedSegment(VibrationEffect.EFFECT_TICK, false, 1000) in testValidate()
121 VibrationEffect.EFFECT_TICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM) in testDuration()
137 VibrationEffect.EFFECT_TICK, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM) in testIsHapticFeedbackCandidate_prebakedConstants_areCandidates()
156 VibrationEffect.EFFECT_TICK, in testVibrationFeaturesSupport_idsWithFallback_fallbackEnabled_vibratorSupport()
161 assertTrue(createSegmentWithFallback(VibrationEffect.EFFECT_TICK) in testVibrationFeaturesSupport_idsWithFallback_fallbackEnabled_vibratorSupport()
176 assertTrue(createSegmentWithFallback(VibrationEffect.EFFECT_TICK) in testVibrationFeaturesSupport_idsWithFallback_fallbackEnabled_noVibratorSupport()
189 VibrationEffect.EFFECT_TICK, in testVibrationFeaturesSupport_idsWithFallback_fallbackDisabled_vibratorSupport()
194 assertTrue(createSegmentWithoutFallback(VibrationEffect.EFFECT_TICK) in testVibrationFeaturesSupport_idsWithFallback_fallbackDisabled_vibratorSupport()
208 assertFalse(createSegmentWithoutFallback(VibrationEffect.EFFECT_TICK) in testVibrationFeaturesSupport_idsWithFallback_fallbackDisabled_noVibratorSupport()
DVibratorInfoFactoryTest.java66 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_THUD) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
DMultiVibratorInfoTest.java58 .setSupportedEffects(VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java96 case VibrationEffect.EFFECT_TICK: in areVibrationFeaturesSupported()
114 case VibrationEffect.EFFECT_TICK: in isHapticFeedbackCandidate()
176 case VibrationEffect.EFFECT_TICK: in validate()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackVibrationProviderTest.java29 import static android.os.VibrationEffect.EFFECT_TICK;
101 .isEqualTo(VibrationEffect.get(EFFECT_TICK)); in testNonExistentCustomization_useDefault()
108 .isEqualTo(VibrationEffect.get(EFFECT_TICK)); in testNonExistentCustomization_useDefault()
117 .isEqualTo(VibrationEffect.get(EFFECT_TICK)); in testExceptionParsingCustomizations_useDefault()
150 .isEqualTo(VibrationEffect.get(EFFECT_TICK)); in testDoNotUseInvalidCustomizedVibration()
254 .isEqualTo(VibrationEffect.get(EFFECT_TICK, false /* fallback */)); in testKeyboardHaptic_noFixedAmplitude_defaultVibrationReturned()
268 .isEqualTo(VibrationEffect.get(EFFECT_TICK, false /* fallback */)); in testKeyboardHaptic_fixAmplitude_keyboardCategoryOff_defaultVibrationReturned()
DVibratorManagerServiceTest.java454 info.isEffectSupported(VibrationEffect.EFFECT_TICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
583 .addVibrator(2, VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)) in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
593 VibrationEffect.EFFECT_TICK, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
744 fakeVibrator.setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_CLICK, in vibrate_withPowerMode_usesPowerModeState()
749 vibrateAndWaitUntilFinished(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), in vibrate_withPowerMode_usesPowerModeState()
788 vibrate(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), NOTIFICATION_ATTRS); in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager()
790 vibrate(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), HAPTIC_FEEDBACK_ATTRS); in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager()
819 VibrationEffect.EFFECT_TICK); in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
833 vibrateAndWaitUntilFinished(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
840 expectedPrebaked(VibrationEffect.EFFECT_TICK, in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
[all …]
DVibrationThreadTest.java181 .addNext(3, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_missingVibrators_ignoresVibration()
783 .addEffect(VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
787 vibration.addFallback(VibrationEffect.EFFECT_TICK, fallback); in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
915 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_TICK); in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
918 .addVibrator(VIBRATOR_ID, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
919 .addVibrator(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
931 assertEquals(Arrays.asList(expectedPrebaked(VibrationEffect.EFFECT_TICK)), in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
1668 VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK);
1678 .repeatEffectIndefinitely(VibrationEffect.get(VibrationEffect.EFFECT_TICK))
1734 assertEquals(expectedPrebaked(VibrationEffect.EFFECT_TICK), segment);
DVibrationSettingsTest.java897 assertNotNull(mVibrationSettings.getFallbackEffect(VibrationEffect.EFFECT_TICK)); in getFallbackEffect_returnsEffectsFromSettings()
/frameworks/base/services/core/java/com/android/server/vibrator/
DHapticFeedbackVibrationProvider.java109 return getVibration(effectId, VibrationEffect.EFFECT_TICK); in getVibrationForHapticFeedback()
128 VibrationEffect.EFFECT_TICK, in getVibrationForHapticFeedback()
169 VibrationEffect.EFFECT_TICK); in getVibrationForHapticFeedback()
340 predefinedEffectId = VibrationEffect.EFFECT_TICK; in getKeyboardVibration()
DVibrationSettings.java227 mFallbackEffects.put(VibrationEffect.EFFECT_TICK, tickEffect); in VibrationSettings()
230 VibrationEffect.get(VibrationEffect.EFFECT_TICK, false)); in VibrationSettings()
/frameworks/base/core/tests/vibrator/src/android/os/
DCombinedVibrationTest.java50 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testValidateStereo()
250 .addNext(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testIsHapticFeedbackCandidateSequential()
280 .addVibrator(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testHasVibratorSequential_returnsNestedVibrators()
DVibratorInfoTest.java90 canClick.isEffectSupported(VibrationEffect.EFFECT_TICK)); in testIsEffectSupported()
466 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
504 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
DVibratorTest.java88 VibrationEffect.EFFECT_TICK}).length); in areEffectsSupported_returnsArrayOfSameSize()
DVibrationEffectTest.java952 assertTrue(VibrationEffect.get(VibrationEffect.EFFECT_TICK).isHapticFeedbackCandidate()); in testIsHapticFeedbackCandidate_prebakedNotRingtoneConstants_areCandidates()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DVibratorPerfTest.java86 int[] effects = new int[]{VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK}; in testAreEffectsSupported()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlConstants.java128 TICK(VibrationEffect.EFFECT_TICK, true),
/frameworks/base/core/java/android/os/
DVibrationEffect.java87 public static final int EFFECT_TICK = Effect.TICK; field in VibrationEffect
166 EFFECT_TICK,
657 case EFFECT_TICK: in effectIdToString()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt409 vibrateIfEnabled(VibrationEffect.EFFECT_TICK) in <lambda>()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java484 map.put("tick", VibrationEffect.EFFECT_TICK); in createPublicPredefinedEffectsMap()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java593 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)); in setScaleAndClearIfNeeded()
/frameworks/base/core/api/
Dcurrent.txt34182 field public static final int EFFECT_TICK = 2; // 0x2
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39518 Landroid/os/VibrationEffect;->EFFECT_TICK:I