Searched refs:NotificationPreset (Results 1 – 1 of 1) sorted by relevance
38 enum class NotificationPreset(val id: Int, val channelId: String) { class in com.android.test.notificationprovider.RichNotificationActivity58 ACTION_SEND_7 -> sendNotification(NotificationPreset.Preset7) in onCreate()59 ACTION_SEND_8 -> sendNotification(NotificationPreset.Preset8) in onCreate()60 ACTION_CANCEL_7 -> cancelNotification(NotificationPreset.Preset7) in onCreate()61 ACTION_CANCEL_8 -> cancelNotification(NotificationPreset.Preset8) in onCreate()62 else -> NotificationPreset.values().forEach(::cancelNotification) in onCreate()69 private fun sendNotification(preset: NotificationPreset) { in sendNotification()75 private fun cancelNotification(preset: NotificationPreset) { in cancelNotification()