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.java94 private static final int NOTIFICATION_ID = 0; field in NotificationController
170 noThanksIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
178 activateIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
185 dismissIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
191 contentIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
225 manager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java53 static final int NOTIFICATION_ID = R.id.notification_spam_call; field in SpamCallListListener
229 .notify(call.getNumber(), NOTIFICATION_ID, notificationBuilder.build()); in showNonSpamCallNotification() local
333 .notify(call.getNumber(), NOTIFICATION_ID, notificationBuilder.build()); in showSpamCallNotification() local
361 SpamNotificationService.createServiceIntent(context, call, action, NOTIFICATION_ID); in createServicePendingIntent()
369 SpamNotificationActivity.createActivityIntent(context, call, action, NOTIFICATION_ID); in createActivityPendingIntent()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java62 private static final int NOTIFICATION_ID = R.id.notification_external_call; field in ExternalCallNotifier
192 String.valueOf(mNotifications.get(call).getNotificationId()), NOTIFICATION_ID); in dismissNotification() local
199 notificationManager.cancel(NOTIFICATION_GROUP, NOTIFICATION_ID); in dismissNotification()
302 String.valueOf(info.getNotificationId()), NOTIFICATION_ID, notification); in postNotification() local
318 notificationManager.notify(NOTIFICATION_GROUP, NOTIFICATION_ID, summary.build()); in postNotification()
/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/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/Dialer/java/com/android/dialer/app/calllog/
DMissedCallNotifier.java65 private static final int NOTIFICATION_ID = R.id.notification_missed_call; field in MissedCallNotifier
202 getNotificationMgr().notify(NOTIFICATION_TAG, NOTIFICATION_ID, notification); in updateMissedCallNotification()
215 manager.notify(callTag, NOTIFICATION_ID, getNotificationForCall(call, null)); in updateMissedCallNotification()
229 call.callsUri.toString(), NOTIFICATION_ID, getNotificationForCall(call, note)); in insertPostCallNotification() local
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
DWifiWakeupHelper.java54 private static final int NOTIFICATION_ID = R.string.wifi_wakeup_enabled_notification_title; field in WifiWakeupHelper
195 mNotificationManager.notify(TAG, NOTIFICATION_ID, notificationBuilder.build()); in startWifiSession()
228 mNotificationManager.cancel(TAG, NOTIFICATION_ID); in cancelNotificationIfNeeded()
/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/services/NetworkRecommendation/src/com/android/networkrecommendation/notify/
DWifiNotificationController.java57 private static final int NOTIFICATION_ID = R.string.wifi_available_title; field in WifiNotificationController
526 mNotificationManager.notify(NOTIFICATION_TAG, NOTIFICATION_ID, notification); in postNotification()
544 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID); in removeNotification()
/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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java71 static final int NOTIFICATION_ID = 1; field in CellBroadcastAlertService
559 pi = PendingIntent.getActivity(context, NOTIFICATION_ID, intent, in addToNotificationBar()
593 notificationManager.notify(NOTIFICATION_ID, builder.build()); in addToNotificationBar()
DCellBroadcastAlertDialog.java403 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification()
485 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
DCellBroadcastListActivity.java63 .cancel(CellBroadcastAlertService.NOTIFICATION_ID); in onCreate()
/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/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java87 public static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in SapServer
290 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification()
296 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()
DPhoneService.java65 noMa.cancel(NotificationService.NOTIFICATION_ID + id); in onHandleIntent()
DProgressService.java59 noMa.notify(NotificationService.NOTIFICATION_ID + mId, in run()
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
359 mNotificationManager.notify(NOTIFICATION_ID, notification); in postMediaNotification()