Home
last modified time | relevance | path

Searched refs:createWaveformVibration (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DVibratorHelperTest.java63 VibratorHelper.createWaveformVibration(CUSTOM_PATTERN, /* insistent= */ true)); in createWaveformVibration_insistent_createsRepeatingVibration()
71 VibratorHelper.createWaveformVibration(CUSTOM_PATTERN, /* insistent= */ false)); in createWaveformVibration_nonInsistent_createsSingleShotVibration()
78 assertNull(VibratorHelper.createWaveformVibration(null, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash()
79 assertNull(VibratorHelper.createWaveformVibration(new long[0], false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash()
80 assertNull(VibratorHelper.createWaveformVibration(new long[] { 0, 0 }, false)); in createWaveformVibration_invalidPattern_returnsNullAndDoesNotCrash()
DNotificationRecordTest.java365 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_custom_preUpgradeUsesNotification()
379 assertNotEquals(VibratorHelper.createWaveformVibration( in testVibration_custom_userLocked_preUpgrade()
390 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_customPattern_nonInsistent_usesCustomPattern()
401 assertEquals(VibratorHelper.createWaveformVibration( in testVibration_customPattern_insistent_createsInsistentEffect()
/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java82 public static VibrationEffect createWaveformVibration(@Nullable long[] pattern, in createWaveformVibration() method in VibratorHelper
178 return createWaveformVibration(mFallbackPattern, insistent); in createFallbackVibration()
193 return createWaveformVibration(mDefaultPattern, insistent); in createDefaultVibration()
DNotificationRecord.java333 return helper.createWaveformVibration(vibrationPattern, insistent); in getVibrationForChannel()
349 return helper.createWaveformVibration(notification.vibrate, insistent); in calculateVibration()