HomeSort by relevance Sort by last modified time
    Searched refs:notificationManager (Results 76 - 100 of 114) sorted by null

1 2 34 5

  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertDialog.java 21 import android.app.NotificationManager;
408 NotificationManager notificationManager =
409 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
410 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID);
490 NotificationManager notificationManager =
491 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
492 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID);
CellBroadcastAlertService.java 24 import android.app.NotificationManager;
603 final NotificationManager notificationManager = NotificationManager.from(context);
658 notificationManager.notify(NOTIFICATION_ID, builder.build());
662 * Creates the notification channel and registers it with NotificationManager. If a channel
663 * with the same ID is already registered, NotificationManager will ignore this call.
666 NotificationManager.from(context).createNotificationChannel(
670 NotificationManager.IMPORTANCE_LOW));
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/receiver/
SmsReceiver.java 281 final NotificationManagerCompat notificationManager =
290 notificationManager.notify(getNotificationTag(),
298 final NotificationManagerCompat notificationManager =
300 notificationManager.cancel(getNotificationTag(),
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
UninstallerActivity.java 26 import android.app.NotificationManager;
286 NotificationManager notificationManager = getSystemService(NotificationManager.class);
289 NotificationManager.IMPORTANCE_MIN);
290 notificationManager.createNotificationChannel(uninstallingChannel);
298 notificationManager.notify(uninstallId, uninstallingNotification);
310 notificationManager.cancel(uninstallId);
  /packages/apps/Dialer/java/com/android/dialer/blocking/
FilteredNumbersUtil.java 19 import android.app.NotificationManager;
245 NotificationManager notificationManager =
246 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
266 notificationManager.notify(
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedConnection.java 20 import android.app.NotificationManager;
134 NotificationManager notificationManager = mContext.getSystemService(
135 NotificationManager.class);
136 notificationManager.notify(CALL_NOTIFICATION, mCallId, builder.build());
  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 22 import android.app.NotificationManager;
353 NotificationManager notificationManager = (NotificationManager) mContext
355 if (notificationManager == null) {
392 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(),
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageInstallerService.java 21 import android.app.NotificationManager;
564 getString(R.string.wear_app_channel), NotificationManager.IMPORTANCE_MIN);
565 NotificationManager notificationManager = getSystemService(NotificationManager.class);
566 notificationManager.createNotificationChannel(mNotificationChannel);
576 NotificationManager notificationManager = getSystemService(NotificationManager.class);
578 notificationManager.notify(notifPair.first, notifPair.second)
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
MainActivity.java 32 import android.app.NotificationManager;
261 final NotificationManager notificationManager = (NotificationManager) getSystemService(
299 notificationManager.notify(NOTIFICATION_DEFAULT, builder.getNotification());
  /packages/apps/Contacts/src/com/android/contacts/vcard/
NfcImportVCardActivity.java 21 import android.app.NotificationManager;
289 final NotificationManager notificationManager =
290 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
295 notificationManager.notify(NotificationImportExportListener.FAILURE_NOTIFICATION_TAG,
  /packages/apps/Bluetooth/src/com/android/bluetooth/sap/
SapServer.java 6 import android.app.NotificationManager;
214 NotificationManager notificationManager =
215 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
218 NotificationManager.IMPORTANCE_HIGH);
219 notificationManager.createNotificationChannel(notificationChannel);
291 notificationManager.notify(NOTIFICATION_ID, notification);
295 NotificationManager notificationManager =
296 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE)
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
MovieDetailsFragment.java 17 import android.app.NotificationManager;
112 NotificationManager notificationManager = (NotificationManager) getActivity()
114 notificationManager.cancel(notificationId);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptingLayerService.java 21 import android.app.NotificationManager;
105 NotificationManager notificationManager = getNotificationManager();
108 int importance = NotificationManager.IMPORTANCE_DEFAULT;
113 notificationManager.createNotificationChannel(channel);
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
MockSystemServices.java 30 import android.app.NotificationManager;
81 public final NotificationManager notificationManager;
115 notificationManager = mock(NotificationManager.class);
DevicePolicyManagerServiceTestable.java 19 import android.app.NotificationManager;
157 NotificationManager getNotificationManager() {
158 return services.notificationManager;
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
FileOperationServiceTest.java 105 assertNull(mService.notificationManager);
106 mService.notificationManager = mTestNotificationManager.createNotificationManager();
  /packages/apps/Email/src/com/android/email/
EmailNotificationController.java 21 import android.app.NotificationManager;
81 private final NotificationManager mNotificationManager;
92 mNotificationManager = (NotificationManager) context.getSystemService(
293 * for the specified account. Use {@link NotificationManager#cancel(int)}.
586 final NotificationManager notificationManager = getInstance(context).mNotificationManager;
588 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_LOGIN_WARNING + account.mId));
589 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_NEEDED + account.mId));
590 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_CHANGED + account.mId));
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationActionUtils.java 20 import android.app.NotificationManager;
    [all...]
NotificationUtils.java     [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Tethering.java 34 import android.app.NotificationManager;
714 NotificationManager notificationManager =
715 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
716 if (notificationManager == null) {
737 notificationManager.cancelAsUser(null, mLastNotificationId,
    [all...]
  /cts/tests/app/src/android/app/cts/
ServiceTest.java 22 import android.app.NotificationManager;
182 private NotificationManager getNotificationManager() {
183 NotificationManager notificationManager =
184 (NotificationManager) getContext().getSystemService(Context.NOTIFICATION_SERVICE);
185 return notificationManager;
409 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT));
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerService.java 27 import android.app.NotificationManager;
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleNotifications.java 217 final NotificationManagerCompat notificationManager =
234 notificationManager.cancel(notificationTag, type);
512 // We have to make copies of the bitmaps to hand to the NotificationManager
    [all...]
MessageNotificationState.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
UpdateHandler.java 23 import android.app.NotificationManager;
    [all...]

Completed in 2388 milliseconds

1 2 34 5