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.java81 public void sendInvalidBubble(int notifId, boolean autoExpand) { in sendInvalidBubble() argument
84 PendingIntent pendingIntent = PendingIntent.getActivity(context, notifId, new Intent(), in sendInvalidBubble()
89 .setContentTitle("notify#" + notifId) in sendInvalidBubble()
90 .setContentText("This is #" + notifId + "notification ") in sendInvalidBubble()
92 .setBubbleMetadata(getBubbleMetadata(notifId, autoExpand, in sendInvalidBubble()
100 noMan.notify(notifId, n); in sendInvalidBubble()
104 public void sendBubble(int notifId, boolean autoExpand, boolean suppressNotification) { in sendBubble() argument
105 sendBubble(notifId, autoExpand, suppressNotification, false /* suppressBubble */, in sendBubble()
110 public void sendBubble(int notifId, boolean autoExpand, boolean suppressNotification, in sendBubble() argument
112 sendBubble(notifId, autoExpand, suppressNotification, suppressBubble, in sendBubble()
[all …]
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java3835 final int notifId = 3; in testNotificationManagerBubble_setSuppressBubble() local
3839 a.sendBubble(notifId, in testNotificationManagerBubble_setSuppressBubble()
3844 verifyNotificationBubbleState(notifId, true /* shouldBeBubble */); in testNotificationManagerBubble_setSuppressBubble()
3855 a.startBubbleActivity(notifId); in testNotificationManagerBubble_setSuppressBubble()
3860 assertEquals(new LocusId(String.valueOf(notifId)), in testNotificationManagerBubble_setSuppressBubble()
3864 verifyNotificationBubbleState(notifId, true /* shouldBeBubble */); in testNotificationManagerBubble_setSuppressBubble()
3867 StatusBarNotification sbn = findPostedNotification(notifId, true); in testNotificationManagerBubble_setSuppressBubble()
4058 final int notifId = 2; in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity() local
4062 a.sendBubble(notifId, in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity()
4067 verifyNotificationBubbleState(notifId, true); in testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity()
[all …]