Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DPrebakedSegmentTest.java75 () -> 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()
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DPrebakedSegment.java88 case VibrationEffect.EFFECT_TICK: in areVibrationFeaturesSupported()
106 case VibrationEffect.EFFECT_TICK: in isHapticFeedbackCandidate()
166 case VibrationEffect.EFFECT_TICK: in validate()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DCombinedVibrationTest.java53 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testValidateStereo()
253 .addNext(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testIsHapticFeedbackCandidateSequential()
283 .addVibrator(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testHasVibratorSequential_returnsNestedVibrators()
H A DVibratorTest.java102 VibrationEffect.EFFECT_TICK}).length); in areEffectsSupported_returnsArrayOfSameSize()
691 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
729 .setSupportedEffects(VibrationEffect.EFFECT_TICK, VibrationEffect.EFFECT_POP) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
H A DVibratorInfoTest.java81 canClick.isEffectSupported(VibrationEffect.EFFECT_TICK)); in testIsEffectSupported()
H A DVibrationEffectTest.java895 assertTrue(VibrationEffect.get(VibrationEffect.EFFECT_TICK).isHapticFeedbackCandidate()); in testIsHapticFeedbackCandidate_prebakedNotRingtoneConstants_areCandidates()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibratorManagerServiceTest.java420 info.isEffectSupported(VibrationEffect.EFFECT_TICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
549 .addVibrator(2, VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)) in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
559 VibrationEffect.EFFECT_TICK, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
667 vibrateAndWaitUntilFinished(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), in vibrate_withPowerMode_usesPowerModeState()
737 VibrationEffect.EFFECT_TICK); in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
751 vibrateAndWaitUntilFinished(service, VibrationEffect.get(VibrationEffect.EFFECT_TICK), in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
758 expectedPrebaked(VibrationEffect.EFFECT_TICK, in vibrate_withVibrationAttributesEnforceFreshSettings_refreshesVibrationSettings()
2012 assertArrayEquals(new int[] {VibrationEffect.EFFECT_TICK}, in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics()
2125 mVibratorProviders.get(2).setSupportedEffects(VibrationEffect.EFFECT_TICK); in frameworkStats_multiVibrators_reportsAllMetrics()
2140 expectedEffectsUsed.put(VibrationEffect.EFFECT_TICK, true); in frameworkStats_multiVibrators_reportsAllMetrics()
[all …]
H A DVibrationThreadTest.java171 .addNext(3, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_missingVibrators_ignoresVibration()
683 .addEffect(VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
687 vib.addFallback(VibrationEffect.EFFECT_TICK, fallback); in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
822 mVibratorProviders.get(1).setSupportedEffects(VibrationEffect.EFFECT_TICK); in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
825 .addVibrator(VIBRATOR_ID, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
826 .addVibrator(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
839 assertEquals(Arrays.asList(expectedPrebaked(VibrationEffect.EFFECT_TICK)), in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
1483 VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK);
1493 .repeatEffectIndefinitely(VibrationEffect.get(VibrationEffect.EFFECT_TICK))
1554 assertEquals(expectedPrebaked(VibrationEffect.EFFECT_TICK), segment);
H A DVibrationSettingsTest.java762 assertNotNull(mVibrationSettings.getFallbackEffect(VibrationEffect.EFFECT_TICK)); in getFallbackEffect_returnsEffectsFromSettings()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/os/
H A DVibratorPerfTest.java86 int[] effects = new int[]{VibrationEffect.EFFECT_CLICK, VibrationEffect.EFFECT_TICK}; in testAreEffectsSupported()
/aosp14/frameworks/base/core/java/android/os/
H A DVibrationEffect.java86 public static final int EFFECT_TICK = Effect.TICK; field in VibrationEffect
165 EFFECT_TICK,
620 case EFFECT_TICK: in effectIdToString()
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibrationSettings.java218 mFallbackEffects.put(VibrationEffect.EFFECT_TICK, tickEffect); in VibrationSettings()
221 VibrationEffect.get(VibrationEffect.EFFECT_TICK, false)); in VibrationSettings()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DCentralSurfacesCommandQueueCallbacksTest.java258 verify(mVibratorHelper).vibrate(VibrationEffect.EFFECT_TICK); in vibrateOnNavigationKeyDown_oneWayHapticsDisabled_usesVibrate()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObject.kt404 vibrateIfEnabled(VibrationEffect.EFFECT_TICK)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCentralSurfacesCommandQueueCallbacks.java606 mVibratorHelper.vibrate(VibrationEffect.EFFECT_TICK); in vibrateOnNavigationKeyDown()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DNavigationBarEdgePanel.java746 mVibratorHelper.vibrate(VibrationEffect.EFFECT_TICK); in handleMoveEvent()
H A DBackPanelController.kt85 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandler.java457 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)); in setScaleAndClearIfNeeded()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java5991 return VibrationEffect.get(VibrationEffect.EFFECT_TICK);
6006 return VibrationEffect.get(VibrationEffect.EFFECT_TICK, false);
6052 VibrationEffect.EFFECT_TICK);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DNotificationPanelViewController.java3678 mVibratorHelper.vibrate(VibrationEffect.EFFECT_TICK); in maybeVibrateOnOpening()
/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/core/api/
H A Dcurrent.txt34044 field public static final int EFFECT_TICK = 2; // 0x2
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt40161 Landroid/os/VibrationEffect;->EFFECT_TICK:I