/frameworks/base/core/java/com/android/internal/statusbar/ |
D | NotificationVisibility.java | 29 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 …]
|
D | IStatusBarService.aidl | 30 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()
|
D | NotificationVisibility.aidl | 19 parcelable NotificationVisibility;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationLogger.java | 34 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/ |
D | ExpansionStateLoggerTest.java | 31 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() 141 … NotificationVisibility.NotificationLocation.LOCATION_FIRST_HEADS_UP.toMetricsEventEnum()); in testExpandedAndVisible_visibleBeforeExpanded() [all …]
|
D | NotificationLoggerTest.java | 39 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/ |
D | NotificationDelegate.java | 22 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/ |
D | SmartReplyController.java | 23 import com.android.internal.statusbar.NotificationVisibility; 78 NotificationVisibility.NotificationLocation location = in smartActionClicked() 80 final NotificationVisibility nv = NotificationVisibility.obtain( in smartActionClicked()
|
D | NotificationRemoteInputManager.java | 52 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()
|
D | NotificationLockscreenUserManagerImpl.java | 41 import com.android.internal.statusbar.NotificationVisibility; 148 NotificationVisibility.NotificationLocation location = 151 final NotificationVisibility nv = NotificationVisibility.obtain(notificationKey,
|
D | NotificationMediaManager.java | 54 import com.android.internal.statusbar.NotificationVisibility; 208 NotificationVisibility visibility, in NotificationMediaManager()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | NotificationVisibilityTest.java | 38 for (NotificationVisibility.NotificationLocation location : in testNotificationLocation_sameValuesAsMetricsProto() 39 NotificationVisibility.NotificationLocation.values()) { in testNotificationLocation_sameValuesAsMetricsProto()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryListener.java | 23 import com.android.internal.statusbar.NotificationVisibility; 102 @Nullable NotificationVisibility visibility, in onEntryRemoved()
|
D | NotificationListController.java | 25 import com.android.internal.statusbar.NotificationVisibility; 69 NotificationVisibility visibility,
|
D | NotificationEntryManager.java | 30 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()
|
D | NotificationAlertingManager.java | 26 import com.android.internal.statusbar.NotificationVisibility; 81 NotificationVisibility visibility, in NotificationAlertingManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarterTest.java | 52 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/ |
D | ForegroundServiceNotificationListener.java | 26 import com.android.internal.statusbar.NotificationVisibility; 64 NotificationVisibility visibility, in ForegroundServiceNotificationListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarter.java | 46 import com.android.internal.statusbar.NotificationVisibility; 332 NotificationVisibility.NotificationLocation location = in handleNotificationClickAfterPanelCollapsed() 335 final NotificationVisibility nv = NotificationVisibility.obtain(notificationKey, in handleNotificationClickAfterPanelCollapsed()
|
D | NotificationGroupAlertTransferHelper.java | 26 import com.android.internal.statusbar.NotificationVisibility; 212 NotificationVisibility visibility,
|
D | StatusBarNotificationPresenter.java | 41 import com.android.internal.statusbar.NotificationVisibility; 201 NotificationVisibility visibility, in StatusBarNotificationPresenter()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationListControllerTest.java | 40 import com.android.internal.statusbar.NotificationVisibility; 105 NotificationVisibility.obtain(entry.key, 0, 0, true), in testCleanUpViewStateOnEntryRemoved()
|
D | NotificationEntryManagerTest.java | 61 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/ |
D | StatusBarManagerService.java | 54 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/ |
D | NotificationManagerServiceTest.java | 142 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 …]
|