/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 68 () -> 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()
|
D | VibratorInfoFactoryTest.java | 66 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_THUD) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
|
D | MultiVibratorInfoTest.java | 58 .setSupportedEffects(VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | PrebakedSegment.java | 96 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/ |
D | HapticFeedbackVibrationProviderTest.java | 29 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()
|
D | VibratorManagerServiceTest.java | 454 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 …]
|
D | VibrationThreadTest.java | 181 .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);
|
D | VibrationSettingsTest.java | 897 assertNotNull(mVibrationSettings.getFallbackEffect(VibrationEffect.EFFECT_TICK)); in getFallbackEffect_returnsEffectsFromSettings()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProvider.java | 109 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()
|
D | VibrationSettings.java | 227 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/ |
D | CombinedVibrationTest.java | 50 .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()
|
D | VibratorInfoTest.java | 90 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()
|
D | VibratorTest.java | 88 VibrationEffect.EFFECT_TICK}).length); in areEffectsSupported_returnsArrayOfSameSize()
|
D | VibrationEffectTest.java | 952 assertTrue(VibrationEffect.get(VibrationEffect.EFFECT_TICK).isHapticFeedbackCandidate()); in testIsHapticFeedbackCandidate_prebakedNotRingtoneConstants_areCandidates()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | VibratorPerfTest.java | 86 int[] effects = new int[]{VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK}; in testAreEffectsSupported()
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlConstants.java | 128 TICK(VibrationEffect.EFFECT_TICK, true),
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 87 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/ |
D | MagnetizedObject.kt | 409 vibrateIfEnabled(VibrationEffect.EFFECT_TICK) in <lambda>()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/ |
D | VibrationEffectXmlSerializationTest.java | 484 map.put("tick", VibrationEffect.EFFECT_TICK); in createPublicPredefinedEffectsMap()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationGestureHandler.java | 593 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)); in setScaleAndClearIfNeeded()
|
/frameworks/base/core/api/ |
D | current.txt | 34182 field public static final int EFFECT_TICK = 2; // 0x2
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 39518 Landroid/os/VibrationEffect;->EFFECT_TICK:I
|