Searched refs:mNotifications (Results 1 - 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
H A DTestNotificationManager.java36 private final SparseArray<HashMap<String, Notification>> mNotifications = new SparseArray<>(); field in class:TestNotificationManager
50 if (mNotifications.get(id) == null) {
51 mNotifications.put(id, new HashMap<>());
54 mNotifications.get(id).put(tag, notification);
58 final HashMap<String, Notification> idMap = mNotifications.get(id);
97 for (int i = 0; i < mNotifications.size(); ++i) {
98 count += mNotifications.valueAt(i).size();
/packages/apps/Dialer/java/com/android/incallui/
H A DExternalCallNotifier.java68 private Map<Call, NotificationInfo> mNotifications = new ArrayMap<>(); field in class:ExternalCallNotifier
88 if (mNotifications.containsKey(call)) {
92 mNotifications.put(call, info);
111 if (!mNotifications.containsKey(call)) {
114 postNotification(mNotifications.get(call));
130 for (NotificationInfo info : mNotifications.values()) {
167 if (mNotifications.containsKey(info.getCall())) {
177 if (mNotifications.containsKey(info.getCall())) {
186 if (!mNotifications.containsKey(call)) {
192 notificationManager.cancel(NOTIFICATION_TAG, mNotifications
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationFooterLayout.java60 private final List<NotificationInfo> mNotifications = new ArrayList<>(); field in class:NotificationFooterLayout
110 if (mNotifications.size() < MAX_FOOTER_NOTIFICATIONS) {
111 mNotifications.add(notificationInfo);
124 for (int i = 0; i < mNotifications.size(); i++) {
125 NotificationInfo info = mNotifications.get(i);
176 mNotifications.add(notification);
196 mNotifications.remove((NotificationInfo) child.getTag());
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
H A DNotificationListenerActivity.java90 List<StatusBarNotification> notifications = mStatusAdaptor.mNotifications;
220 private List<StatusBarNotification> mNotifications; field in class:NotificationListenerActivity.StatusAdaptor
236 return mNotifications == null ? 0 : mNotifications.size();
241 final StatusBarNotification sbn = mNotifications.get(position);
259 StatusBarNotification sbn = mNotifications.get(position);
282 if (mNotifications != null) {
283 synchronized (mNotifications) {
284 for (int i = 0; i < mNotifications.size(); i++) {
285 if (mNotifications
[all...]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationService.java195 ArrayList<Notification> mNotifications = new ArrayList<Notification>();
198 final int id = mNotifications.size();
199 mNotifications.add(makeSmsNotification(this, 2, id, System.currentTimeMillis()));
203 final int id = mNotifications.size();
205 mNotifications.add(makeUploadNotification(this, 10, uploadWhen));
210 final int id = mNotifications.size();
241 mNotifications.add(phoneCall.build());
246 mNotifications.add(new NotificationCompat.Builder(this)
257 mNotifications.add(new NotificationCompat.Builder(this)
280 mNotifications
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java100 private HashMap<String, NotificationItem> mNotifications; field in class:BluetoothOppNotification
151 mNotifications = new HashMap<String, NotificationItem>();
255 mNotifications.clear();
276 if (mNotifications.containsKey(batchID)) {
297 mNotifications.put(batchID, item);
306 for (NotificationItem item : mNotifications.values()) {

Completed in 2999 milliseconds