Home
last modified time | relevance | path

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

/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DNotificationController.java92 private static final int NOTIFICATION_ID = 0; field in NotificationController
168 noThanksIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
176 activateIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
183 dismissIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
189 contentIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
223 manager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java52 static final int NOTIFICATION_ID = 1; field in SpamCallListListener
225 .notify(call.getNumber(), NOTIFICATION_ID, notificationBuilder.build()); in showNonSpamCallNotification() local
336 .notify(call.getNumber(), NOTIFICATION_ID, notificationBuilder.build()); in showSpamCallNotification() local
364 SpamNotificationService.createServiceIntent(context, call, action, NOTIFICATION_ID); in createServicePendingIntent()
372 SpamNotificationActivity.createActivityIntent(context, call, action, NOTIFICATION_ID); in createActivityPendingIntent()
/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/dialer/app/calllog/
DMissedCallNotifier.java64 private static final int NOTIFICATION_ID = 1; field in MissedCallNotifier
205 getNotificationMgr().notify(getNotificationTagForGroupSummary(), NOTIFICATION_ID, notification); in updateMissedCallNotification() local
218 manager.notify(callTag, NOTIFICATION_ID, getNotificationForCall(call, null)); in updateMissedCallNotification()
261 notificationManager.cancel(summaryTag, NOTIFICATION_ID); in cancelSingleMissedCallNotification()
286 NOTIFICATION_ID, in insertPostCallNotification() local
DVisualVoicemailNotifier.java56 private static final int NOTIFICATION_ID = 1; field in VisualVoicemailNotifier
87 getNotificationTagForGroupSummary(), NOTIFICATION_ID, groupSummary.build()); in showNotifications() local
92 NOTIFICATION_ID, in showNotifications() local
134 notificationManager.cancel(summaryTag, NOTIFICATION_ID); in cancelSingleVoicemailNotification()
DLegacyVoicemailNotifier.java44 private static final int NOTIFICATION_ID = 1; field in LegacyVoicemailNotifier
82 .notify(NOTIFICATION_TAG, NOTIFICATION_ID, notification); in showNotification()
152 notificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID); in cancelNotification()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java41 private static final int NOTIFICATION_ID = 1; field in SimSelectNotification
133 notificationManager.notify(NOTIFICATION_ID, builder.build()); in createNotification()
139 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
/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
168 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java96 private static final int NOTIFICATION_ID = 1; field in StatusBarNotifier
152 notificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID); in clearAllCallNotifications()
225 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID); in cancelNotification()
386 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID); in buildAndSendNotification()
445 mNotificationManager.notify(NOTIFICATION_TAG, NOTIFICATION_ID, notification); in buildAndSendNotification()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DResumeNotificationHelperTest.java19 import static com.android.managedprovisioning.preprovisioning.EncryptionController.NOTIFICATION_ID;
73 assertEquals(notification.getId(), NOTIFICATION_ID); in testShowResumeNotification() local
/packages/services/Car/tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingService.java71 private static final int NOTIFICATION_ID = 100; field in WritingService
123 startForeground(NOTIFICATION_ID, notification); in onBind()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptionController.java55 public static final int NOTIFICATION_ID = 1; field in EncryptionController
223 notificationManager.notify(NOTIFICATION_ID, notify.build()); in showResumeNotification()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java72 static final int NOTIFICATION_ID = 1; field in CellBroadcastAlertService
624 pi = PendingIntent.getActivity(context, NOTIFICATION_ID, intent, in addToNotificationBar()
658 notificationManager.notify(NOTIFICATION_ID, builder.build()); in addToNotificationBar()
DCellBroadcastAlertDialog.java410 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification()
492 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
DCellBroadcastListActivity.java64 .cancel(CellBroadcastAlertService.NOTIFICATION_ID); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java87 public static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in SapServer
292 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification()
298 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java55 public static final int NOTIFICATION_ID = 31338; field in NotificationService
325 noMa.notify(NOTIFICATION_ID + i, mNotifications.get(i)); in onHandleIntent()
DUpdateService.java52 noMa.notify(NotificationService.NOTIFICATION_ID + id, in onHandleIntent()
DProgressService.java59 noMa.notify(NotificationService.NOTIFICATION_ID + mId, in run()
DPhoneService.java65 noMa.cancel(NotificationService.NOTIFICATION_ID + id); in onHandleIntent()
DFullScreenActivity.java60 noMa.cancel(NotificationService.NOTIFICATION_ID + id); in onCreate()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java58 private static final int NOTIFICATION_ID = 42; field in Player
362 mNotificationManager.notify(NOTIFICATION_ID, notification); in postMediaNotification()