Searched refs:NotificationManager (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/support/v4/eclair/android/support/v4/app/
H A DNotificationManagerCompatEclair.java20 import android.app.NotificationManager;
23 static void cancelNotification(NotificationManager notificationManager, String tag,
28 public static void postNotification(NotificationManager notificationManager, String tag, int id,
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestAlertActivity.java4 import android.app.NotificationManager;
27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
H A DTestActivity.java21 import android.app.NotificationManager;
H A DStatusBarTest.java20 import android.app.NotificationManager;
35 NotificationManager mNotificationManager;
55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
H A DNotificationBuilderTest.java23 import android.app.NotificationManager;
54 NotificationManager mNM;
61 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java21 import android.app.NotificationManager;
33 NotificationManager mNotificationManager;
46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java73 public class NotificationManager class
75 private static String TAG = "NotificationManager";
101 /*package*/ NotificationManager(Context context, Handler handler) method in class:NotificationManager
107 public static NotificationManager from(Context context) {
108 return (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java53 private NotificationManager mNotificationManager;
60 mNotificationManager = (NotificationManager) mContext.getSystemService(
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationManagerCompat.java20 import android.app.NotificationManager;
48 * Compatibility library for NotificationManager with fallbacks for older platforms.
95 private final NotificationManager mNotificationManager;
108 mNotificationManager = (NotificationManager) mContext.getSystemService(
115 void cancelNotification(NotificationManager notificationManager, String tag, int id);
117 void postNotification(NotificationManager notificationManager, String tag, int id,
125 public void cancelNotification(NotificationManager notificationManager, String tag,
131 public void postNotification(NotificationManager notificationManager, String tag, int id,
144 public void cancelNotification(NotificationManager notificationManager, String tag,
150 public void postNotification(NotificationManager notificationManage
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java21 import android.app.NotificationManager;
64 NotificationManager mNotificationManager;
75 //mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeControllerImpl.java21 import android.app.NotificationManager;
168 return NotificationManager.from(mContext).getEffectsSuppressor();
235 if (NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED.equals(intent.getAction())) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java20 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java20 import android.app.NotificationManager;
280 NotificationManager notificationManager = (NotificationManager) mContext
365 NotificationManager notificationManager = (NotificationManager) mContext
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java24 import android.app.NotificationManager;
248 //post intent to NotificationManager to display icon if necessary
447 * This method sends a notification to NotificationManager to display
462 NotificationManager mNotificationMgr =
463 (NotificationManager)context.getSystemService(
497 NotificationManager mNotificationMgr =
498 (NotificationManager)context.getSystemService(
/frameworks/base/services/core/java/com/android/server/net/
H A DLockdownVpnTracker.java22 import android.app.NotificationManager;
345 NotificationManager.from(mContext).notify(TAG, 0, builder.build());
349 NotificationManager.from(mContext).cancel(TAG, 0);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java6 import android.app.NotificationManager;
144 NotificationManager mNoMan = null;
148 mNoMan = (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE);
H A DOnePlayerActivity.java21 import android.app.NotificationManager;
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportReceiver.java25 import android.app.NotificationManager;
98 NotificationManager.from(context).notify(TAG, 0, builder.build());
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java22 import android.app.NotificationManager;
357 NotificationManager notificationManager = (NotificationManager) mContext
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java21 import android.app.NotificationManager;
61 private final NotificationManager mNotificationManager;
65 mNotificationManager = (NotificationManager)
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java20 import android.app.NotificationManager;
75 private final NotificationManager mNoMan;
97 mNoMan = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java26 import android.app.NotificationManager;
102 private final NotificationManager mNotificationManager;
120 NotificationManager nManager, int nId) {
363 private NotificationManager mNotificationManager;
421 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
715 static void notifyScreenshotError(Context context, NotificationManager nManager) {
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java24 import android.app.NotificationManager;
88 private NotificationManager mNotificationManager;
589 mNotificationManager = (NotificationManager)
/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java23 import android.app.NotificationManager;
767 NotificationManager notificationManager = (NotificationManager) mContext
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java23 import android.app.NotificationManager;

Completed in 2908 milliseconds

12