/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerBubbleTest.java | 467 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 …]
|
D | SensitiveNotificationRedactionTest.kt | 114 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 …]
|
D | BaseNotificationManagerTest.java | 328 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()
|
D | PeopleManagerTest.java | 182 Notification.Builder nb = new Notification.Builder(mContext, PERSON_CHANNEL_ID) in getConversationNotification() local 193 return nb; in getConversationNotification()
|
D | NotificationTest.java | 879 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/ |
D | BubblesTestService.java | 66 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()
|
D | SendBubbleActivity.java | 106 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/ |
D | SensitiveNotificationAppHidingTest.kt | 88 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/ |
D | InlineReply.java | 47 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/ |
D | NotificationBot.java | 143 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/ |
D | cve_2019_2245.ts | 3794 ���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�…
|