Home
last modified time | relevance | path

Searched refs:NotificationManagerCompat (Results 1 – 19 of 19) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DNotificationUtils.kt23 import androidx.core.app.NotificationManagerCompat
24 import androidx.core.app.NotificationManagerCompat.IMPORTANCE_HIGH
25 import androidx.core.app.NotificationManagerCompat.IMPORTANCE_LOW
120 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in createChannel()
124 private fun deleteChannel(nm: NotificationManagerCompat, channelId: String) { in deleteChannel()
131 private fun getAllExistingChannelIds(nm: NotificationManagerCompat): Set<String> { in getAllExistingChannelIds()
145 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in updateNotificationChannels()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt31 import androidx.core.app.NotificationManagerCompat
160 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in showLowPriorityNotification()
165 NotificationManagerCompat.IMPORTANCE_DEFAULT) in showLowPriorityNotification()
215 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in showHighPriorityNotification()
220 NotificationManagerCompat.IMPORTANCE_HIGH) in showHighPriorityNotification()
293 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in updateUpcomingAlarmGroupNotification()
298 NotificationManagerCompat.IMPORTANCE_HIGH) in updateUpcomingAlarmGroupNotification()
337 val nm: NotificationManagerCompat = NotificationManagerCompat.from(context) in updateMissedAlarmGroupNotification()
342 NotificationManagerCompat.IMPORTANCE_HIGH) in updateMissedAlarmGroupNotification()
360 NotificationManagerCompat.IMPORTANCE_HIGH) in updateMissedAlarmGroupNotification()
[all …]
DAlarmStateManager.kt36 import androidx.core.app.NotificationManagerCompat in <lambda>()
985 NotificationManagerCompat.from(context).cancel(id) in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java23 import androidx.core.app.NotificationManagerCompat;
82 final NotificationManagerCompat notificationManager = in postStorageLowNotification()
83 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postStorageLowNotification()
93 final NotificationManagerCompat notificationManager = in cancelStorageLowNotification()
94 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelStorageLowNotification()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java34 import androidx.core.app.NotificationManagerCompat;
155 NotificationManagerCompat notificationManager = in sendDeviceResetTimerNotification()
156 NotificationManagerCompat.from(context); in sendDeviceResetTimerNotification()
203 NotificationManagerCompat notificationManager = in sendDeviceResetNotification()
204 NotificationManagerCompat.from(context); in sendDeviceResetNotification()
248 NotificationManagerCompat notificationManager = in sendDeferredProvisioningNotification()
249 NotificationManagerCompat.from(context); in sendDeferredProvisioningNotification()
264 NotificationManagerCompat.from(context).cancel(DEFER_PROVISIONING_NOTIFICATION_ID); in cancelDeferredProvisioningNotification()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DNotificationManagerCompat.java21 public class NotificationManagerCompat { class
24 public NotificationManagerCompat(NotificationManager notificationManager) { in NotificationManagerCompat() method in NotificationManagerCompat
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchNotificationBuilder.kt34 import androidx.core.app.NotificationManagerCompat
46 fun buildChannel(context: Context, notificationManager: NotificationManagerCompat) { in buildChannel()
51 NotificationManagerCompat.IMPORTANCE_DEFAULT) in buildChannel()
143 .setPriority(NotificationManagerCompat.IMPORTANCE_HIGH) in build()
DStopwatchModel.kt26 import androidx.core.app.NotificationManagerCompat
41 private val mNotificationManager = NotificationManagerCompat.from(mContext)
DSilentSettingsModel.kt42 import androidx.core.app.NotificationManagerCompat
195 !NotificationManagerCompat.from(mContext).areNotificationsEnabled()
DTimerNotificationBuilder.kt38 import androidx.core.app.NotificationManagerCompat
53 fun isChannelCreated(notificationManager: NotificationManagerCompat): Boolean { in isChannelCreated()
64 fun buildChannel(context: Context, notificationManager: NotificationManagerCompat) { in buildChannel()
69 NotificationManagerCompat.IMPORTANCE_DEFAULT) in buildChannel()
DTimerModel.kt34 import androidx.core.app.NotificationManagerCompat
62 private val mNotificationManager = NotificationManagerCompat.from(mContext)
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java33 import androidx.core.app.NotificationManagerCompat;
282 final NotificationManagerCompat notificationManager = in postNewMessageSecondaryUserNotification()
283 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postNewMessageSecondaryUserNotification()
299 final NotificationManagerCompat notificationManager = in cancelSecondaryUserNotification()
300 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelSecondaryUserNotification()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/
DConsentNotificationConfirmationGaFragment.java45 import androidx.core.app.NotificationManagerCompat;
89 NotificationManagerCompat notificationManager = in dismissNotificationIfNeeded()
90 NotificationManagerCompat.from(requireContext()); in dismissNotificationIfNeeded()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamFgService.java36 import androidx.core.app.NotificationManagerCompat;
154 NotificationManagerCompat.from(mContext).cancelAll(); in onDestroy()
423 NotificationManagerCompat.from(mContext).notify(NOTIF_ID, mNotificationBuilder.build()); in updateNotificationToNextIcon()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java41 import androidx.core.app.NotificationManagerCompat;
77 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context); in showConsentNotification()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java37 import androidx.core.app.NotificationManagerCompat;
217 final NotificationManagerCompat notificationManager = in cancel()
218 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancel()
963 final NotificationManagerCompat notificationManager = in doNotify()
964 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in doNotify()
1215 NotificationManagerCompat.from(context).notify( in notifyEmergencySmsFailed()
DMessageNotificationState.java28 import androidx.core.app.NotificationManagerCompat;
1201 final NotificationManagerCompat notificationManager = in checkFailedMessages()
1202 NotificationManagerCompat.from(context); in checkFailedMessages()
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java56 import androidx.core.app.NotificationManagerCompat;
104 @SpyStatic(NotificationManagerCompat.class)
121 @Mock private NotificationManagerCompat mNotificationManagerCompat;
456 .when(() -> NotificationManagerCompat.from(mSpyContext)); in testNotificationsDisabled()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java92 import androidx.core.app.NotificationManagerCompat;
1677 private final NotificationManagerCompat mNotificationManager;
1687 mNotificationManager = NotificationManagerCompat.from(context);