Home
last modified time | relevance | path

Searched refs:CATEGORY_MESSAGE (Results 1 – 18 of 18) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt21 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>()
DAssistantTest.kt21 import android.app.Notification.CATEGORY_MESSAGE in <lambda>()
246 category: String = CATEGORY_MESSAGE, in <lambda>()
DNotificationEntryTest.java217 assertFalse(entry.isCategory(Notification.CATEGORY_MESSAGE)); in testIsCategory()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DNotificationEntry.java18 import static android.app.Notification.CATEGORY_MESSAGE;
273 return isCategory(CATEGORY_MESSAGE) in isMessaging()
274 || isPublicVersionCategory(CATEGORY_MESSAGE) in isMessaging()
DNotificationOtpDetectionHelper.java20 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/
DNotificationFragment.java381 .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/
DCarNotificationViewAdapterTest.java633 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()
DCarHeadsUpNotificationManagerTest.java160 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
197 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
DNotificationClickHandlerFactoryTest.java138 .setCategory(Notification.CATEGORY_MESSAGE) in setUp()
147 .setCategory(Notification.CATEGORY_MESSAGE) in setUp()
DNotificationUtilsTest.java222 typeMap.put(Notification.CATEGORY_MESSAGE, CarNotificationTypeItem.MESSAGE); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
DNotificationDataManagerTest.java72 .setCategory(Notification.CATEGORY_MESSAGE) in setup()
DCarNotificationListenerTest.java390 notification.category = Notification.CATEGORY_MESSAGE; in testingHeadsUpNotification()
DPreprocessingManagerTest.java394 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/
DNotificationUtils.java127 case Notification.CATEGORY_MESSAGE: in getNotificationViewType()
DCarNotificationViewAdapter.java256 case Notification.CATEGORY_MESSAGE: in getItemViewTypeImpl()
DPreprocessingManager.java319 if (Notification.CATEGORY_MESSAGE.equals(alertEntry.getNotification().category)) { in optimizeForDriving()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java415 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/
DCarNotificationActionsViewTest.java108 .setCategory(Notification.CATEGORY_MESSAGE) in setup()