/frameworks/base/core/java/android/app/ |
H A D | Notification.aidl | 19 parcelable Notification;
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationTest.java | 32 import android.app.Notification; 78 Notification.Builder nb = new Notification.Builder(mContext, "channel"); 79 nb.extend(new Notification.CarExtender().setColor(Color.RED)); 80 nb.extend(new Notification.TvExtender().setChannelId("different channel")); 81 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); 82 Notification before = nb.build(); 89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, 92 assertEquals("different channel", new Notification [all...] |
H A D | NotificationComparatorTest.java | 26 import android.app.Notification; 106 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) 107 .setCategory(Notification.CATEGORY_CALL) 108 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 115 Notification n2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) 116 .setCategory(Notification.CATEGORY_CALL) 117 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 124 Notification n [all...] |
H A D | NotificationIntrusivenessExtractorTest.java | 28 import android.app.Notification; 44 final Notification.Builder builder = new Notification.Builder(getContext()) 48 Notification n = builder.build(); 59 final Notification.Builder builder = new Notification.Builder(getContext()) 65 Notification n = builder.build(); 77 final Notification.Builder builder = new Notification.Builder(getContext()) 83 Notification [all...] |
H A D | NotificationChannelExtractorTest.java | 31 import android.app.Notification; 58 final Notification.Builder builder = new Notification.Builder(getContext()) 61 Notification n = builder.build();
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | NotificationBuilderWithBuilderAccessor.java | 21 import android.app.Notification; 27 * an accessor for {@link Notification.Builder}. {@link Notification.Builder} 34 Notification.Builder getBuilder();
|
H A D | NotificationCompatBuilder.java | 27 import android.app.Notification; 40 * Wrapper around {@link Notification.Builder} that works in a backwards compatible way. 46 private final Notification.Builder mBuilder; 65 mBuilder = new Notification.Builder(b.mContext, b.mChannelId); 67 mBuilder = new Notification.Builder(b.mContext); 69 Notification n = b.mNotification; 76 .setOngoing((n.flags & Notification.FLAG_ONGOING_EVENT) != 0) 77 .setOnlyAlertOnce((n.flags & Notification.FLAG_ONLY_ALERT_ONCE) != 0) 78 .setAutoCancel((n.flags & Notification.FLAG_AUTO_CANCEL) != 0) 86 (n.flags & Notification [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationTest.java | 60 Notification n = new Notification.Builder(mContext, "test") 61 .setFlag(Notification.FLAG_CAN_COLORIZE, true) 66 n = new Notification.Builder(mContext, "test") 67 .setFlag(Notification.FLAG_CAN_COLORIZE, true) 71 n = new Notification.Builder(mContext, "test") 72 .setFlag(Notification.FLAG_CAN_COLORIZE, false) 80 Notification n = new Notification.Builder(mContext, "test") 81 .setFlag(Notification [all...] |
/frameworks/support/compat/src/main/aidl/android/support/v4/app/ |
H A D | INotificationSideChannel.aidl | 19 import android.app.Notification; 31 void notify(String packageName, int id, String tag, in Notification notification);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 24 import android.app.Notification; 124 Notification n = new Notification.Builder(NotificationTestList.this, 136 Notification n = new Notification.Builder(NotificationTestList.this, 154 Notification n = new Notification.Builder(NotificationTestList.this, 171 Notification n = new Notification.Builder(NotificationTestList.this, "min") 177 n = new Notification [all...] |
/frameworks/base/media/java/android/media/update/ |
H A D | MediaSessionService2Provider.java | 19 import android.app.Notification; 38 Notification getNotification_impl();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerInternal.java | 19 import android.app.Notification; 25 String tag, int id, Notification notification, int userId);
|
H A D | PriorityExtractor.java | 18 import android.app.Notification; 47 ? Notification.PRIORITY_MAX : Notification.PRIORITY_DEFAULT);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SchedulerService.java | 19 import android.app.Notification; 29 Notification status = new Notification.Builder(this)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | MediaNotificationProcessorTest.java | 27 import android.app.Notification; 57 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( 62 Notification notification = builder.build(); 69 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( 73 Notification notification = builder.build(); 80 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( 83 .setStyle(new Notification [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingMessageState.java | 19 import android.app.Notification; 29 private Notification.MessagingStyle.Message mMessage; 38 public void setMessage(Notification.MessagingStyle.Message message) { 42 public Notification.MessagingStyle.Message getMessage() {
|
H A D | MessagingMessage.java | 20 import android.app.Notification; 36 Notification.MessagingStyle.Message m) { 49 static boolean hasImage(Notification.MessagingStyle.Message m) { 59 default boolean setMessage(Notification.MessagingStyle.Message message) { 64 default Notification.MessagingStyle.Message getMessage() { 68 default boolean sameAs(Notification.MessagingStyle.Message message) { 69 Notification.MessagingStyle.Message ownMessage = getMessage();
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpDocumentsService.java | 21 import android.app.Notification; 63 final Notification[] notifications = intent.hasExtra(EXTRA_DEVICE_NOTIFICATIONS) ? 76 @Nullable int[] ids, @Nullable Notification[] notifications) { 116 private static @NonNull Notification[] castToNotifications(@NonNull Parcelable[] src) { 118 final Notification[] notifications = new Notification[src.length]; 120 notifications[i] = (Notification) src[i];
|
H A D | ServiceIntentSender.java | 20 import android.app.Notification; 65 final Notification[] notifications = new Notification[records.length]; 78 private static Notification createNotification(Context context, MtpDeviceRecord device) { 82 return new Notification.Builder(context, CHANNEL_ID) 86 .setCategory(Notification.CATEGORY_SYSTEM) 87 .setFlag(Notification.FLAG_NO_CLEAR, true)
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ConnectToNetworkNotificationBuilder.java | 19 import android.app.Notification; 77 public Notification createConnectToAvailableNetworkNotification(String notifierTag, 92 Notification.Action connectAction = new Notification.Action.Builder(null /* icon */, 95 Notification.Action allNetworksAction = new Notification.Action.Builder(null /* icon */, 112 public Notification createNetworkConnectingNotification(String notifierTag, 128 public Notification createNetworkConnectedNotification(String notifierTag, ScanResult network) { 141 public Notification createNetworkFailedNotification(String notifierTag) { 162 private Notification [all...] |
H A D | WakeupNotificationFactory.java | 19 import android.app.Notification; 41 /** Notification channel ID for onboarding messages. */ 55 public Notification createOnboardingNotification() { 62 final Notification.Action disableAction = new Notification.Action.Builder(
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
H A D | NotificationTests.java | 100 public static Notification makeBigTextNotification(Context context, int update, int id, 146 Notification.BigTextStyle bigTextStyle = new Notification.BigTextStyle() 148 Notification bigText = new Notification.Builder(context) 155 .setPriority(Notification.PRIORITY_HIGH) 159 .setDefaults(Notification.DEFAULT_SOUND) 165 public static Notification makeUploadNotification(Context context, int progress, long when) { 166 Notification.Builder uploadNotification = new Notification [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationBigPictureTemplateViewWrapper.java | 19 import android.app.Notification; 46 Icon overRiddenIcon = extras.getParcelable(Notification.EXTRA_LARGE_ICON_BIG);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaSessionService2.java | 22 import android.app.Notification; 216 * {@link android.app.NotificationManager#notify(int, Notification)}. 220 public MediaNotification(int notificationId, @NonNull Notification notification) { 229 public @NonNull Notification getNotification() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SystemUI.java | 19 import android.app.Notification; 54 public static void overrideNotificationAppName(Context context, Notification.Builder n, 60 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, appName);
|