Home
last modified time | relevance | path

Searched refs:mUiEventLogger (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedUiEventLogger.java28 private final UiEventLogger mUiEventLogger; field in OneHandedUiEventLogger
84 mUiEventLogger = uiEventLogger; in OneHandedUiEventLogger()
207 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_GESTURE_IN); in logEvent()
210 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_GESTURE_OUT); in logEvent()
213 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_OVERSPACE_OUT); in logEvent()
216 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_POP_IME_OUT); in logEvent()
219 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_ROTATION_OUT); in logEvent()
222 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_APP_TAPS_OUT); in logEvent()
225 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_TIMEOUT_OUT); in logEvent()
228 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_SCREEN_OFF_OUT); in logEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DQSZenModeDialogMetricsLogger.java34 private final UiEventLogger mUiEventLogger = QSEvents.INSTANCE.getQsUiEventsLogger(); field in QSZenModeDialogMetricsLogger
43 mUiEventLogger.log(QSDndEvent.QS_DND_DIALOG_ENABLE_FOREVER); in logOnEnableZenModeForever()
49 mUiEventLogger.log(QSDndEvent.QS_DND_DIALOG_ENABLE_UNTIL_ALARM); in logOnEnableZenModeUntilAlarm()
55 mUiEventLogger.log(QSDndEvent.QS_DND_DIALOG_ENABLE_UNTIL_COUNTDOWN); in logOnEnableZenModeUntilCountdown()
61 mUiEventLogger.log(QSDndEvent.QS_DND_CONDITION_SELECT); in logOnConditionSelected()
67 mUiEventLogger.log(up in logOnClickTimeButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java103 private UiEventLoggerFake mUiEventLogger = new UiEventLoggerFake(); field in NotificationInfoTest
185 mUiEventLogger, in testBindNotification_SetsTextApplicationName()
211 mUiEventLogger, in testBindNotification_SetsPackageIcon()
233 mUiEventLogger, in testBindNotification_noDelegate()
264 mUiEventLogger, in testBindNotification_delegate()
287 mUiEventLogger, in testBindNotification_GroupNameHiddenIfNoGroup()
315 mUiEventLogger, in testBindNotification_SetsGroupNameIfNonNull()
338 mUiEventLogger, in testBindNotification_SetsTextChannelName()
360 mUiEventLogger, in testBindNotification_DefaultChannelDoesNotUseChannelName()
386 mUiEventLogger, in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayControllerTest.java99 private UiEventLogger mUiEventLogger; field in ClipboardOverlayControllerTest
155 mUiEventLogger); in initController()
203 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_SHOWN_EXPANDED, 0, "abc"); in test_setClipData_textData_legacy()
270 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_SHOWN_EXPANDED, 0, "abc"); in test_setClipData_textData()
309 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_SHARE_TAPPED, 0, ""); in test_viewCallbacks_onShareTapped_sharedTransitionsOff()
322 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_SHARE_TAPPED, 0, ""); in test_viewCallbacks_onShareTapped()
334 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_DISMISS_TAPPED, 0, ""); in test_viewCallbacks_onDismissTapped_sharedTransitionsOff()
347 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_DISMISS_TAPPED, 0, null); in test_viewCallbacks_onDismissTapped()
360 verify(mUiEventLogger, times(1)).log(CLIPBOARD_OVERLAY_SWIPE_DISMISSED, 0, null); in test_multipleDismissals_dismissesOnce_sharedTransitionsOff()
361 verify(mUiEventLogger, never()).log(CLIPBOARD_OVERLAY_DISMISS_TAPPED); in test_multipleDismissals_dismissesOnce_sharedTransitionsOff()
[all …]
DClipboardListenerTest.java72 private UiEventLogger mUiEventLogger; field in ClipboardListenerTest
105 mClipboardToast, mClipboardManager, mKeyguardManager, mUiEventLogger); in setup()
113 verifyZeroInteractions(mUiEventLogger); in test_initialization()
179 verify(mUiEventLogger, times(1)).log( in test_logging_enterAndReenter()
181 verify(mUiEventLogger, times(1)).log( in test_logging_enterAndReenter()
193 verify(mUiEventLogger, times(1)).log( in test_userSetupIncomplete_showsToast()
207 verify(mUiEventLogger, times(1)).log( in test_deviceLocked_showsToast()
221 verify(mUiEventLogger, times(1)).log( in test_deviceLocked_legacyBehavior_showsInteractiveUI()
234 verifyZeroInteractions(mUiEventLogger); in test_nullClipData_showsNothing()
248 verify(mUiEventLogger, times(1)).log( in test_emptyClipData_showsToast()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/logging/
DUIMetrics.kt28 private val mUiEventLogger: UiEventLogger = UiEventLoggerImpl() constant in com.android.credentialmanager.logging.UIMetrics
41 mUiEventLogger.log(event, instanceId) in log()
49 mUiEventLogger.logWithInstanceId(event, /*uid=*/0, packageName, instanceId) in log()
56 mUiEventLogger.logWithInstanceId(event, /*uid=*/0, packageName, instanceId) in log()
61 mUiEventLogger.logWithInstanceId(event, /*uid=*/0, packageName, mInstanceId) in logNormal()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedUiEventLoggerTest.java39 private UiEventLoggerFake mUiEventLogger; field in OneHandedUiEventLoggerTest
51 mUiEventLogger = new UiEventLoggerFake(); in setFakeLoggers()
58 assertEquals(1, mUiEventLogger.numLogs()); in testLogEvent()
59 assertEquals(mUiEvent.getId(), mUiEventLogger.eventId(0)); in testLogEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java72 private UiEventLoggerFake mUiEventLogger; field in LocationControllerImplTest
87 mUiEventLogger = new UiEventLoggerFake(); in setup()
100 mUiEventLogger, in setup()
179 assertThat(mUiEventLogger.numLogs()).isEqualTo(1); in testCallbackNotified()
180 assertThat(mUiEventLogger.eventId(0)).isEqualTo( in testCallbackNotified()
326 assertThat(mUiEventLogger.numLogs()).isEqualTo(3); in testCallbackNotified_verifyMetrics()
327 assertThat(mUiEventLogger.eventId(0)).isEqualTo( in testCallbackNotified_verifyMetrics()
332 assertThat(mUiEventLogger.eventId(1)).isEqualTo( in testCallbackNotified_verifyMetrics()
335 assertThat(mUiEventLogger.eventId(2)).isEqualTo( in testCallbackNotified_verifyMetrics()
338 mUiEventLogger.getLogs().clear(); in testCallbackNotified_verifyMetrics()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardListener.java63 private final UiEventLogger mUiEventLogger; field in ClipboardListener
78 mUiEventLogger = uiEventLogger; in ClipboardListener()
106 mUiEventLogger.log(CLIPBOARD_TOAST_SHOWN, 0, clipSource); in onPrimaryClipChanged()
114 mUiEventLogger.log(CLIPBOARD_OVERLAY_ENTERED, 0, clipSource); in onPrimaryClipChanged()
116 mUiEventLogger.log(CLIPBOARD_OVERLAY_UPDATED, 0, clipSource); in onPrimaryClipChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingServiceTest.java68 private UiEventLogger mUiEventLogger; field in RecordingServiceTest
115 mHandler, mUiEventLogger, mNotificationManager, in setUp()
144 verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_START); in testLogStartFullScreenRecording()
154 verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_START); in testLogStartPartialRecording()
163 verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_END_QS_TILE); in testLogStopFromQsTile()
164 verify(mUiEventLogger, times(0)) in testLogStopFromQsTile()
174 verify(mUiEventLogger, times(1)) in testLogStopFromNotificationIntent()
176 verify(mUiEventLogger, times(0)).log(Events.ScreenRecordEvent.SCREEN_RECORD_END_QS_TILE); in testLogStopFromNotificationIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java66 private final UiEventLogger mUiEventLogger; field in BrightnessSliderController
96 mUiEventLogger = uiEventLogger; in BrightnessSliderController()
251 mUiEventLogger.log(BrightnessSliderEvent.BRIGHTNESS_SLIDER_STARTED_TRACKING_TOUCH);
266 mUiEventLogger.log(BrightnessSliderEvent.BRIGHTNESS_SLIDER_STOPPED_TRACKING_TOUCH);
284 private final UiEventLogger mUiEventLogger; field in BrightnessSliderController.Factory
298 mUiEventLogger = uiEventLogger; in Factory()
324 root, mFalsingManager, mUiEventLogger, plugin, mActivityStarter); in create()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUiEventLogger.kt32 private val mUiEventLogger: UiEventLogger, constant in com.android.wm.shell.desktopmode.DesktopModeUiEventLogger
47 mUiEventLogger.log(event, uid, packageName) in log()
72 mUiEventLogger.logWithInstanceId(event, uid, packageName, instanceId) in getNewInstanceId()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleLogger.java31 private final UiEventLogger mUiEventLogger; field in BubbleLogger
82 mUiEventLogger = uiEventLogger; in BubbleLogger()
90 mUiEventLogger.logWithInstanceId(e, b.getAppUid(), b.getPackageName(), b.getInstanceId()); in log()
140 mUiEventLogger.log(BubbleLogger.Event.BUBBLE_OVERFLOW_SELECTED, currentUserId, in logShowOverflow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletActivity.java77 private final UiEventLogger mUiEventLogger; field in WalletActivity
108 mUiEventLogger = uiEventLogger; in WalletActivity()
142 mUiEventLogger); in onCreate()
165 mUiEventLogger.log(WalletUiEvent.QAW_SHOW_ALL); in onCreate()
170 mUiEventLogger.log(WalletUiEvent.QAW_UNLOCK_FROM_SHOW_ALL_BUTTON); in onCreate()
172 mUiEventLogger.log(WalletUiEvent.QAW_SHOW_ALL); in onCreate()
190 mUiEventLogger.log(WalletUiEvent.QAW_UNLOCK_FROM_UNLOCK_BUTTON); in onCreate()
DWalletScreenController.java80 private final UiEventLogger mUiEventLogger; field in WalletScreenController
108 mUiEventLogger = uiEventLogger; in WalletScreenController()
159 mUiEventLogger.log(WalletUiEvent.QAW_IMPRESSION); in onWalletCardsRetrieved()
202 mUiEventLogger.log(WalletUiEvent.QAW_CHANGE_CARD); in onCardSelected()
233 mUiEventLogger.log(WalletUiEvent.QAW_UNLOCK_FROM_CARD_CLICK); in onCardClicked()
235 mUiEventLogger.log(WalletUiEvent.QAW_CLICK_CARD); in onCardClicked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerBaseTest.java120 private UiEventLoggerFake mUiEventLogger = new UiEventLoggerFake(); field in QSPanelControllerBaseTest
218 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager); in setup()
235 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager) { in testSetRevealExpansion_preAttach()
271 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
272 assertEquals(QSEvent.QS_PANEL_EXPANDED.getId(), mUiEventLogger.eventId(0)); in testSetExpanded_Metrics()
273 mUiEventLogger.getLogs().clear(); in testSetExpanded_Metrics()
279 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
280 assertEquals(QSEvent.QS_PANEL_COLLAPSED.getId(), mUiEventLogger.eventId(0)); in testSetExpanded_Metrics()
281 mUiEventLogger.getLogs().clear(); in testSetExpanded_Metrics()
315 verify(mPagedTileLayout).setListening(true, mUiEventLogger); in setListening()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java70 private UiEventLogger mUiEventLogger; field in KeyButtonViewTest
81 mUiEventLogger = mDependency.injectMockDependency(UiEventLogger.class); in setup()
85 mInputManagerGlobal, mUiEventLogger); in setup()
162 verify(mUiEventLogger, never()).log(any(KeyButtonView.NavBarButtonEvent.class)); in checkmetrics()
164 verify(mUiEventLogger, times(1)).log(expected); in checkmetrics()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLoggerImpl.java32 private UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in NotificationRecordLoggerImpl
89 mUiEventLogger.logWithInstanceId(event, r.getUid(), r.getSbn().getPackageName(), in log()
95 mUiEventLogger.log(event); in log()
DNotificationChannelLoggerImpl.java32 UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in NotificationChannelLoggerImpl
70 mUiEventLogger.log(event, uid, pkg); in logAppEvent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/
DEventsTest.java61 private UiEventLoggerFake mUiEventLogger; field in EventsTest
67 mUiEventLogger = new UiEventLoggerFake(); in setFakeLoggers()
68 Events.sUiEventLogger = mUiEventLogger; in setFakeLoggers()
109 assertEquals(1, mUiEventLogger.numLogs()); in testLogEvent()
110 assertEquals(mUiEvent.getId(), mUiEventLogger.eventId(0)); in testLogEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java143 private final UiEventLogger mUiEventLogger; field in GuestResumeSessionReceiver.ResetSessionDialog
171 mUiEventLogger = uiEventLogger; in ResetSessionDialog()
178 mUiEventLogger.log(QSUserSwitcherEvent.QS_USER_GUEST_WIPE); in onClick()
182 mUiEventLogger.log(QSUserSwitcherEvent.QS_USER_GUEST_CONTINUE); in onClick()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropEventLogger.java40 private final UiEventLogger mUiEventLogger; field in DragAndDropEventLogger
49 mUiEventLogger = uiEventLogger; in DragAndDropEventLogger()
89 mUiEventLogger.logWithInstanceId(event, in log()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/
DSessionTrackerTest.java70 private UiEventLogger mUiEventLogger; field in SessionTrackerTest
95 mUiEventLogger in setup()
262 verify(mUiEventLogger).log( in uiEventLoggedOnEndSessionWhenDeviceStartsSleeping()
278 verify(mUiEventLogger, never()).log( in noUiEventLoggedOnEndSessionWhenDeviceStartsSleepingWithoutStartSession()
297 verify(mUiEventLogger).log( in uiEventLoggedOnEndSessionWhenKeyguardGoingAway()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java84 private final UiEventLogger mUiEventLogger; field in LongScreenshotActivity
121 mUiEventLogger = uiEventLogger; in LongScreenshotActivity()
190 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_STARTED); in onStart()
278 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_CACHED_IMAGE_LOADED); in onCachedImageLoaded()
317 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_FINISHED); in onStop()
389 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_SAVED); in onClicked()
392 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_EDIT); in onClicked()
395 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_SHARE); in onClicked()
398 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_EXIT); in onClicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java78 private final UiEventLogger mUiEventLogger; field in LocationControllerImpl
103 mUiEventLogger = uiEventLogger; in LocationControllerImpl()
286 mUiEventLogger.log( in areActiveLocationRequests()
290 mUiEventLogger.log(LocationIndicatorEvent.LOCATION_INDICATOR_SYSTEM_APP); in areActiveLocationRequests()
293 mUiEventLogger.log(LocationIndicatorEvent.LOCATION_INDICATOR_NON_SYSTEM_APP); in areActiveLocationRequests()
340 mUiEventLogger.log( in updateActiveLocationRequests()

12345