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

1 23 4 5

  /frameworks/base/packages/Osu/src/com/android/hotspot2/app/
MainActivity.java 6 import android.app.NotificationManager;
224 NotificationManager notificationManager =
225 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
226 notificationManager.notify(NOTIFICATION_ID, builder.build());
230 NotificationManager notificationManager =
231 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
232 notificationManager.cancel(NOTIFICATION_ID);
262 NotificationManager notificationManager
    [all...]
  /cts/hostsidetests/services/activityandwindowmanager/displayserviceapp/app/src/android/server/displayservice/
VirtualDisplayService.java 24 import android.app.NotificationManager;
53 NotificationManager notificationManager = getSystemService(NotificationManager.class);
54 notificationManager.createNotificationChannel(new NotificationChannel(
56 NotificationManager.IMPORTANCE_DEFAULT));
  /cts/tests/app/app/src/android/app/stubs/
LocalForegroundService.java 21 import android.app.NotificationManager;
55 NotificationManager notificationManager = getSystemService(NotificationManager.class);
56 notificationManager.createNotificationChannel(new NotificationChannel(
58 NotificationManager.IMPORTANCE_DEFAULT));
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
ServiceIntentSender.java 22 import android.app.NotificationManager;
44 NotificationManager.IMPORTANCE_LOW);
45 final NotificationManager notificationManager =
46 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
47 notificationManager.createNotificationChannel(mChannel);
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
SmsMessageReceiver.java 20 import android.app.NotificationManager;
67 NotificationManager notificationManager =
68 (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE);
70 notificationManager.notify(notificationId, notification.getNotification());
  /packages/apps/Dialer/java/com/android/dialer/notification/
NotificationChannelManager.java 21 import android.app.NotificationManager;
57 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
78 notificationManager.deleteNotificationChannel(existingChannelId);
100 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
101 for (NotificationChannel channel : notificationManager.getNotificationChannels()) {
122 NotificationManager.IMPORTANCE_MAX)
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
UninstallFinish.java 21 import android.app.NotificationManager;
72 NotificationManager notificationManager =
73 context.getSystemService(NotificationManager.class);
79 NotificationManager.IMPORTANCE_DEFAULT);
80 notificationManager.createNotificationChannel(uninstallFailureChannel);
87 notificationManager.cancel(uninstallId);
196 notificationManager.notify(uninstallId, uninstallFailedNotification.build());
  /external/sl4a/Utils/src/com/googlecode/android_scripting/
Log.java 22 import android.app.NotificationManager;
51 private static void createNotificationChannel(Context context, NotificationManager notificationManager) {
54 int importance = NotificationManager.IMPORTANCE_DEFAULT;
59 notificationManager.createNotificationChannel(channel);
65 NotificationManager notificationManager =
66 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
67 createNotificationChannel(context, notificationManager);
80 notificationManager.notify(NotificationIdFactory.create(), note)
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/
ExternalCallNotifier.java 21 import android.app.NotificationManager;
190 NotificationManager notificationManager =
191 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
192 notificationManager.cancel(NOTIFICATION_TAG, mNotifications.get(call).getNotificationId());
199 notificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_SUMMARY_ID);
296 NotificationManager notificationManager =
297 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
298 notificationManager.notify(NOTIFICATION_TAG, info.getNotificationId(), notification)
    [all...]
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 122 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);
123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
UtilityService.java 20 import android.app.NotificationManager;
112 NotificationManager notificationManager =
113 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 122 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);
123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
UtilityService.java 20 import android.app.NotificationManager;
112 NotificationManager notificationManager =
113 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
  /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
ListenerService.java 122 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);
123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
UtilityService.java 20 import android.app.NotificationManager;
112 NotificationManager notificationManager =
113 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
TriggerService.java 22 import android.app.NotificationManager;
107 NotificationManager notificationManager = getNotificationManager();
110 int importance = NotificationManager.IMPORTANCE_DEFAULT;
115 notificationManager.createNotificationChannel(channel);
  /packages/apps/DeskClock/src/com/android/deskclock/settings/
AlarmVolumePreference.java 20 import android.app.NotificationManager;
135 final NotificationManager notificationManager = (NotificationManager)
137 return notificationManager.getCurrentInterruptionFilter() !=
138 NotificationManager.INTERRUPTION_FILTER_NONE;
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
LegacyVoicemailNotifier.java 21 import android.app.NotificationManager;
81 .getSystemService(NotificationManager.class)
151 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
152 notificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID);
MissedCallNotifier.java 20 import android.app.NotificationManager;
209 NotificationManager manager = getNotificationMgr();
225 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
226 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) {
229 notificationManager.cancel(tag, notification.getId());
242 NotificationManager notificationManager = context.getSystemService(NotificationManager.class)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
RingerTest.java 19 import android.app.NotificationManager;
68 NotificationManager notificationManager =
69 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
70 when(notificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(true);
125 NotificationManager notificationManager =
126 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
127 when(notificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(false);
  /cts/apps/NotificationBot/src/com/android/cts/robot/
NotificationBot.java 21 import android.app.NotificationManager;
73 NotificationManager noMa =
74 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
85 NotificationManager noMa =
86 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
105 final NotificationManager nm = context.getSystemService(NotificationManager.class);
138 NotificationManager notificationManager =
139 context.getSystemService(NotificationManager.class)
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
EncryptionController.java 23 import android.app.NotificationManager;
204 NotificationManager notificationManager = (NotificationManager)
207 mContext.getString(R.string.encrypt), NotificationManager.IMPORTANCE_HIGH);
208 notificationManager.createNotificationChannel(channel);
223 notificationManager.notify(NOTIFICATION_ID, notify.build());
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 23 import android.app.NotificationManager;
335 final NotificationManager notificationManager =
336 (NotificationManager) getActivity().getSystemService(Service.NOTIFICATION_SERVICE);
338 new NotificationChannel("id", "name", NotificationManager.IMPORTANCE_DEFAULT);
344 notificationManager.createNotificationChannel(channel);
346 notificationManager.getNotificationChannel(channel.getId());
381 notificationManager
398 notificationManager.deleteNotificationChannel(channel.getId());
  /packages/apps/TV/src/com/android/tv/tuner/setup/
TunerSetupActivity.java 23 import android.app.NotificationManager;
413 NotificationManager notificationManager = (NotificationManager) context
415 notificationManager.notify(NOTIFY_TAG, NOTIFY_ID, notification);
420 NotificationManager notificationManager = (NotificationManager) context.getSystemService(
422 notificationManager.createNotificationChannel(new NotificationChannel(
425 NotificationManager.IMPORTANCE_HIGH))
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 21 import android.app.NotificationManager;
161 NotificationManager notificationManager =
162 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
166 NotificationManager.IMPORTANCE_HIGH);
167 notificationManager.createNotificationChannel(mNotificationChannel);
189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID,
194 NotificationManager manager = (NotificationManager) context

Completed in 2081 milliseconds

1 23 4 5