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/";
648 boolean notifications = mScanSuccess &&
653 (!ringtones && !notifications && !alarms && !podcasts));
655 result = endFile(entry, ringtones, notifications, alarms, music, podcasts);
910 private Uri endFile(FileEntry entry, boolean ringtones, boolean notifications, argument
953 values.put(Audio.Media.IS_NOTIFICATION, notifications);
1025 // notifications, ringtones, and alarms, because the rowId of the inserted file is
1027 if (notifications && !mDefaultNotificationSet) {
1100 if (notifications) {

Completed in 53 milliseconds