/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | NotificationOtpDetectionHelperTest.kt | 21 import android.app.Notification.CATEGORY_MESSAGE in <lambda>() 235 .shouldCheckForOtp(createNotification(category = CATEGORY_MESSAGE)) in <lambda>() 236 addResult(expected = false, shouldCheck, "$CATEGORY_MESSAGE should not be checked") in <lambda>() 263 .shouldCheckForOtp(createNotification(category = CATEGORY_MESSAGE)) in <lambda>() 264 addResult(expected = true, shouldCheck, "$CATEGORY_MESSAGE should be checked") in <lambda>() 285 var publicVersion = createNotification(category = CATEGORY_MESSAGE) in <lambda>()
|
D | AssistantTest.kt | 21 import android.app.Notification.CATEGORY_MESSAGE in <lambda>() 246 category: String = CATEGORY_MESSAGE, in <lambda>()
|
D | NotificationEntryTest.java | 217 assertFalse(entry.isCategory(Notification.CATEGORY_MESSAGE)); in testIsCategory()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationEntry.java | 18 import static android.app.Notification.CATEGORY_MESSAGE; 273 return isCategory(CATEGORY_MESSAGE) in isMessaging() 274 || isPublicVersionCategory(CATEGORY_MESSAGE) in isMessaging()
|
D | NotificationOtpDetectionHelper.java | 20 import static android.app.Notification.CATEGORY_MESSAGE; 63 List.of(CATEGORY_MESSAGE, CATEGORY_EMAIL, CATEGORY_SOCIAL));
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 381 .setCategory(Notification.CATEGORY_MESSAGE) in initCustomizableMessageButton() 450 .setCategory(Notification.CATEGORY_MESSAGE) in initMessagingStyleButtonForDiffPerson() 507 .setCategory(Notification.CATEGORY_MESSAGE) in initMessagingStyleButtonForMessageSameGroup() 542 .setCategory(Notification.CATEGORY_MESSAGE) in initMessagingStyleButtonForSamePerson() 584 .setCategory(Notification.CATEGORY_MESSAGE) in initMessagingStyleButtonForLongMessageSamePerson() 633 .setCategory(Notification.CATEGORY_MESSAGE) in initMessagingStyleButtonWithMuteAction() 678 .setCategory(Notification.CATEGORY_MESSAGE) in initTestMessagesButton()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 633 generateNotificationWithCategory(Notification.CATEGORY_MESSAGE)); in getItemViewType_shouldReturnMessageInGroup() 649 generateNotificationWithCategory(Notification.CATEGORY_MESSAGE)); in getItemViewType_shouldReturnMessage() 895 AlertEntry groupSummaryNotification = generateNotification(Notification.CATEGORY_MESSAGE, in shouldRemoveGroupSummary_returnTrue_oneGroupWithSameGroupKeyIsPresent() 913 AlertEntry groupSummaryNotification = generateNotification(Notification.CATEGORY_MESSAGE, in shouldRemoveGroupSummary_returnFalse_multipleGroupsWithSameGroupKeyArePresent() 934 notificationGroup.addNotification(generateNotification(Notification.CATEGORY_MESSAGE, in generateGroupedNotification()
|
D | CarHeadsUpNotificationManagerTest.java | 160 .setCategory(Notification.CATEGORY_MESSAGE) in setup() 197 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
|
D | NotificationClickHandlerFactoryTest.java | 138 .setCategory(Notification.CATEGORY_MESSAGE) in setUp() 147 .setCategory(Notification.CATEGORY_MESSAGE) in setUp()
|
D | NotificationUtilsTest.java | 222 typeMap.put(Notification.CATEGORY_MESSAGE, CarNotificationTypeItem.MESSAGE); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
|
D | NotificationDataManagerTest.java | 72 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
|
D | CarNotificationListenerTest.java | 390 notification.category = Notification.CATEGORY_MESSAGE; in testingHeadsUpNotification()
|
D | PreprocessingManagerTest.java | 394 messageNotification.category = Notification.CATEGORY_MESSAGE; in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts() 723 additionalNotification.category = Notification.CATEGORY_MESSAGE; in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup() 1141 additionalNotification.category = Notification.CATEGORY_MESSAGE; in onUpdateNotification_notificationPosted_isNotUpdate_addsNotification()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationUtils.java | 127 case Notification.CATEGORY_MESSAGE: in getNotificationViewType()
|
D | CarNotificationViewAdapter.java | 256 case Notification.CATEGORY_MESSAGE: in getItemViewTypeImpl()
|
D | PreprocessingManager.java | 319 if (Notification.CATEGORY_MESSAGE.equals(alertEntry.getNotification().category)) { in optimizeForDriving()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 415 notifBuilder.setCategory(Notification.CATEGORY_MESSAGE); in processAndSend() 679 private static final String CATEGORY_MESSAGE = "msg"; field in BugleNotifications 703 .setCategory(CATEGORY_MESSAGE); in sendNotification()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | CarNotificationActionsViewTest.java | 108 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
|