HomeSort by relevance Sort by last modified time
    Searched refs:notificationManager (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
NotificationManagerTest.java 4 import android.app.NotificationManager;
18 private NotificationManager notificationManager;
23 notificationManager = (NotificationManager) Robolectric.application.getSystemService(Context.NOTIFICATION_SERVICE);
28 notificationManager.notify(1, notification1);
29 assertEquals(1, shadowOf(notificationManager).size());
30 assertEquals(notification1, shadowOf(notificationManager).getNotification(1));
32 notificationManager.notify(31, notification2);
33 assertEquals(2, shadowOf(notificationManager).size())
    [all...]
  /frameworks/support/v4/api24/android/support/v4/app/
NotificationManagerCompatApi24.java 18 import android.app.NotificationManager;
22 public static boolean areNotificationsEnabled(NotificationManager notificationManager) {
23 return notificationManager.areNotificationsEnabled();
26 public static int getImportance(NotificationManager notificationManager) {
27 return notificationManager.getImportance();
  /frameworks/support/v4/eclair/android/support/v4/app/
NotificationManagerCompatEclair.java 20 import android.app.NotificationManager;
23 static void cancelNotification(NotificationManager notificationManager, String tag,
25 notificationManager.cancel(tag, id);
28 public static void postNotification(NotificationManager notificationManager, String tag, int id,
30 notificationManager.notify(tag, id, notification);
  /packages/apps/Messaging/src/com/android/messaging/sms/
SmsStorageStatusManager.java 82 final NotificationManagerCompat notificationManager =
85 notificationManager.notify(getNotificationTag(),
93 final NotificationManagerCompat notificationManager =
95 notificationManager.cancel(getNotificationTag(),
  /developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
48 NotificationManager notificationManager = context
49 .getSystemService(NotificationManager.class);
57 notificationManager.notify(alarm.id, builder.build());
  /developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
48 NotificationManager notificationManager = context
49 .getSystemService(NotificationManager.class);
57 notificationManager.notify(alarm.id, builder.build());
  /development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
48 NotificationManager notificationManager = context
49 .getSystemService(NotificationManager.class);
57 notificationManager.notify(alarm.id, builder.build());
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DndCondition.java 19 import android.app.NotificationManager;
46 NotificationManager notificationManager =
47 mManager.getContext().getSystemService(NotificationManager.class);
48 mZen = notificationManager.getZenMode();
51 mConfig = notificationManager.getZenModeConfig();
122 NotificationManager notificationManager = mManager.getContext().getSystemService(
123 NotificationManager.class);
124 notificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG)
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
NotificationManagerCompat.java 20 import android.app.NotificationManager;
49 * Compatibility library for NotificationManager with fallbacks for older platforms.
96 private final NotificationManager mNotificationManager;
149 mNotificationManager = (NotificationManager) mContext.getSystemService(
156 void cancelNotification(NotificationManager notificationManager, String tag, int id);
158 void postNotification(NotificationManager notificationManager, String tag, int id,
163 boolean areNotificationsEnabled(Context context, NotificationManager notificationManager);
    [all...]
  /packages/apps/Settings/src/com/android/settings/sim/
SimSelectNotification.java 19 import android.app.NotificationManager;
131 NotificationManager notificationManager =
132 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
133 notificationManager.notify(NOTIFICATION_ID, builder.build());
137 NotificationManager notificationManager =
138 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
139 notificationManager.cancel(NOTIFICATION_ID);
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DialogSmsDisplay.java 22 import android.app.NotificationManager;
67 NotificationManager notificationManager =
68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
69 notificationManager.cancel(notificationId);
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/TV/usbtuner/src/com/android/usbtuner/setup/
TunerSetupActivity.java 22 import android.app.NotificationManager;
227 NotificationManager notificationManager = (NotificationManager) context
229 notificationManager.notify(NOTIFY_TAG, NOTIFY_ID, notification);
238 NotificationManager notificationManager = (NotificationManager) context
240 notificationManager.cancel(NOTIFY_TAG, NOTIFY_ID);
  /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);

Completed in 1555 milliseconds

1 2 3