Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java55 if (record.getVibration() != null) { in process()
DNotificationRecord.java401 proto.write(NotificationRecordProto.CAN_VIBRATE, getVibration() != null); in dump()
929 public long[] getVibration() { in getVibration() method in NotificationRecord
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java257 assertNotNull(record.getVibration()); in testVibration_default_preUpgradeUsesNotification()
269 assertEquals(CUSTOM_VIBRATION, record.getVibration()); in testVibration_custom_preUpgradeUsesNotification()
282 assertTrue(!Objects.equals(CUSTOM_VIBRATION, record.getVibration())); in testVibration_custom_userLocked_preUpgrade()
294 assertEquals(CUSTOM_CHANNEL_VIBRATION, record.getVibration()); in testVibration_custom_upgradeUsesChannel()
DBuzzBeepBlinkTest.java603 VibrationEffect effect = VibrationEffect.createWaveform(r.getVibration(), -1); in testNoDemoteSoundToVibrateIfVibrateGiven()
614 assertNull(r.getVibration()); in testNoDemoteSoundToVibrateIfNonNotificationStream()
631 assertNull(r.getVibration()); in testDemoteSoundToVibrate()
650 assertNull(r.getVibration()); in testDemoteInsistentSoundToVibrate()