Home
last modified time | relevance | path

Searched refs:NotificationVisibility (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java29 public class NotificationVisibility implements Parcelable { class
73 private NotificationVisibility() { in NotificationVisibility() method in NotificationVisibility
77 private NotificationVisibility(String key, int rank, int count, boolean visible, in NotificationVisibility() method in NotificationVisibility
99 public NotificationVisibility clone() { in clone()
112 if (that instanceof NotificationVisibility) { in equals()
113 NotificationVisibility thatViz = (NotificationVisibility) that; in equals()
144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain()
146 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN); in obtain()
152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain()
154 NotificationVisibility vo = obtain(); in obtain()
[all …]
DIStatusBarService.aidl30 import com.android.internal.statusbar.NotificationVisibility;
62 void onNotificationClick(String key, in NotificationVisibility nv); in onNotificationClick()
63 …k(String key, int actionIndex, in Notification.Action action, in NotificationVisibility nv, boolea… in onNotificationActionClick()
68 int dismissalSurface, int dismissalSentiment, in NotificationVisibility nv); in onNotificationClear()
69 void onNotificationVisibilityChanged( in NotificationVisibility[] newlyVisibleKeys, in onNotificationVisibilityChanged()
70 in NotificationVisibility[] noLongerVisibleKeys); in onNotificationVisibilityChanged()
DNotificationVisibility.aidl19 parcelable NotificationVisibility;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java34 import com.android.internal.statusbar.NotificationVisibility;
66 private final ArraySet<NotificationVisibility> mCurrentlyVisibleNotifications =
105 private final ArraySet<NotificationVisibility> mTmpNewlyVisibleNotifications =
107 private final ArraySet<NotificationVisibility> mTmpCurrentlyVisibleNotifications =
109 private final ArraySet<NotificationVisibility> mTmpNoLongerVisibleNotifications =
131 NotificationVisibility visObj = NotificationVisibility.obtain(key, i, N, isVisible,
167 public static NotificationVisibility.NotificationLocation getNotificationLocation( in getNotificationLocation()
170 return NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN; in getNotificationLocation()
175 private static NotificationVisibility.NotificationLocation convertNotificationLocation( in convertNotificationLocation()
179 return NotificationVisibility.NotificationLocation.LOCATION_FIRST_HEADS_UP; in convertNotificationLocation()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DExpansionStateLoggerTest.java31 import com.android.internal.statusbar.NotificationVisibility;
78 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN); in testExpanded()
88 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN); in testVisibleAndNotExpanded()
101 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN); in testVisibleAndExpanded()
109 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN.toMetricsEventEnum()); in testVisibleAndExpanded()
115 NotificationVisibility.NotificationLocation.LOCATION_UNKNOWN); in testExpandedAndVisible_expandedBeforeVisible()
118 NotificationVisibility.NotificationLocation.LOCATION_MAIN_AREA)), in testExpandedAndVisible_expandedBeforeVisible()
125 NotificationVisibility.NotificationLocation.LOCATION_MAIN_AREA.toMetricsEventEnum() in testExpandedAndVisible_expandedBeforeVisible()
135 NotificationVisibility.NotificationLocation.LOCATION_FIRST_HEADS_UP); in testExpandedAndVisible_visibleBeforeExpanded()
141NotificationVisibility.NotificationLocation.LOCATION_FIRST_HEADS_UP.toMetricsEventEnum()); in testExpandedAndVisible_visibleBeforeExpanded()
[all …]
DNotificationLoggerTest.java39 import com.android.internal.statusbar.NotificationVisibility;
112 NotificationVisibility[] newlyVisibleKeys = { in testOnChildLocationsChangedReportsVisibilityChanged()
113 NotificationVisibility.obtain(mEntry.key, 0, 1, true) in testOnChildLocationsChangedReportsVisibilityChanged()
115 NotificationVisibility[] noLongerVisibleKeys = {}; in testOnChildLocationsChangedReportsVisibilityChanged()
119 (NotificationVisibility[]) invocation.getArguments()[0]); in testOnChildLocationsChangedReportsVisibilityChanged()
121 (NotificationVisibility[]) invocation.getArguments()[1]); in testOnChildLocationsChangedReportsVisibilityChanged()
127 ).when(mBarService).onNotificationVisibilityChanged(any(NotificationVisibility[].class), in testOnChildLocationsChangedReportsVisibilityChanged()
128 any(NotificationVisibility[].class)); in testOnChildLocationsChangedReportsVisibilityChanged()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationDelegate.java22 import com.android.internal.statusbar.NotificationVisibility;
28 NotificationVisibility nv); in onNotificationClick()
30 Notification.Action action, NotificationVisibility nv, boolean generatedByAssistant); in onNotificationActionClick()
35 NotificationVisibility nv); in onNotificationClear()
43 NotificationVisibility[] newlyVisibleKeys, in onNotificationVisibilityChanged()
44 NotificationVisibility[] noLongerVisibleKeys); in onNotificationVisibilityChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSmartReplyController.java23 import com.android.internal.statusbar.NotificationVisibility;
78 NotificationVisibility.NotificationLocation location = in smartActionClicked()
80 final NotificationVisibility nv = NotificationVisibility.obtain( in smartActionClicked()
DNotificationRemoteInputManager.java52 import com.android.internal.statusbar.NotificationVisibility;
203 NotificationVisibility.NotificationLocation location =
206 final NotificationVisibility nv =
207 NotificationVisibility.obtain(key, rank, count, true, location);
290 NotificationVisibility visibility, in NotificationRemoteInputManager()
DNotificationLockscreenUserManagerImpl.java41 import com.android.internal.statusbar.NotificationVisibility;
148 NotificationVisibility.NotificationLocation location =
151 final NotificationVisibility nv = NotificationVisibility.obtain(notificationKey,
DNotificationMediaManager.java54 import com.android.internal.statusbar.NotificationVisibility;
208 NotificationVisibility visibility, in NotificationMediaManager()
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/
DNotificationVisibilityTest.java38 for (NotificationVisibility.NotificationLocation location : in testNotificationLocation_sameValuesAsMetricsProto()
39 NotificationVisibility.NotificationLocation.values()) { in testNotificationLocation_sameValuesAsMetricsProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryListener.java23 import com.android.internal.statusbar.NotificationVisibility;
102 @Nullable NotificationVisibility visibility, in onEntryRemoved()
DNotificationListController.java25 import com.android.internal.statusbar.NotificationVisibility;
69 NotificationVisibility visibility,
DNotificationEntryManager.java30 import com.android.internal.statusbar.NotificationVisibility;
190 final NotificationVisibility nv = obtainVisibility(n.getKey()); in performRemoveNotification()
196 private NotificationVisibility obtainVisibility(String key) { in obtainVisibility()
199 NotificationVisibility.NotificationLocation location = in obtainVisibility()
201 return NotificationVisibility.obtain(key, rank, count, true, location); in obtainVisibility()
270 @Nullable NotificationVisibility visibility, in removeNotificationInternal()
DNotificationAlertingManager.java26 import com.android.internal.statusbar.NotificationVisibility;
81 NotificationVisibility visibility, in NotificationAlertingManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java52 import com.android.internal.statusbar.NotificationVisibility;
224 eq(sbn.getKey()), any(NotificationVisibility.class)); in testOnNotificationClicked_keyGuardShowing()
250 eq(sbn.getKey()), any(NotificationVisibility.class)); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
280 eq(sbn.getKey()), any(NotificationVisibility.class)); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
310 eq(sbn.getKey()), any(NotificationVisibility.class)); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java26 import com.android.internal.statusbar.NotificationVisibility;
64 NotificationVisibility visibility, in ForegroundServiceNotificationListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java46 import com.android.internal.statusbar.NotificationVisibility;
332 NotificationVisibility.NotificationLocation location = in handleNotificationClickAfterPanelCollapsed()
335 final NotificationVisibility nv = NotificationVisibility.obtain(notificationKey, in handleNotificationClickAfterPanelCollapsed()
DNotificationGroupAlertTransferHelper.java26 import com.android.internal.statusbar.NotificationVisibility;
212 NotificationVisibility visibility,
DStatusBarNotificationPresenter.java41 import com.android.internal.statusbar.NotificationVisibility;
201 NotificationVisibility visibility, in StatusBarNotificationPresenter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationListControllerTest.java40 import com.android.internal.statusbar.NotificationVisibility;
105 NotificationVisibility.obtain(entry.key, 0, 0, true), in testCleanUpViewStateOnEntryRemoved()
DNotificationEntryManagerTest.java61 import com.android.internal.statusbar.NotificationVisibility;
567 any(NotificationVisibility.class), anyBoolean()); in testRemoveInterceptor_interceptsDontGetRemoved()
586 any(NotificationVisibility.class), anyBoolean()); in testRemoveInterceptor_notInterceptedGetsRemoved()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java54 import com.android.internal.statusbar.NotificationVisibility;
1172 public void onNotificationClick(String key, NotificationVisibility nv) { in onNotificationClick()
1186 String key, int actionIndex, Notification.Action action, NotificationVisibility nv, in onNotificationActionClick()
1220 NotificationVisibility nv) { in onNotificationClear()
1235 NotificationVisibility[] newlyVisibleKeys, NotificationVisibility[] noLongerVisibleKeys) in onNotificationVisibilityChanged()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java142 import com.android.internal.statusbar.NotificationVisibility;
2922 final NotificationVisibility nv = NotificationVisibility.obtain(r.getKey(), 1, 2, true); in testStats_updatedOnVisibilityChanged()
2924 new NotificationVisibility[] {nv}, new NotificationVisibility[]{}); in testStats_updatedOnVisibilityChanged()
2927 new NotificationVisibility[] {}, new NotificationVisibility[]{nv}); in testStats_updatedOnVisibilityChanged()
2936 final NotificationVisibility nv = NotificationVisibility.obtain(r.getKey(), 0, 1, true); in testStats_dismissalSurface()
2950 final NotificationVisibility nv = NotificationVisibility.obtain(r.getKey(), 0, 1, true); in testStats_dismissalSentiment()
3810 mService.mNotificationDelegate.onNotificationVisibilityChanged(new NotificationVisibility[] in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat()
3811 {NotificationVisibility.obtain(r.getKey(), 1, 1, true)}, in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat()
3812 new NotificationVisibility[]{}); in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat()
4147 NotificationVisibility notificationVisibility = in testOnNotificationActionClick()
[all …]

12