Home
last modified time | relevance | path

Searched refs:NotificationManager (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/support/v4/eclair/android/support/v4/app/
DNotificationManagerCompatEclair.java20 import android.app.NotificationManager;
23 static void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification()
28 public static void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DTestAlertActivity.java4 import android.app.NotificationManager;
27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPause()
DStatusBarTest.java20 import android.app.NotificationManager;
35 NotificationManager mNotificationManager;
55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in tests()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java21 import android.app.NotificationManager;
57 private final NotificationManager mNoMan;
82 mNoMan = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in ZenModeControllerImpl()
155 filter.addAction(NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED); in setUserId()
163 return NotificationManager.from(mContext).getEffectsSuppressor(); in getEffectsSuppressor()
168 return NotificationManager.from(mContext) in isCountdownConditionSupported()
256 if (NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED.equals(intent.getAction())) {
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
DFixVibrateSetting.java21 import android.app.NotificationManager;
33 NotificationManager mNotificationManager;
46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
/frameworks/base/docs/html/training/notify-user/
Dmanaging.jd51 calling {@link android.app.NotificationManager#notify(int, Notification)
52 NotificationManager.notify(ID, notification)}. To update this notification once you've issued
63 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
99 You call {@link android.app.NotificationManager#cancel(int) cancel()} for a specific
103 You call {@link android.app.NotificationManager#cancelAll() cancelAll()}, which removes
Dbuild-notification.jd135 <li>Get an instance of {@link android.app.NotificationManager}.</li>
137 <li>Use the {@link android.app.NotificationManager#notify notify()} method to issue the
138 notification. When you call {@link android.app.NotificationManager#notify notify()}, specify a noti…
154 // Gets an instance of the NotificationManager service
155 NotificationManager mNotifyMgr =
156 (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
Dnavigation.jd110 NotificationManager mNotificationManager =
111 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
219 // NotificationManager system service.
220 NotificationManager mNotificationManager =
221 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
223 // passes it to the NotificationManager
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java20 import android.app.NotificationManager;
95 private final NotificationManager mNotificationManager;
108 mNotificationManager = (NotificationManager) mContext.getSystemService( in NotificationManagerCompat()
115 void cancelNotification(NotificationManager notificationManager, String tag, int id); in cancelNotification()
117 void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification()
125 public void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification()
131 public void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification()
144 public void cancelNotification(NotificationManager notificationManager, String tag, in cancelNotification()
150 public void postNotification(NotificationManager notificationManager, String tag, int id, in postNotification()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl22 import android.app.NotificationManager;
90 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy()
91 void setNotificationPolicy(String pkg, in NotificationManager.Policy policy); in setNotificationPolicy()
DNotificationManager.aidl19 parcelable NotificationManager.Policy;
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java19 import android.app.NotificationManager;
59 private final NotificationManager mNotificationManager;
87 mNotificationManager = context.getSystemService(NotificationManager.class); in SeekBarVolumizer()
385 filter.addAction(NotificationManager.ACTION_INTERRUPTION_FILTER_CHANGED);
412 } else if (NotificationManager.ACTION_INTERRUPTION_FILTER_CHANGED.equals(action)) {
/frameworks/base/docs/html-intl/intl/zh-tw/preview/
Dsamples.jd66 <a href="{@docRoot}reference/android/app/NotificationManager.html"><code>NotificationManager</code>…
/frameworks/base/docs/html-intl/intl/ru/preview/
Dsamples.jd66 <a href="{@docRoot}reference/android/app/NotificationManager.html"><code>NotificationManager</code>…
/frameworks/base/docs/html-intl/intl/zh-cn/preview/
Dsamples.jd65 …此示例演示 <a href="{@docRoot}reference/android/app/NotificationManager.html"><code>NotificationManager
/frameworks/base/docs/html-intl/intl/ja/preview/
Dsamples.jd65 …れている通知の数を <a href="{@docRoot}reference/android/app/NotificationManager.html"><code>NotificationMan…
/frameworks/base/docs/html-intl/intl/ko/preview/
Dsamples.jd65 …이 샘플은 <a href="{@docRoot}reference/android/app/NotificationManager.html"><code>NotificationManager
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java53 private NotificationManager mNotificationManager;
60 mNotificationManager = (NotificationManager) mContext.getSystemService( in setUp()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java24 import android.app.NotificationManager;
73 = NotificationManager.INTERRUPTION_FILTER_ALL;
80 = NotificationManager.INTERRUPTION_FILTER_PRIORITY;
87 = NotificationManager.INTERRUPTION_FILTER_NONE;
94 = NotificationManager.INTERRUPTION_FILTER_ALARMS;
103 = NotificationManager.INTERRUPTION_FILTER_UNKNOWN;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java26 import android.app.NotificationManager;
104 private final NotificationManager mNotificationManager;
122 NotificationManager nManager, int nId) { in SaveImageInBackgroundTask()
412 private NotificationManager mNotificationManager;
470 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in GlobalScreenshot()
764 static void notifyScreenshotError(Context context, NotificationManager nManager) { in notifyScreenshotError()
797 final NotificationManager nm = in onReceive()
798 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
815 final NotificationManager nm = in onReceive()
816 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNotificationController.java20 import android.app.NotificationManager;
221 NotificationManager notificationManager = (NotificationManager) mContext in setNotificationVisible()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java23 import android.app.NotificationManager;
463 NotificationManager mNotificationMgr = in sendNotification()
464 (NotificationManager)context.getSystemService( in sendNotification()
498 NotificationManager mNotificationMgr = in cancelNotification()
499 (NotificationManager)context.getSystemService( in cancelNotification()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxService.java21 import android.app.NotificationManager;
64 NotificationManager mNotificationManager;
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java6 import android.app.NotificationManager;
144 NotificationManager mNoMan = null;
148 mNoMan = (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in updateNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeUI.java20 import android.app.NotificationManager;
60 private NotificationManager mNotificationManager;
72 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in start()

1234