Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java467 Notification.Builder nb = getConversationNotification(); in testNotificationManagerBubblePolicy_flag_intentBubble() local
468 nb.setBubbleMetadata(getDefaultBubbleMetadata()); in testNotificationManagerBubblePolicy_flag_intentBubble()
470 sendAndVerifyBubble(1, nb, shouldBeBubble); in testNotificationManagerBubblePolicy_flag_intentBubble()
597 Notification.Builder nb = getConversationNotification(); in testNotificationManagerBubblePolicy_flag_shortcutBubble() local
598 nb.setBubbleMetadata( in testNotificationManagerBubblePolicy_flag_shortcutBubble()
602 sendAndVerifyBubble(1, nb, shouldBeBubble); in testNotificationManagerBubblePolicy_flag_shortcutBubble()
619 Notification.Builder nb = getConversationNotification(); in testNotificationManagerBubblePolicy_noFlag_invalidShortcut() local
620 nb.setShortcutId("invalid"); in testNotificationManagerBubblePolicy_noFlag_invalidShortcut()
621 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder("invalid").build()); in testNotificationManagerBubblePolicy_noFlag_invalidShortcut()
623 sendAndVerifyBubble(1, nb, false); in testNotificationManagerBubblePolicy_noFlag_invalidShortcut()
[all …]
DSensitiveNotificationRedactionTest.kt114 val nb = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() constant
115 nb.setContentText(text) in sendNotification()
116 nb.setContentTitle(title) in sendNotification()
117 nb.setSubText(subtext) in sendNotification()
118 nb.setCategory(category) in sendNotification()
119 nb.setSmallIcon(R.drawable.black) in sendNotification()
120 nb.setLargeIcon(Icon.createWithResource(mContext, R.drawable.black)) in sendNotification()
121 nb.setContentIntent(createTestPendingIntent()) in sendNotification()
122 nb.setGroup(groupKey) in sendNotification()
124 nb.setActions(*actions.toTypedArray()) in sendNotification()
[all …]
DBaseNotificationManagerTest.java328 Notification.Builder nb = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() local
337 nb.setCategory(CATEGORY_CALL); in sendNotification()
343 nb.setExtras(extras); in sendNotification()
347 final Notification notification = nb.build(); in sendNotification()
DPeopleManagerTest.java182 Notification.Builder nb = new Notification.Builder(mContext, PERSON_CHANNEL_ID) in getConversationNotification() local
193 return nb; in getConversationNotification()
DNotificationTest.java879 Notification.Builder nb = new Notification.Builder(mContext, CHANNEL.getId()) in testBubbleMetadataBuilder_notifBubbleShortcutIds_different_throw() local
886 nb.build(); in testBubbleMetadataBuilder_notifBubbleShortcutIds_different_throw()
/cts/tests/app/app/src/android/app/stubs/
DBubblesTestService.java66 Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in getNotificationForTest() local
80 nb.setCategory(Notification.CATEGORY_CALL); in getNotificationForTest()
82 nb.setShortcutId(BUBBLE_SHORTCUT_ID_DYNAMIC); in getNotificationForTest()
83 nb.setBubbleMetadata(data); in getNotificationForTest()
84 return nb.build(); in getNotificationForTest()
DSendBubbleActivity.java106 Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in sendBubble() local
124 nb.setLocusId(new LocusId(String.valueOf(notifId))); in sendBubble()
129 noMan.notify(notifId, nb.build()); in sendBubble()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt88 val nb = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
89 nb.setContentText(text) in <lambda>()
90 nb.setContentTitle(title) in <lambda>()
91 nb.setSubText(subtext) in <lambda>()
92 nb.setCategory(category) in <lambda>()
93 nb.setSmallIcon(R.drawable.black) in <lambda>()
94 nb.setLargeIcon(Icon.createWithResource(context, R.drawable.black)) in <lambda>()
95 nb.setGroup(groupKey) in <lambda>()
96 nb.setStyle(style) in <lambda>()
102 notificationManager.notify(groupKey, NOTIFICATION_ID, nb.build()) in <lambda>()
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DInlineReply.java47 final Notification.Builder nb = new Builder(context) in showNotificationWithInlineReply() local
54 context.getSystemService(NotificationManager.class).notify(0, nb.build()); in showNotificationWithInlineReply()
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java143 final Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testShortcutResetSetupNotification() local
150 notificationManager.notify(0, nb.build()); in testShortcutResetSetupNotification()
/cts/tests/tests/security/res/raw/
Dcve_2019_2245.ts3794 ���Y� ��v�U&�%��j��B< t�nSK����\�w�q�%/"����{w�^,5�z�M���![�jڦXH��n�]�&����\�^2"���&�nb���z…
6131 ������L_Xy�M\i8'�nb����0�(4DL & ���t��e�J$ߢk�qT�OA ���[�esQ)�@d�!�TI`���L���XkIE��E��LY_}�…
7451 )�JK}J#P�n`Ms������Q��b��%nb�v������&Fk�C�3�;��Z\l�!�ef֭�B�$���,����q��襙6����!�����I�…