/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationStyleVerifierActivity.java | 91 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
|
D | MockListener.java | 162 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()
|
D | NotificationListenerVerifierActivity.java | 396 NotificationListenerVerifierActivity.this, sbn.getNotification()); in test()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerBubbleTest.java | 194 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 …]
|
D | StatusBarNotificationTest.java | 189 assertEquals(mNotification, mSbn.getNotification()); in testGetNotification() 206 Notification notification = clone.getNotification(); in testClone()
|
D | NotificationManagerTest.java | 325 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/ |
D | Ver2_SUPLNOTIFY.java | 102 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/ |
D | WipeDataNotificationTest.java | 77 if (notification.getNotification().getChannelId().equals( in initWipeNotificationLatch() 80 notification.getNotification().extras.getString(Notification.EXTRA_TITLE)); in initWipeNotificationLatch() 84 notification.getNotification().extras.getString( in initWipeNotificationLatch()
|
D | CrossProfileNotificationListenerService.java | 58 if (NOTIFICATION_CHANNEL.equals(sbn.getNotification().getChannelId())) { in sendBroadcastForNotification() 62 + sbn.getNotification().getChannelId()); in sendBroadcastForNotification()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | NotificationTest.java | 176 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()
|
D | TestNotificationListener.java | 178 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/ |
D | NotificationManagerApi34Test.kt | 82 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/ |
D | NotificationQueryHelper.java | 107 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/ |
D | SUPLINIT.java | 120 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/ |
D | ListenerService.java | 56 Bundle notificationExtras = sbn.getNotification().extras; in broadcastIfVulnerableNotificationFound()
|
/cts/tests/tests/notification/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/ |
D | NotificationTrampolineTestService.java | 142 .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/ |
D | NotificationManager28Test.java | 104 assertEquals(notification.fullScreenIntent, n.getNotification().fullScreenIntent); in testPostFullScreenIntent_noPermission()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 156 assertNull(n.getNotification().fullScreenIntent); in testPostFullScreenIntent_noPermission()
|
/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | NotificationHelper.java | 94 .getNotification().contentIntent.send(); in clickNotification()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSession2ServiceTest.java | 406 assertThat(notification.getNotification()).isEqualTo(testNotification); in testMediaNotification()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 526 Notification n = sbn.getNotification(); in assertNotification()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 6677 method @Deprecated public android.app.Notification getNotification(); 41274 method public android.app.Notification getNotification();
|