/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmNotifications.java | 40 NotificationCompat.Builder notification = new NotificationCompat.Builder(context) in showLowPriorityNotification() local 56 notification.setDeleteIntent(PendingIntent.getService(context, instance.hashCode(), in showLowPriorityNotification() 62 notification.addAction(R.drawable.ic_alarm_off_24dp, in showLowPriorityNotification() 69 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showLowPriorityNotification() 73 nm.notify(instance.hashCode(), notification.build()); in showLowPriorityNotification() 79 NotificationCompat.Builder notification = new NotificationCompat.Builder(context) in showHighPriorityNotification() local 96 notification.addAction(R.drawable.ic_alarm_off_24dp, in showHighPriorityNotification() 103 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showHighPriorityNotification() 107 nm.notify(instance.hashCode(), notification.build()); in showHighPriorityNotification() 113 NotificationCompat.Builder notification = new NotificationCompat.Builder(context) in showSnoozeNotification() local [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | NotificationImportExportListener.java | 91 final Notification notification = constructProgressNotification(mContext, in onImportProcessed() local 93 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onImportProcessed() 112 final Notification notification = constructProgressNotification( in onImportParsed() local 115 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onImportParsed() 134 final Notification notification = in onImportFinished() local 138 jobId, notification); in onImportFinished() 153 final Notification notification = in onImportCanceled() local 156 jobId, notification); in onImportCanceled() 166 final Notification notification = in onExportProcessed() local 169 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); in onExportProcessed() [all …]
|
D | ExportProcessor.java | 270 final Notification notification = in doProgressNotification() local 275 mJobId, notification); in doProgressNotification() 282 final Notification notification = in doCancelNotification() local 285 mJobId, notification); in doCancelNotification() 292 final Notification notification = in doFinishNotification() local 296 mJobId, notification); in doFinishNotification() 312 final Notification notification = in doFinishNotificationWithShareAction() local 316 mJobId, notification); in doFinishNotificationWithShareAction()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 380 for (NotificationKey notification : keys) { in resendNotifications() 381 final Folder folder = notification.folder; in resendNotifications() 383 getNotificationId(notification.account.getAccountManagerAccount(), folder); in resendNotifications() 387 if (accountUri != null && !Objects.equal(accountUri, notification.account.uri) && in resendNotifications() 391 notification.account.uri, folder.folderUri, accountUri, folderUri); in resendNotifications() 396 notification.account.uri, folder.folderUri); in resendNotifications() 401 validateNotifications(context, folder, notification.account, true, in resendNotifications() 402 false, notification, contactFetcher); in resendNotifications() 427 for (NotificationKey notification : keys) { in validateAccountNotifications() 428 if (notification.account.getAccountManagerAccount().name.equals(email)) { in validateAccountNotifications() [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Ranking.java | 44 import com.android.settings.notification.ConfigureNotificationSettings; 45 import com.android.settings.notification.OtherSoundSettings; 46 import com.android.settings.notification.SoundSettings; 47 import com.android.settings.notification.ZenModeAutomationSettings; 48 import com.android.settings.notification.ZenModePrioritySettings; 49 import com.android.settings.notification.ZenModeSettings; 50 import com.android.settings.notification.ZenModeVisualInterruptionSettings;
|
D | SearchIndexableResources.java | 45 import com.android.settings.notification.ConfigureNotificationSettings; 46 import com.android.settings.notification.OtherSoundSettings; 47 import com.android.settings.notification.SoundSettings; 48 import com.android.settings.notification.ZenModePrioritySettings; 49 import com.android.settings.notification.ZenModeSettings; 50 import com.android.settings.notification.ZenModeVisualInterruptionSettings;
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarNavExtender.java | 118 public CarNavExtender(@NonNull Notification notification) { in CarNavExtender() argument 119 Bundle extras = NotificationCompat.getExtras(notification); in CarNavExtender() 176 public static boolean isExtended(Notification notification) { in isExtended() argument 177 Bundle extras = NotificationCompat.getExtras(notification); in isExtended() 241 public static int getType(Notification notification) { in getType() argument 242 Bundle extras = NotificationCompat.getExtras(notification); in getType()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | MissedCallNotifier.java | 174 Notification notification = builder.build(); in updateMissedCallNotification() local 175 configureLedOnNotification(notification); in updateMissedCallNotification() 178 getNotificationMgr().notify(NOTIFICATION_TAG, NOTIFICATION_ID, notification); in updateMissedCallNotification() 275 private void configureLedOnNotification(Notification notification) { in configureLedOnNotification() argument 276 notification.flags |= Notification.FLAG_SHOW_LIGHTS; in configureLedOnNotification() 277 notification.defaults |= Notification.DEFAULT_LIGHTS; in configureLedOnNotification()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 374 NotificationWrapper notification; in generateAlerts() local 380 notification = AlertReceiver.makeBasicNotification(context, info.eventName, in generateAlerts() 386 notification = AlertReceiver.makeDigestNotification(context, in generateAlerts() 391 addNotificationOptions(notification, true, expiredDigestTitle, in generateAlerts() 402 nm.notify(AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID, notification); in generateAlerts() 871 NotificationWrapper notification = AlertReceiver.makeExpandingNotification(context, in postNotification() local 884 addNotificationOptions(notification, quietUpdate, tickerText, in postNotification() 889 notificationMgr.notify(notificationId, notification); in postNotification() 933 Notification notification = nw.mNotification; in addNotificationOptions() local 935 notification.flags |= Notification.FLAG_SHOW_LIGHTS; in addNotificationOptions() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 785 Notification notification = null; in createPbapNotification() local 790 notification = new Notification(android.R.drawable.stat_sys_data_bluetooth, in createPbapNotification() 792 notification.color = getResources().getColor( in createPbapNotification() 794 notification.setLatestEventInfo(this, getString(R.string.auth_notif_title), in createPbapNotification() 798 notification.flags |= Notification.FLAG_AUTO_CANCEL; in createPbapNotification() 799 notification.flags |= Notification.FLAG_ONLY_ALERT_ONCE; in createPbapNotification() 800 notification.defaults = Notification.DEFAULT_SOUND; in createPbapNotification() 801 notification.deleteIntent = PendingIntent.getBroadcast(this, 0, deleteIntent, 0); in createPbapNotification() 802 nm.notify(NOTIFICATION_ID_AUTH, notification); in createPbapNotification()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsActivity.java | 97 import com.android.settings.notification.AppNotificationSettings; 98 import com.android.settings.notification.ConfigureNotificationSettings; 99 import com.android.settings.notification.NotificationAccessSettings; 100 import com.android.settings.notification.NotificationStation; 101 import com.android.settings.notification.OtherSoundSettings; 102 import com.android.settings.notification.SoundSettings; 103 import com.android.settings.notification.ZenAccessSettings; 104 import com.android.settings.notification.ZenModeAutomationSettings; 105 import com.android.settings.notification.ZenModeEventRuleSettings; 106 import com.android.settings.notification.ZenModePrioritySettings; [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeVoiceActivity.java | 17 package com.android.settings.notification; 26 import android.service.notification.Condition; 27 import android.service.notification.ZenModeConfig;
|
D | RedactionSettingsStandalone.java | 17 package com.android.settings.notification; 23 import com.android.settings.notification.RedactionInterstitial.RedactionInterstitialFragment;
|
D | AppNotificationSettings.java | 17 package com.android.settings.notification; 28 import android.service.notification.NotificationListenerService.Ranking; 37 import com.android.settings.notification.NotificationBackend.AppRow;
|
D | ZenModeScheduleRuleSettings.java | 17 package com.android.settings.notification; 30 import android.service.notification.ZenModeConfig; 31 import android.service.notification.ZenModeConfig.ScheduleInfo; 47 import static com.android.settings.notification.ZenModeScheduleDaysSelection.DAYS;
|
D | OtherSoundSettings.java | 17 package com.android.settings.notification; 45 import static com.android.settings.notification.SettingPref.TYPE_GLOBAL; 46 import static com.android.settings.notification.SettingPref.TYPE_SYSTEM;
|
D | NotificationStation.java | 17 package com.android.settings.notification; 30 import android.service.notification.NotificationListenerService; 31 import android.service.notification.NotificationListenerService.Ranking; 32 import android.service.notification.NotificationListenerService.RankingMap; 33 import android.service.notification.StatusBarNotification; 98 public void onNotificationRemoved(StatusBarNotification notification, RankingMap ranking) {
|
D | ZenModeEventRuleSettings.java | 17 package com.android.settings.notification; 27 import android.service.notification.ZenModeConfig; 28 import android.service.notification.ZenModeConfig.EventInfo;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 22 import android.service.notification.NotificationListenerService; 25 import com.android.settings.notification.NotificationBackend; 26 import com.android.settings.notification.NotificationBackend.AppRow;
|
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
D | Listener.java | 29 import android.service.notification.NotificationListenerService; 30 import android.service.notification.NotificationListenerService.Ranking; 31 import android.service.notification.NotificationListenerService.RankingMap; 32 import android.service.notification.StatusBarNotification;
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | MissedCallNotifierImpl.java | 396 Notification notification = builder.build(); in showMissedCallNotification() local 397 configureLedOnNotification(notification); in showMissedCallNotification() 403 null /* tag */, MISSED_CALL_NOTIFICATION_ID, notification, userHandle); in showMissedCallNotification() 550 private void configureLedOnNotification(Notification notification) { in configureLedOnNotification() argument 551 notification.flags |= Notification.FLAG_SHOW_LIGHTS; in configureLedOnNotification() 552 notification.defaults |= Notification.DEFAULT_LIGHTS; in configureLedOnNotification()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsStorageStatusManager.java | 80 final Notification notification = bigTextStyle.build(); in postStorageLowNotification() local 86 PendingIntentConstants.SMS_STORAGE_LOW_NOTIFICATION_ID, notification); in postStorageLowNotification() local
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | StatusBarNotifier.java | 319 Notification notification = builder.build(); in buildAndSendNotification() local 322 notification.flags |= Notification.FLAG_INSISTENT; in buildAndSendNotification() 323 notification.sound = contactInfo.contactRingtoneUri; in buildAndSendNotification() 327 notification.audioAttributes = audioAttributes.build(); in buildAndSendNotification() 329 notification.vibrate = VIBRATE_PATTERN; in buildAndSendNotification() 342 mNotificationManager.notify(notificationType, notification); in buildAndSendNotification()
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | SmsMessageReceiver.java | 56 Notification.Builder notification = new Notification.Builder(context) in addNotification() local 70 notificationManager.notify(notificationId, notification.getNotification()); in addNotification()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionRequest.java | 161 Notification notification = new Notification.Builder(context) in onReceive() local 177 notification.flags |= Notification.FLAG_NO_CLEAR; // Cannot be set with the builder. in onReceive() 183 notification); in onReceive() local
|