Searched defs:notifications (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsService.java63 final Notification[] notifications = intent.hasExtra(EXTRA_DEVICE_NOTIFICATIONS) ?
66 return updateForegroundState(ids, notifications) ? START_STICKY : START_NOT_STICKY;
76 @Nullable int[] ids, @Nullable Notification[] notifications) {
81 Preconditions.checkArgument(notifications != null);
82 Preconditions.checkArgument(ids.length == notifications.length);
89 startForeground(ids[i], notifications[i]);
93 mNotificationManager.notify(ids[i], notifications[i]);
118 final Notification[] notifications = new Notification[src.length];
120 notifications[i] = (Notification) src[i];
122 return notifications;
75 updateForegroundState( @ullable int[] ids, @Nullable Notification[] notifications) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java153 private static final String NOTIFICATIONS_DIR = "/notifications/";
627 boolean notifications = (lowpath.indexOf(NOTIFICATIONS_DIR) > 0);
631 (!ringtones && !notifications && !alarms && !podcasts);
651 result = endFile(entry, ringtones, notifications, alarms, music, podcasts);
900 private Uri endFile(FileEntry entry, boolean ringtones, boolean notifications, argument
943 values.put(Audio.Media.IS_NOTIFICATION, notifications);
1014 // notifications, ringtones, and alarms, because the rowId of the inserted file is
1016 if (notifications && !mDefaultNotificationSet) {
1089 if (notifications) {

Completed in 759 milliseconds