Home
last modified time | relevance | path

Searched refs:notifId (Results 1 – 2 of 2) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DSendBubbleActivity.java61 public void sendInvalidBubble(int notifId, boolean autoExpand) { in sendInvalidBubble() argument
64 PendingIntent pendingIntent = PendingIntent.getActivity(context, notifId, in sendInvalidBubble()
70 .setContentTitle("notify#" + notifId) in sendInvalidBubble()
71 .setContentText("This is #" + notifId + "notification ") in sendInvalidBubble()
73 .setBubbleMetadata(getBubbleMetadata(notifId, autoExpand, in sendInvalidBubble()
81 noMan.notify(notifId, n); in sendInvalidBubble()
85 public void sendBubble(int notifId, boolean autoExpand, boolean suppressNotification) { in sendBubble() argument
86 sendBubble(notifId, autoExpand, suppressNotification, false /* suppressBubble */, in sendBubble()
91 public void sendBubble(int notifId, boolean autoExpand, boolean suppressNotification, in sendBubble() argument
93 sendBubble(notifId, autoExpand, suppressNotification, suppressBubble, in sendBubble()
[all …]
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java927 final int notifId = 3; in testNotificationManagerBubble_setSuppressBubble() local
931 a.sendBubble(notifId, in testNotificationManagerBubble_setSuppressBubble()
936 verifyNotificationBubbleState(notifId, true /* shouldBeBubble */); in testNotificationManagerBubble_setSuppressBubble()
940 BubbledActivity activity = startBubbleActivity(notifId); in testNotificationManagerBubble_setSuppressBubble()
943 assertEquals(new LocusId(String.valueOf(notifId)), in testNotificationManagerBubble_setSuppressBubble()
947 verifyNotificationBubbleState(notifId, true /* shouldBeBubble */); in testNotificationManagerBubble_setSuppressBubble()
950 StatusBarNotification sbn = mNotificationHelper.findPostedNotification(null, notifId, in testNotificationManagerBubble_setSuppressBubble()
1109 final int notifId = 2; in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity() local
1113 a.sendBubble(notifId, in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity()
1118 verifyNotificationBubbleState(notifId, true); in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity()
[all …]