Home
last modified time | relevance | path

Searched refs:getNotification (Results 1 – 22 of 22) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationStyleVerifierActivity.java91 mNm.notify(NOTIFICATION_ID, getNotification()); in setUp()
120 protected abstract Notification getNotification(); in getNotification() method in NotificationStyleVerifierActivity.NotifyTestCase
141 protected Notification getNotification() { in getNotification() method in NotificationStyleVerifierActivity.BigPictureAnimatedTest
165 protected Notification getNotification() { in getNotification() method in NotificationStyleVerifierActivity.BigPictureAnimatedUriTest
193 protected Notification getNotification() { in getNotification() method in NotificationStyleVerifierActivity.CustomContentViewTest
219 protected Notification getNotification() { in getNotification() method in NotificationStyleVerifierActivity.CustomBigContentViewTest
243 protected Notification getNotification() { in getNotification() method in NotificationStyleVerifierActivity.CustomHeadsUpContentViewTest
DMockListener.java162 mPostedNotifications.add(sbn.getNotification()); in onNotificationPosted()
168 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted()
169 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted()
170 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted()
DNotificationListenerVerifierActivity.java396 NotificationListenerVerifierActivity.this, sbn.getNotification()); in test()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java194 shouldBeBubble, ((sbn.getNotification().flags & FLAG_BUBBLE) != 0)); in verifyNotificationBubbleState()
829 sbnSuppressed.getNotification().getBubbleMetadata(); in testNotificationManagerBubbleNotificationSuppression()
843 metadata = sbnNotSuppressed.getNotification().getBubbleMetadata(); in testNotificationManagerBubbleNotificationSuppression()
952 assertTrue(sbn.getNotification().getBubbleMetadata().isBubbleSuppressable()); in testNotificationManagerBubble_setSuppressBubble()
953 assertTrue(sbn.getNotification().getBubbleMetadata().isBubbleSuppressed()); in testNotificationManagerBubble_setSuppressBubble()
997 assertFalse(sbn.getNotification().getBubbleMetadata().isBubbleSuppressable()); in testNotificationManagerBubble_setSuppressBubble_notSuppressable()
998 assertFalse(sbn.getNotification().getBubbleMetadata().isBubbleSuppressed()); in testNotificationManagerBubble_setSuppressBubble_notSuppressable()
1041 assertTrue(sbn.getNotification().getBubbleMetadata().isBubbleSuppressable()); in testNotificationManagerBubble_setSuppressBubble_activityNoLocusId()
1042 assertFalse(sbn.getNotification().getBubbleMetadata().isBubbleSuppressed()); in testNotificationManagerBubble_setSuppressBubble_activityNoLocusId()
1087 assertNull(sbn.getNotification().getLocusId()); in testNotificationManagerBubble_setSuppressBubble_notificationNoLocusId()
[all …]
DStatusBarNotificationTest.java189 assertEquals(mNotification, mSbn.getNotification()); in testGetNotification()
206 Notification notification = clone.getNotification(); in testClone()
DNotificationManagerTest.java325 if (isGroupSummary(sbn.getNotification()) in assertOnlySomeNotificationsAutogrouped()
1315 assertEquals(sbn.getNotification().getChannelId(), outRanking.getChannel().getId()); in testKeyChannelGroupOverrideImportanceExplanation_ranking()
1775 assertEquals(notification.fullScreenIntent, n.getNotification().fullScreenIntent); in testPostFullScreenIntent_permission()
2368 String imageUriString = sbn.getNotification().extras in getNotificationBackgroundImageUri()
2756 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnBroadcastTrampoline_isBlocked()
2780 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnServiceTrampoline_isBlocked()
2804 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnBroadcastTrampoline_whenApi30_isAllowed()
2828 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnServiceTrampoline_whenApi30_isAllowed()
2854 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnBroadcastTrampoline_whenDefaultBrowser_isBlocked()
2880 statusBarNotification.getNotification().contentIntent.send(); in testActivityStartOnBroadcastTrampoline_whenDefaultBrowserApi32_isAllowed()
[all …]
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_notify/
DVer2_SUPLNOTIFY.java102 public Notification getNotification() { in getNotification() method in Ver2_SUPLNOTIFY
128 return getNotification() != null; in getComponents()
140 return getNotification(); in getComponents()
163 + getNotification().toIndentedString(indent); in getComponents()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWipeDataNotificationTest.java77 if (notification.getNotification().getChannelId().equals( in initWipeNotificationLatch()
80 notification.getNotification().extras.getString(Notification.EXTRA_TITLE)); in initWipeNotificationLatch()
84 notification.getNotification().extras.getString( in initWipeNotificationLatch()
DCrossProfileNotificationListenerService.java58 if (NOTIFICATION_CHANNEL.equals(sbn.getNotification().getChannelId())) { in sendBroadcastForNotification()
62 + sbn.getNotification().getChannelId()); in sendBroadcastForNotification()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java176 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnForceStop()
212 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnPackageRestriction()
255 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnTaskManagerStop()
369 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testUserInitiatedJob_hasUijNotificationFlag()
372 jobNotification.getNotification().isUserInitiatedJob()); in testUserInitiatedJob_hasUijNotificationFlag()
389 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNonUserInitiatedJob_doesNotHaveUijNotificationFlag()
392 jobNotification.getNotification().isUserInitiatedJob()); in testNonUserInitiatedJob_doesNotHaveUijNotificationFlag()
DTestNotificationListener.java178 sbn.getNotification().contentIntent.send(); in clickNotification()
185 public StatusBarNotification getNotification() throws Exception { in getNotification() method in TestNotificationListener.NotificationHelper
/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/
DNotificationManagerApi34Test.kt82 assertNotEquals(FLAG_NO_CLEAR, sbn.getNotification().flags and FLAG_NO_CLEAR) in testMediaStyle_noClearFlagNotSet()
99 assertNotEquals(FLAG_NO_CLEAR, sbn.getNotification().flags and FLAG_NO_CLEAR) in testCustomMediaStyle_noClearFlagNotSet()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DNotificationQueryHelper.java107 if (!mChannelId.matches(value.getNotification().getChannelId())) { in matches()
111 if (!mExtras.matches(value.getNotification().extras)) { in matches()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_init/
DSUPLINIT.java120 public Notification getNotification() { in getNotification() method in SUPLINIT
278 return getNotification() != null; in getComponents()
290 return getNotification(); in getComponents()
313 + getNotification().toIndentedString(indent); in getComponents()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/test-app/src/android/security/cts/CVE_2021_0704_test/
DListenerService.java56 Bundle notificationExtras = sbn.getNotification().extras; in broadcastIfVulnerableNotificationFound()
/cts/tests/tests/notification/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/
DNotificationTrampolineTestService.java142 .flatMap(sb -> Stream.of(sb.getNotification().contentIntent, in handleMessage()
143 sb.getNotification().publicVersion.contentIntent)) in handleMessage()
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/
DNotificationManager28Test.java104 assertEquals(notification.fullScreenIntent, n.getNotification().fullScreenIntent); in testPostFullScreenIntent_noPermission()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationManager29Test.java156 assertNull(n.getNotification().fullScreenIntent); in testPostFullScreenIntent_noPermission()
/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHelper.java94 .getNotification().contentIntent.send(); in clickNotification()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2ServiceTest.java406 assertThat(notification.getNotification()).isEqualTo(testNotification); in testMediaNotification()
/cts/tests/app/src/android/app/cts/
DServiceTest.java526 Notification n = sbn.getNotification(); in assertNotification()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6677 method @Deprecated public android.app.Notification getNotification();
41274 method public android.app.Notification getNotification();