/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
WorkNotificationTestActivity.java | 21 import android.app.NotificationManager; 41 final NotificationManager notificationManager = (NotificationManager) 50 notificationManager.notify(NOTIFICATION_ID, notification); 52 notificationManager.cancel(NOTIFICATION_ID);
|
/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);
|
/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/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());
|
/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());
|
/external/robolectric/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...] |
/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());
|
DialogSmsDisplay.java | 22 import android.app.NotificationManager; 67 NotificationManager notificationManager = 68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); 69 notificationManager.cancel(notificationId);
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReadReceiver.java | 19 import android.app.NotificationManager; 38 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context); 39 notificationManager.cancel(conversationId);
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageReadReceiver.java | 19 import android.app.NotificationManager; 38 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context); 39 notificationManager.cancel(conversationId);
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessageReadReceiver.java | 19 import android.app.NotificationManager; 38 NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context); 39 notificationManager.cancel(conversationId);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
BootReminder.java | 23 import android.app.NotificationManager; 161 final NotificationManager notificationManager = (NotificationManager) 164 notificationManager.cancel(NOTIFY_ID); 178 notificationManager.notify(NOTIFY_ID, notify.build());
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimBootReceiver.java | 22 import android.app.NotificationManager; 135 NotificationManager notificationManager = 136 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); 137 notificationManager.notify(NOTIFICATION_ID, builder.build()); 141 NotificationManager notificationManager = 142 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); 143 notificationManager.cancel(NOTIFICATION_ID);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 20 import android.app.NotificationManager; 280 NotificationManager notificationManager = (NotificationManager) mContext 283 if (notificationManager == null) { 339 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification, 342 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL); 365 NotificationManager notificationManager = (NotificationManager) mContex [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNotificationController.java | 20 import android.app.NotificationManager; 44 * be the ID of the Notification given to the NotificationManager. 66 * The Notification object given to the NotificationManager. 221 NotificationManager notificationManager = (NotificationManager) mContext 255 notificationManager.notifyAsUser(null, ICON_NETWORKS_AVAILABLE, mNotification, 258 notificationManager.cancelAsUser(null, ICON_NETWORKS_AVAILABLE, UserHandle.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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertService.java | 21 import android.app.NotificationManager; 403 NotificationManager notificationManager = 404 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); 406 notificationManager.notify(NOTIFICATION_ID, builder.build());
|
CellBroadcastAlertFullScreen.java | 21 import android.app.NotificationManager; 327 NotificationManager notificationManager = 328 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); 329 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID);
|
/frameworks/base/services/print/java/com/android/server/print/ |
PrintManagerService.java | 23 import android.app.NotificationManager; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerReceiver.java | 21 import android.app.NotificationManager; 350 NotificationManager notificationManager = 351 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); 352 notificationManager.notify(notificationId, notification); 412 NotificationManager notificationManager = 413 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); 414 notificationManager.cancel(IN_USE_NOTIFICATION_ID); 471 ((NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE)).notify [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPermissionRequest.java | 20 import android.app.NotificationManager; 163 NotificationManager notificationManager = 164 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); 166 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, 171 NotificationManager manager = (NotificationManager) context
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 22 import android.app.NotificationManager; 357 NotificationManager notificationManager = (NotificationManager) mContext 359 if (notificationManager == null) { 393 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification,
|
/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...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Tethering.java | 20 import android.app.NotificationManager; 448 NotificationManager notificationManager = 449 (NotificationManager)mContext.getSystemService(Context.NOTIFICATION_SERVICE); 450 if (notificationManager == null) { 458 notificationManager.cancelAsUser(null, mTetheredNotification.icon, 488 notificationManager.notifyAsUser(null, mTetheredNotification.icon, 493 NotificationManager notificationManager = 494 (NotificationManager)mContext.getSystemService(Context.NOTIFICATION_SERVICE) [all...] |