Home
last modified time | relevance | path

Searched refs:mMetricsLogger (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/core/java/android/app/slice/
DSliceMetrics.java43 private MetricsLogger mMetricsLogger; field in SliceMetrics
50 mMetricsLogger = new MetricsLogger(); in SliceMetrics()
63 mMetricsLogger.write(mLogMaker); in logVisible()
74 mMetricsLogger.write(mLogMaker); in logHidden()
97 mMetricsLogger.write(mLogMaker); in logTouch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java108 private MetricsLogger mMetricsLogger; field in NotificationInfoTest
190 mMetricsLogger); in testBindNotification_SetsTextApplicationName()
216 mMetricsLogger); in testBindNotification_SetsPackageIcon()
238 mMetricsLogger); in testBindNotification_noDelegate()
269 mMetricsLogger); in testBindNotification_delegate()
292 mMetricsLogger); in testBindNotification_GroupNameHiddenIfNoGroup()
320 mMetricsLogger); in testBindNotification_SetsGroupNameIfNonNull()
343 mMetricsLogger); in testBindNotification_SetsTextChannelName()
365 mMetricsLogger); in testBindNotification_DefaultChannelDoesNotUseChannelName()
391 mMetricsLogger); in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java91 private @Mock MetricsLogger mMetricsLogger; field in GestureLauncherServiceTest
119 mGestureLauncherService = new GestureLauncherService(mContext, mMetricsLogger, in setup()
262 verify(mMetricsLogger).histogram("power_consecutive_short_tap_count", 1); in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
263 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
282 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched()
311 verify(mMetricsLogger, never()) in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
316 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
323 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
356 verify(mMetricsLogger, never()) in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
361 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySavingStatsTest.java105 public MetricsLogger mMetricsLogger = mock(MetricsLogger.class); field in BatterySavingStatsTest
254 verify(mMetricsLogger, times(0)).write(any(LogMaker.class)); in assertLog()
270 verify(mMetricsLogger, times(0)).count(anyString(), anyInt()); in testMetricsLogger()
275 reset(mMetricsLogger); in testMetricsLogger()
287 reset(mMetricsLogger); in testMetricsLogger()
297 verify(mMetricsLogger, times(0)).count(anyString(), anyInt()); in testMetricsLogger()
308 verify(mMetricsLogger, times(0)).count(anyString(), anyInt()); in testMetricsLogger()
321 reset(mMetricsLogger); in testMetricsLogger()
333 reset(mMetricsLogger); in testMetricsLogger()
340 verify(mMetricsLogger, times(0)).count(anyString(), anyInt()); in testMetricsLogger()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java93 private final MetricsLogger mMetricsLogger; field in LockscreenGestureLogger
97 mMetricsLogger = metricsLogger; in LockscreenGestureLogger()
105 mMetricsLogger.write(new LogMaker(gesture) in write()
128 mMetricsLogger.write(new LogMaker(category) in writeAtFractionalPosition()
DCentralSurfacesCommandQueueCallbacks.java91 private final MetricsLogger mMetricsLogger; field in CentralSurfacesCommandQueueCallbacks
162 mMetricsLogger = metricsLogger; in CentralSurfacesCommandQueueCallbacks()
316 mMetricsLogger.action(MetricsEvent.ACTION_SYSTEM_NAVIGATION_KEY_UP); in handleSystemKey()
319 mMetricsLogger.action(MetricsEvent.ACTION_SYSTEM_NAVIGATION_KEY_DOWN); in handleSystemKey()
327 mMetricsLogger.count("panel_open", 1); in handleSystemKey()
331 mMetricsLogger.count("panel_open_qs", 1); in handleSystemKey()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButtonController.java63 private final MetricsLogger mMetricsLogger; field in EmergencyButtonController
110 mMetricsLogger = metricsLogger; in EmergencyButtonController()
167 mMetricsLogger.action(MetricsEvent.ACTION_EMERGENCY_CALL); in takeEmergencyCallAction()
219 private final MetricsLogger mMetricsLogger; field in EmergencyButtonController.Factory
244 mMetricsLogger = metricsLogger; in Factory()
255 mTelecomManager, mMetricsLogger, mLockPatternUtils, mMainExecutor, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java62 private final MetricsLogger mMetricsLogger; field in ForegroundServicesDialog
81 mMetricsLogger = metricsLogger; in ForegroundServicesDialog()
115 mMetricsLogger.visible(MetricsProto.MetricsEvent.RUNNING_BACKGROUND_APPS_DIALOG); in onResume()
121 mMetricsLogger.hidden(MetricsProto.MetricsEvent.RUNNING_BACKGROUND_APPS_DIALOG); in onPause()
/frameworks/base/core/java/com/android/internal/os/
DStatsdHiddenApiUsageLogger.java30 private final MetricsLogger mMetricsLogger = new MetricsLogger(); field in StatsdHiddenApiUsageLogger
83 mMetricsLogger.write(logMaker); in logUsage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java70 private final MetricsLogger mMetricsLogger; field in DefaultUiController
89 mMetricsLogger = metricsLogger; in DefaultUiController()
165 mMetricsLogger.write(new LogMaker(MetricsEvent.ASSISTANT) in logInvocationProgressMetrics()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DOneHandedModeTileTest.java60 private MetricsLogger mMetricsLogger; field in OneHandedModeTileTest
88 mMetricsLogger, in setUp()
DColorCorrectionTileTest.java62 private MetricsLogger mMetricsLogger; field in ColorCorrectionTileTest
93 mMetricsLogger, in setUp()
DNfcTileTest.java67 private MetricsLogger mMetricsLogger; field in NfcTileTest
94 mMetricsLogger, in setUp()
DDataSaverTileTest.kt52 @Mock private lateinit var mMetricsLogger: MetricsLogger variable in com.android.systemui.qs.tiles.DataSaverTileTest
81 mMetricsLogger, in setUp()
DNightDisplayTileTest.kt54 @Mock private lateinit var mMetricsLogger: MetricsLogger variable in com.android.systemui.qs.tiles.NightDisplayTileTest
94 mMetricsLogger, in setUp()
DAirplaneModeTileTest.kt61 private lateinit var mMetricsLogger: MetricsLogger variable in com.android.systemui.qs.tiles.AirplaneModeTileTest
98 mMetricsLogger, in setUp()
DColorInversionTileTest.java67 private MetricsLogger mMetricsLogger; field in ColorInversionTileTest
98 mMetricsLogger, in setUp()
DQRCodeScannerTileTest.java59 private MetricsLogger mMetricsLogger; field in QRCodeScannerTileTest
86 mMetricsLogger, in setUp()
DRotationLockTileTest.java79 private MetricsLogger mMetricsLogger; field in RotationLockTileTest
120 mMetricsLogger, in setUp()
225 mMetricsLogger, in testSecondaryString_rotationResolverDisabled_isEmpty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java93 private final MetricsLogger mMetricsLogger; field in NotificationGutsManager
185 mMetricsLogger = metricsLogger; in NotificationGutsManager()
388 mMetricsLogger.action(MetricsProto.MetricsEvent.ACTION_APP_NOTE_SETTINGS); in initializeNotificationInfo()
397 mMetricsLogger.action(MetricsProto.MetricsEvent.ACTION_NOTE_INFO); in initializeNotificationInfo()
419 mMetricsLogger); in initializeNotificationInfo()
443 mMetricsLogger.action(MetricsProto.MetricsEvent.ACTION_NOTE_INFO); in initializePartialConversationNotificationInfo()
482 mMetricsLogger.action(MetricsProto.MetricsEvent.ACTION_APP_NOTE_SETTINGS); in initializeConversationNotificationInfo()
497 mMetricsLogger.action(MetricsProto.MetricsEvent.ACTION_NOTE_INFO); in initializeConversationNotificationInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java104 private MetricsLogger mMetricsLogger; field in QSTileImplTest
137 mMetricsLogger, in setup()
152 verify(mMetricsLogger).write(argThat(new TileLogMatcher(ACTION_QS_CLICK))); in testClick_Metrics()
188 verify(mMetricsLogger).write(mLogCaptor.capture()); in testClick_Metrics_Status_Bar_Status()
222 verify(mMetricsLogger).write(argThat(new TileLogMatcher(ACTION_QS_SECONDARY_CLICK))); in testSecondaryClick_Metrics()
258 verify(mMetricsLogger).write(mLogCaptor.capture()); in testSecondaryClick_Metrics_Status_Bar_Status()
266 verify(mMetricsLogger).write(argThat(new TileLogMatcher(ACTION_QS_LONG_PRESS))); in testLongClick_Metrics()
303 verify(mMetricsLogger).write(mLogCaptor.capture()); in testLongClick_Metrics_Status_Bar_Status()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java116 private final MetricsLogger mMetricsLogger; field in GestureLauncherService
215 mMetricsLogger = metricsLogger; in GestureLauncherService()
582 mMetricsLogger.histogram("emergency_gesture_spent_time", in interceptPowerKeyDown()
607 mMetricsLogger.action(MetricsEvent.ACTION_DOUBLE_TAP_POWER_CAMERA_GESTURE, in interceptPowerKeyDown()
622 mMetricsLogger.histogram("power_consecutive_short_tap_count", in interceptPowerKeyDown()
624 mMetricsLogger.histogram("power_double_tap_interval", (int) powerTapInterval); in interceptPowerKeyDown()
744 mMetricsLogger.action(MetricsEvent.ACTION_WIGGLE_CAMERA_GESTURE); in onSensorChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java77 private final ZenModeDialogMetricsLogger mMetricsLogger; field in EnableZenModeDialog
118 mMetricsLogger = metricsLogger; in EnableZenModeDialog()
139 mMetricsLogger.logOnEnableZenModeForever(); in createDialog()
141 mMetricsLogger.logOnEnableZenModeUntilAlarm(); in createDialog()
143 mMetricsLogger.logOnEnableZenModeUntilCountdown(); in createDialog()
233 mMetricsLogger.logOnConditionSelected(); in bind()
448 mMetricsLogger.logOnClickTimeButton(up); in onClickTimeButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerBaseTest.java119 private MetricsLogger mMetricsLogger; field in QSPanelControllerBaseTest
218 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager); in setup()
235 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager) { in testSetRevealExpansion_preAttach()
269 verify(mMetricsLogger).visibility(eq(MetricsEvent.QS_PANEL), eq(true)); in testSetExpanded_Metrics()
277 verify(mMetricsLogger).visibility(eq(MetricsEvent.QS_PANEL), eq(false)); in testSetExpanded_Metrics()
334 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager); in testShouldUseHorizontalLayout_falseForSplitShade()
343 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager); in testShouldUseHorizontalLayout_falseForSplitShade()
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java183 private MetricsLogger mMetricsLogger; field in ColorDisplayManager
602 if (mMetricsLogger == null) { in getMetricsLogger()
603 mMetricsLogger = new MetricsLogger(); in getMetricsLogger()
605 return mMetricsLogger; in getMetricsLogger()

1234