Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java106 private UiEventLoggerFake mUiEventLogger = new UiEventLoggerFake(); field in NotificationInfoTest
192 mUiEventLogger, in testBindNotification_SetsTextApplicationName()
217 mUiEventLogger, in testBindNotification_SetsPackageIcon()
238 mUiEventLogger, in testBindNotification_noDelegate()
268 mUiEventLogger, in testBindNotification_delegate()
290 mUiEventLogger, in testBindNotification_GroupNameHiddenIfNoGroup()
317 mUiEventLogger, in testBindNotification_SetsGroupNameIfNonNull()
339 mUiEventLogger, in testBindNotification_SetsTextChannelName()
360 mUiEventLogger, in testBindNotification_DefaultChannelDoesNotUseChannelName()
385 mUiEventLogger, in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist()
[all …]
DAppOpsInfoTest.java73 private UiEventLoggerFake mUiEventLogger = new UiEventLoggerFake(); field in AppOpsInfoTest
99 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, mUiEventLogger, new ArraySet<>()); in testBindNotification_SetsTextApplicationName()
109 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, mUiEventLogger, new ArraySet<>()); in testBindNotification_SetsPackageIcon()
125 }, mSbn, mUiEventLogger, expectedOps); in testBindNotification_SetsOnClickListenerForSettings()
135 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, mUiEventLogger, new ArraySet<>()); in testBindNotification_LogsOpen()
136 assertEquals(1, mUiEventLogger.numLogs()); in testBindNotification_LogsOpen()
138 mUiEventLogger.eventId(0)); in testBindNotification_LogsOpen()
152 }, mSbn, mUiEventLogger, expectedOps); in testOk()
164 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, mUiEventLogger, expectedOps); in testPrompt_camera()
173 mAppOpsInfo.bindGuts(mMockPackageManager, null, mSbn, mUiEventLogger, expectedOps); in testPrompt_mic()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSDetailTest.java60 private UiEventLoggerFake mUiEventLogger; field in QSDetailTest
65 mUiEventLogger = QSEvents.INSTANCE.setLoggerForTesting(); in setup()
101 assertEquals(1, mUiEventLogger.numLogs()); in testShowDetail_Metrics()
102 assertEquals(QSUserSwitcherEvent.QS_USER_DETAIL_OPEN.getId(), mUiEventLogger.eventId(0)); in testShowDetail_Metrics()
103 mUiEventLogger.getLogs().clear(); in testShowDetail_Metrics()
108 assertEquals(1, mUiEventLogger.numLogs()); in testShowDetail_Metrics()
109 assertEquals(QSUserSwitcherEvent.QS_USER_DETAIL_CLOSE.getId(), mUiEventLogger.eventId(0)); in testShowDetail_Metrics()
121 mUiEventLogger.getLogs().clear(); in testMoreSettingsButton()
126 assertEquals(1, mUiEventLogger.numLogs()); in testMoreSettingsButton()
127 assertEquals(QSUserSwitcherEvent.QS_USER_MORE_SETTINGS.getId(), mUiEventLogger.eventId(0)); in testMoreSettingsButton()
DQSPanelTest.java101 private UiEventLoggerFake mUiEventLogger; field in QSPanelTest
116 mUiEventLogger = new UiEventLoggerFake(); in setup()
120 mQSLogger, mMediaHost, mUiEventLogger); in setup()
141 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
142 assertEquals(QSEvent.QS_PANEL_EXPANDED.getId(), mUiEventLogger.eventId(0)); in testSetExpanded_Metrics()
143 mUiEventLogger.getLogs().clear(); in testSetExpanded_Metrics()
148 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
149 assertEquals(QSEvent.QS_PANEL_COLLAPSED.getId(), mUiEventLogger.eventId(0)); in testSetExpanded_Metrics()
150 mUiEventLogger.getLogs().clear(); in testSetExpanded_Metrics()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingServiceTest.java51 private UiEventLogger mUiEventLogger; field in RecordingServiceTest
70 mRecordingService = Mockito.spy(new RecordingService(mController, mExecutor, mUiEventLogger, in setUp()
95 verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_START); in testLogStartRecording()
104 verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_END_QS_TILE); in testLogStopFromQsTile()
105 verify(mUiEventLogger, times(0)) in testLogStopFromQsTile()
115 verify(mUiEventLogger, times(1)) in testLogStopFromNotificationIntent()
117 verify(mUiEventLogger, times(0)).log(Events.ScreenRecordEvent.SCREEN_RECORD_END_QS_TILE); in testLogStopFromNotificationIntent()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLoggerImpl.java30 private UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in NotificationRecordLoggerImpl
75 mUiEventLogger.logWithInstanceId(event, r.getUid(), r.getSbn().getPackageName(), in log()
81 mUiEventLogger.log(event); in log()
DNotificationChannelLoggerImpl.java32 UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in NotificationChannelLoggerImpl
61 mUiEventLogger.log(event, uid, pkg); in logAppEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DEventsTest.java58 private UiEventLoggerFake mUiEventLogger; field in EventsTest
64 mUiEventLogger = new UiEventLoggerFake(); in setFakeLoggers()
65 Events.sUiEventLogger = mUiEventLogger; in setFakeLoggers()
106 assertEquals(1, mUiEventLogger.numLogs()); in testLogEvent()
107 assertEquals(mUiEvent.getId(), mUiEventLogger.eventId(0)); in testLogEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java72 private UiEventLogger mUiEventLogger; field in KeyButtonViewTest
83 mUiEventLogger = mDependency.injectMockDependency(UiEventLogger.class); in setup()
86 mKeyButtonView = new KeyButtonView(mContext, null, 0, mInputManager, mUiEventLogger); in setup()
147 verify(mUiEventLogger, never()).log(any(KeyButtonView.NavBarButtonEvent.class)); in checkmetrics()
149 verify(mUiEventLogger, times(1)).log(expected); in checkmetrics()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivityLoggerImpl.java32 private UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in ChooserActivityLoggerImpl
64 mUiEventLogger.logWithInstanceId( in log()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java57 private final UiEventLogger mUiEventLogger; field in TakeScreenshotService
101 mUiEventLogger.log(ScreenshotEvent.getScreenshotSource(screenshotRequest.getSource()));
132 mUiEventLogger = uiEventLogger; in TakeScreenshotService()
DGlobalScreenshot.java193 private final UiEventLogger mUiEventLogger; field in GlobalScreenshot
238 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_INTERACTION_TIMEOUT);
258 mUiEventLogger = uiEventLogger; in GlobalScreenshot()
454 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_EXPLICIT_DISMISSAL); in reloadAssets()
658 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_NOT_SAVED); in saveScreenshotAndToast()
662 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SAVED); in saveScreenshotAndToast()
763 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_NOT_SAVED); in logSuccessOnActionsReady()
767 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SAVED); in logSuccessOnActionsReady()
966 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SMART_ACTION_TAPPED); in createScreenshotActionsShadeAnimation()
979 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SHARE_TAPPED); in createScreenshotActionsShadeAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanel.java99 return new QuickQSPanel.HeaderTileLayout(mContext, mUiEventLogger); in createRegularTileLayout()
104 return new DoubleLineTileLayout(mContext, mUiEventLogger); in createHorizontalTileLayout()
273 private final UiEventLogger mUiEventLogger; field in QuickQSPanel.HeaderTileLayout
279 mUiEventLogger = uiEventLogger; in HeaderTileLayout()
413 mUiEventLogger.logWithInstanceId(QSEvent.QQS_TILE_VISIBLE, 0, in setListening()
DQSDetail.java53 private final UiEventLogger mUiEventLogger = QSEvents.INSTANCE.getQsUiEventsLogger(); field in QSDetail
206 mUiEventLogger.log(adapter.openDetailEvent()); in handleShowingDetail()
216 mUiEventLogger.log(mDetailAdapter.closeDetailEvent()); in handleShowingDetail()
252 mUiEventLogger.log(adapter.moreSettingsEvent()); in setupDetailFooter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java73 private final UiEventLogger mUiEventLogger; field in UserDetailView.Adapter
80 mUiEventLogger = uiEventLogger; in Adapter()
151 mUiEventLogger.log(QSUserSwitcherEvent.QS_USER_SWITCH); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfo.java54 private UiEventLogger mUiEventLogger; field in AppOpsInfo
79 mUiEventLogger = uiEventLogger; in bindGuts()
210 mUiEventLogger.logWithInstanceId(event, in logUiEvent()
DNotificationGutsManager.java125 private final UiEventLogger mUiEventLogger; field in NotificationGutsManager
156 mUiEventLogger = uiEventLogger; in NotificationGutsManager()
322 mUiEventLogger.logWithInstanceId( in initializeAppOpsInfo()
330 appOpsInfoView.bindGuts(pmUser, onSettingsClick, sbn, mUiEventLogger, in initializeAppOpsInfo()
381 mUiEventLogger, in initializeNotificationInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java81 private final UiEventLogger mUiEventLogger; field in RecordingService
91 mUiEventLogger = uiEventLogger; in RecordingService()
151 mUiEventLogger.log(Events.ScreenRecordEvent.SCREEN_RECORD_END_NOTIFICATION); in onStartCommand()
153 mUiEventLogger.log(Events.ScreenRecordEvent.SCREEN_RECORD_END_QS_TILE); in onStartCommand()
228 mUiEventLogger.log(Events.ScreenRecordEvent.SCREEN_RECORD_START); in startRecording()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java90 private UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in QSCustomizer
193 mUiEventLogger.log(QSEditEvent.QS_EDIT_OPEN); in show()
231 mUiEventLogger.log(QSEditEvent.QS_EDIT_CLOSED); in hide()
269 mUiEventLogger.log(QSEditEvent.QS_EDIT_RESET); in onMenuItemClick()
DTileAdapter.java95 private final UiEventLogger mUiEventLogger; field in TileAdapter
99 mUiEventLogger = uiEventLogger; in TileAdapter()
441 mUiEventLogger.log(QSEditEvent.QS_EDIT_REMOVE, 0, strip(mTiles.get(to)));
443 mUiEventLogger.log(QSEditEvent.QS_EDIT_ADD, 0, strip(mTiles.get(to)));
445 mUiEventLogger.log(QSEditEvent.QS_EDIT_MOVE, 0, strip(mTiles.get(to)));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java73 private final UiEventLogger mUiEventLogger; field in StatusBarStateControllerImpl
125 mUiEventLogger = uiEventLogger; in StatusBarStateControllerImpl()
161 mUiEventLogger.log(StatusBarStateEvent.fromState(mState)); in setState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java101 private final UiEventLogger mUiEventLogger; field in QSTileImpl
160 mUiEventLogger = host.getUiEventLogger(); in QSTileImpl()
253 mUiEventLogger.logWithInstanceId(QSEvent.QS_ACTION_CLICK, 0, getMetricsSpec(), in click()
263 mUiEventLogger.logWithInstanceId(QSEvent.QS_ACTION_SECONDARY_CLICK, 0, getMetricsSpec(), in secondaryClick()
274 mUiEventLogger.logWithInstanceId(QSEvent.QS_ACTION_LONG_PRESS, 0, getMetricsSpec(), in longClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java113 private UiEventLogger mUiEventLogger; field in NavigationBarFragmentTest
197 verify(mUiEventLogger, times(1)).log(NAVBAR_ASSIST_LONGPRESS); in testHomeLongPress()
274 mUiEventLogger); in instantiate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java64 private final UiEventLogger mUiEventLogger = new UiEventLoggerImpl(); field in RotationButtonController
328 mUiEventLogger.log(RotationButtonEvent.ROTATION_SUGGESTION_ACCEPTED); in onRotateSuggestionClick()
350 mUiEventLogger.log(RotationButtonEvent.ROTATION_SUGGESTION_SHOWN); in showAndLogRotationSuggestion()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java94 private UiEventLogger mUiEventLogger; field in TileServicesTest
113 mUiEventLogger); in setUp()

12