Home
last modified time | relevance | path

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

12

/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/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java46 static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPairingService
109 mNm.cancel(NOTIFICATION_ID);
138 mNm.cancel(NOTIFICATION_ID); in onStartCommand()
148 mNm.cancel(NOTIFICATION_ID); in onStartCommand()
222 mNm.notify(NOTIFICATION_ID, builder.build()); in createPairingNotification()
DBluetoothPermissionRequest.java45 private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in BluetoothPermissionRequest
197 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive() local
206 manager.cancel(getNotificationTag(mRequestType), NOTIFICATION_ID); in onReceive() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java43 public static final int NOTIFICATION_ID = SystemMessage.NOTE_WIFI_WRONG_PASSWORD; field in WrongPasswordNotifier
116 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
127 mNotificationManager.cancel(NOTIFICATION_ID); in dismissNotification()
DEapFailureNotifier.java52 public static final int NOTIFICATION_ID = SystemMessage.NOTE_WIFI_EAP_FAILURE; field in EapFailureNotifier
89 if ((activeNotification.getId() == NOTIFICATION_ID) in onEapFailure()
126 mNotificationManager.notify(NOTIFICATION_ID, in showNotification()
/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/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()
DVisualVoicemailUpdateTask.java130 if (notification.getId() != VisualVoicemailNotifier.NOTIFICATION_ID) { in getExistingNotificationCount()
154 if (notification.getId() != VisualVoicemailNotifier.NOTIFICATION_ID) { in getAndUpdateVoicemailsWithExistingNotification()
DMissedCallNotifier.java234 MissedCallConstants.NOTIFICATION_ID, in updateMissedCallNotification()
256 MissedCallConstants.NOTIFICATION_ID, in updateMissedCallNotification()
320 MissedCallConstants.NOTIFICATION_ID, in insertPostCallNotification()
/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/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/Contacts/src/com/android/contacts/
DSimImportService.java93 private static final int NOTIFICATION_ID = 100; field in SimImportService
283 startForeground(NOTIFICATION_ID, getImportingNotification()); in onPreExecute()
343 mNotificationManager.notify(NOTIFICATION_ID, notification); in onPostExecute()
/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/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingServiceTest.java96 verify(mNm).notify(eq(mBluetoothPairingService.NOTIFICATION_ID), any()); in receivePairingRequestAction_notificationShown()
110 verify(mNm).cancel(mBluetoothPairingService.NOTIFICATION_ID); in receiveDismissPairingAction_cancelPairing()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWrongPasswordNotifierTest.java110 verify(mWifiNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); in onWrongPasswordError()
132 verify(mWifiNotificationManager).cancel(eq(WrongPasswordNotifier.NOTIFICATION_ID)); in onNewConnectionAttemptWithPreviousWrongPasswordError()
DEapFailureNotifierTest.java125 verify(mWifiNotificationManager).notify(eq(EapFailureNotifier.NOTIFICATION_ID), any()); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
172 verify(mWifiNotificationManager).notify(eq(EapFailureNotifier.NOTIFICATION_ID), any()); in onEapFailureWithDefinedErrorCodeWithNotificationShownWithoutSameSsid()
245 verify(mWifiNotificationManager).notify(eq(EapFailureNotifier.NOTIFICATION_ID), any()); in onEapFailureWithUnknownErrorCode()
/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
171 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java245 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testDismiss()
265 eq(CellBroadcastAlertService.NOTIFICATION_ID)); in testOnNewIntent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java95 public static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth; field in SapServer
325 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification()
331 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapServerTest.java137 verify(notificationManager).notify(eq(SapServer.NOTIFICATION_ID), captor.capture()); in setNotification()
150 verify(notificationManager).cancel(SapServer.NOTIFICATION_ID); in clearNotification()
452 verify(notificationManager).notify(eq(SapServer.NOTIFICATION_ID), any()); in handleRfcommReply_statusIndMsg_whenInConnectedState_setsNotification()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java93 public static final int NOTIFICATION_ID = 1; field in CellBroadcastAlertService
807 notificationManager.notify(NOTIFICATION_ID, builder.build()); in addToNotificationBar()
938 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in playPendingAlert()
/packages/apps/Car/Provision/src/com/android/car/provision/
DDefaultActivity.java109 private static final int NOTIFICATION_ID = 108; field in DefaultActivity
492 notificationMgr.notify(NOTIFICATION_ID, notification); in notifySetupExited()

12