Home
last modified time | relevance | path

Searched refs:isVisibleToListener (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java163 boolean isVisibleToListener(StatusBarNotification sbn, int notificationType, in isVisibleToListener() method in TestableNotificationManagerService
168 return super.isVisibleToListener(sbn, notificationType, listener); in isVisibleToListener()
DNotificationListenersTest.java654 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testImplicitGrant()
754 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testRedaction_whenPosted()
780 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testRedaction_whenPosted_oldRemoved()
792 doReturn(true).when(mNm).isVisibleToListener(eq(oldSbn), anyInt(), any()); in testRedaction_whenPosted_oldRemoved()
793 doReturn(false).when(mNm).isVisibleToListener(eq(sbn), anyInt(), any()); in testRedaction_whenPosted_oldRemoved()
808 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testRedaction_whenRemoved()
827 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testRedaction_noneIfFlagDisabled()
876 doReturn(true).when(mNm).isVisibleToListener(any(), anyInt(), any()); in testListenerPost_UpdateLifetimeExtended()
DNotificationManagerServiceTest.java11668 assertFalse(mService.isVisibleToListener(sbn, 0, info));
11681 assertTrue(mService.isVisibleToListener(sbn, 0, info));
11696 assertFalse(mService.isVisibleToListener(sbn, 0, info));
11711 assertTrue(mService.isVisibleToListener(sbn, 0, info));
11728 assertFalse(mService.isVisibleToListener(sbn, 0, info));
11746 assertFalse(mService.isVisibleToListener(sbn, 0, info));
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5346 if (!isVisibleToListener(sbn, r.getNotificationType(), info)) return;
10616 if (!isVisibleToListener(record.getSbn(), record.getNotificationType(), info)) {
10713 boolean isVisibleToListener(StatusBarNotification sbn, int notificationType,
10969 boolean sbnVisible = isVisibleToListener(
11041 boolean sbnVisible = isVisibleToListener(
11211 boolean sbnVisible = isVisibleToListener(
11252 boolean sbnVisible = isVisibleToListener(sbn, notificationType, info)
11881 boolean sbnVisible = isVisibleToListener(sbn, r.getNotificationType(), info);
11883 && isVisibleToListener(oldSbn, old.getNotificationType(), info);
12095 if (grant && !isVisibleToListener(r.getSbn(), r.getNotificationType(), info)) {
[all …]
/frameworks/base/services/
Dart-profile2062 HSPLcom/android/server/notification/NotificationManagerService;->isVisibleToListener(Landroid/servi…
Dart-wear-profile16176 HPLcom/android/server/notification/NotificationManagerService;->isVisibleToListener(Landroid/servic…