Home
last modified time | relevance | path

Searched refs:NOTIFICATION_ID (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DHeadsUpNotificationFragment.java34 private static final int NOTIFICATION_ID = 1; field in HeadsUpNotificationFragment
46 v -> notificationManager.notify(NOTIFICATION_ID, createNotification())); in onCreateView()
48 v -> notificationManager.cancel(NOTIFICATION_ID)); in onCreateView()
50 v -> notificationManager.notify(NOTIFICATION_ID, createNotification())); in onCreateView()
52 v -> notificationManager.cancel(NOTIFICATION_ID)); in onCreateView()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DNotificationController.java92 private static final int NOTIFICATION_ID = 0; field in NotificationController
176 noThanksIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
184 activateIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
191 dismissIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
197 contentIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
231 manager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DInCallNotificationController.java45 private static final int NOTIFICATION_ID = 20181105; field in InCallNotificationController
139 NOTIFICATION_ID, in showInCallNotification()
152 NOTIFICATION_ID, in showInCallNotification()
176 mNotificationManager.cancel(callId, NOTIFICATION_ID); in cancelInCallNotification()
DMissedCallNotificationController.java53 private static final int NOTIFICATION_ID = 20190520; field in MissedCallNotificationController
171 NOTIFICATION_ID, in showMissedCallNotification()
180 mNotificationManager.cancel(tag, NOTIFICATION_ID); in cancelMissedCallNotification()
/packages/services/Car/service/src/com/android/car/
DCanBusErrorNotifier.java35 private static final int NOTIFICATION_ID = 1; field in CanBusErrorNotifier
96 mNotificationManager.notify(TAG, NOTIFICATION_ID, notification); in showNotification()
104 mNotificationManager.cancel(TAG, NOTIFICATION_ID); in hideNotification()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java63 static final int NOTIFICATION_ID = 1; field in SpamCallListListener
305 context, getNotificationTagForCall(call), NOTIFICATION_ID, notificationBuilder.build()); in showNonSpamCallNotification()
423 context, getNotificationTagForCall(call), NOTIFICATION_ID, notificationBuilder.build()); in showSpamCallNotification()
454 context, call, action, getNotificationTagForCall(call), NOTIFICATION_ID); in createServicePendingIntent()
463 context, call, action, getNotificationTagForCall(call), NOTIFICATION_ID); in createActivityPendingIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimSelectNotification.java42 private static final int NOTIFICATION_ID = 1; field in SimSelectNotification
100 notificationManager.notify(NOTIFICATION_ID, builder.build()); in createNotification()
106 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailNotifier.java58 static final int NOTIFICATION_ID = 1; field in VisualVoicemailNotifier
108 context, GROUP_SUMMARY_NOTIFICATION_TAG, NOTIFICATION_ID, groupSummary.build()); in showNotifications()
114 NOTIFICATION_ID, in showNotifications()
133 context, getNotificationTagForUri(voicemailUri), NOTIFICATION_ID); in cancelSingleVoicemailNotification()
DLegacyVoicemailNotifier.java48 private static final int NOTIFICATION_ID = 1; field in LegacyVoicemailNotifier
85 context, getNotificationTag(context, handle), NOTIFICATION_ID, notification); in showNotification()
174 context, getNotificationTag(context, phoneAccountHandle), NOTIFICATION_ID); in cancelNotification()
DMissedCallNotifier.java228 MissedCallConstants.NOTIFICATION_ID, in updateMissedCallNotification()
250 MissedCallConstants.NOTIFICATION_ID, in updateMissedCallNotification()
314 MissedCallConstants.NOTIFICATION_ID, in insertPostCallNotification()
DVisualVoicemailUpdateTask.java130 if (notification.getId() != VisualVoicemailNotifier.NOTIFICATION_ID) { in getExistingNotificationCount()
154 if (notification.getId() != VisualVoicemailNotifier.NOTIFICATION_ID) { in getAndUpdateVoicemailsWithExistingNotification()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java39 private static final int NOTIFICATION_ID = 1; field in BootUsbService
65 startForeground(NOTIFICATION_ID, notification); in onCreate()
/packages/apps/TV/src/com/android/tv/audiotvservice/
DAudioOnlyTvService.java36 private static final int NOTIFICATION_ID = 1; field in AudioOnlyTvService
61 startForeground(NOTIFICATION_ID, new Notification()); in onStartCommand()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionRequest.java44 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPermissionRequest
189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive() local
198 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_ID); in onReceive() local
DBluetoothPairingService.java42 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPairingService
169 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateLayoutFragment.java62 private static final int NOTIFICATION_ID = 1; field in UpdateLayoutFragment
157 mNotificationManager.notify(NOTIFICATION_ID, createNotification(getContext(), status)); in showStatus()
159 mNotificationManager.cancel(NOTIFICATION_ID); in showStatus()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java91 private static final int NOTIFICATION_ID = 100; field in SimImportService
281 startForeground(NOTIFICATION_ID, getImportingNotification()); in onPreExecute()
341 mNotificationManager.notify(NOTIFICATION_ID, notification); in onPostExecute()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java44 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPermissionRequest
189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive() local
198 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_ID); in onReceive() local
DBluetoothPairingService.java42 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPairingService
169 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingService.java42 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPairingService
169 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java83 public static final int NOTIFICATION_ID = 1; field in CellBroadcastAlertService
636 pi = PendingIntent.getActivity(context, NOTIFICATION_ID, intent, in addToNotificationBar()
687 notificationManager.notify(NOTIFICATION_ID, builder.build()); in addToNotificationBar()
835 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in playPendingAlert()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java186 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testDismiss()
232 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnNewIntent()
/packages/apps/Dialer/java/com/android/dialer/notification/missedcalls/
DMissedCallConstants.java26 public static final int NOTIFICATION_ID = 1; field in MissedCallConstants
DMissedCallNotificationCanceller.java46 MissedCallConstants.NOTIFICATION_ID); in cancelSingle()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java88 public static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in SapServer
308 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification()
314 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()

12