Home
last modified time | relevance | path

Searched refs:insistent (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java83 boolean insistent) { in createWaveformVibration() argument
86 return VibrationEffect.createWaveform(pattern, /* repeat= */ insistent ? 0 : -1); in createWaveformVibration()
109 boolean insistent) { in createPwleWaveformVibration() argument
128 if (insistent) { in createPwleWaveformVibration()
171 public VibrationEffect createFallbackVibration(boolean insistent) { in createFallbackVibration() argument
173 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration()
178 return createWaveformVibration(mFallbackPattern, insistent); in createFallbackVibration()
186 public VibrationEffect createDefaultVibration(boolean insistent) { in createDefaultVibration() argument
188 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration()
193 return createWaveformVibration(mDefaultPattern, insistent); in createDefaultVibration()
DNotificationRecord.java316 NotificationChannel channel, VibratorHelper helper, boolean insistent) { in getVibrationForChannel() argument
325 return vibration.applyRepeatingIndefinitely(insistent, /* loopDelayMs= */ 0); in getVibrationForChannel()
331 return helper.createDefaultVibration(insistent); in getVibrationForChannel()
333 return helper.createWaveformVibration(vibrationPattern, insistent); in getVibrationForChannel()
339 final boolean insistent = (notification.flags & Notification.FLAG_INSISTENT) != 0; in calculateVibration()
347 return helper.createDefaultVibration(insistent); in calculateVibration()
349 return helper.createWaveformVibration(notification.vibrate, insistent); in calculateVibration()
351 return getVibrationForChannel(getChannel(), helper, insistent); in calculateVibration()
DNotificationAttentionHelper.java418 boolean insistent = (record.getFlags() & Notification.FLAG_INSISTENT) != 0; in buzzBeepBlinkLocked()
419 vibration = mVibratorHelper.createFallbackVibration(insistent); in buzzBeepBlinkLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java395 private NotificationRecord getNotificationRecord(int id, boolean insistent, boolean once, in getNotificationRecord() argument
397 return getNotificationRecord(id, insistent, once, noisy, buzzy, lights, buzzy, noisy, in getNotificationRecord()
401 private NotificationRecord getNotificationRecord(int id, boolean insistent, boolean once, in getNotificationRecord() argument
403 return getNotificationRecord(id, insistent, once, noisy, buzzy, lights, buzzy, noisy, in getNotificationRecord()
407 private NotificationRecord getLeanbackNotificationRecord(int id, boolean insistent, in getLeanbackNotificationRecord() argument
410 return getNotificationRecord(id, insistent, once, noisy, buzzy, lights, true, true, in getLeanbackNotificationRecord()
427 boolean insistent, boolean once, in getNotificationRecord() argument
431 return getNotificationRecord(id, insistent, once, noisy, buzzy, lights, defaultVibration, in getNotificationRecord()
437 boolean insistent, boolean once, in getNotificationRecord() argument
441 return getNotificationRecord(id, insistent, once, noisy, buzzy, lights, defaultVibration, in getNotificationRecord()
[all …]
DNotificationRecordTest.java229 boolean insistent) { in getNotification() argument
241 .setFlag(Notification.FLAG_INSISTENT, insistent); in getNotification()
248 VibrationEffect channelVibrationEffect, boolean insistent) { in getNotification() argument
250 /* channelVibrationPattern= */ null, channelVibrationEffect, insistent); in getNotification()
254 long[] channelVibrationPattern, boolean insistent) { in getNotification() argument
256 channelVibrationPattern, /* channelVibrationEffect= */ null, insistent); in getNotification()