Home
last modified time | relevance | path

Searched refs:MetricsLogger (Results 1 – 25 of 169) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java25 import com.android.internal.logging.MetricsLogger;
129 MetricsLogger logger = new MetricsLogger(); in writeEvent()
136 MetricsLogger.visible(context, MetricsEvent.VOLUME_DIALOG); in writeEvent()
137 MetricsLogger.histogram(context, "volume_from_keyguard", in writeEvent()
142 MetricsLogger.visibility(context, MetricsEvent.VOLUME_DIALOG_DETAILS, in writeEvent()
147 MetricsLogger.hidden(context, MetricsEvent.VOLUME_DIALOG); in writeEvent()
151 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_STREAM, in writeEvent()
156 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_ICON, in writeEvent()
162 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_SLIDER, in writeEvent()
172 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_KEY, in writeEvent()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DEventLogWriter.java24 import com.android.internal.logging.MetricsLogger;
37 MetricsLogger.action(logMaker); in visible()
42 MetricsLogger.hidden(context, category); in hidden()
54 MetricsLogger.action(logMaker); in action()
59 MetricsLogger.action(context, category, value); in action()
64 MetricsLogger.action(context, category, value); in action()
73 MetricsLogger.action(logMaker); in action()
90 MetricsLogger.action(logMaker); in action()
/frameworks/base/core/java/com/android/internal/os/logging/
DMetricsLoggerWrapper.java26 import com.android.internal.logging.MetricsLogger;
40 MetricsLogger.action(context, MetricsEvent.ACTION_PICTURE_IN_PICTURE_DISMISSED, in logPictureInPictureDismissByTap()
50 MetricsLogger.action(context, in logPictureInPictureDismissByDrag()
61 MetricsLogger.action(context, MetricsEvent.ACTION_PICTURE_IN_PICTURE_MINIMIZED, in logPictureInPictureMinimize()
87 MetricsLogger.visibility(context, MetricsEvent.ACTION_PICTURE_IN_PICTURE_MENU, in logPictureInPictureMenuVisible()
93 MetricsLogger.action(context, MetricsEvent.ACTION_PICTURE_IN_PICTURE_ENTERED, in logPictureInPictureEnter()
102 MetricsLogger.action(context, in logPictureInPictureFullScreen()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DMetricsLoggerCompat.java19 import com.android.internal.logging.MetricsLogger;
24 private final MetricsLogger mMetricsLogger;
28 mMetricsLogger = new MetricsLogger(); in MetricsLoggerCompat()
/frameworks/base/core/java/android/service/autofill/augmented/
DHelper.java22 import com.android.internal.logging.MetricsLogger;
28 private static final MetricsLogger sMetricsLogger = new MetricsLogger();
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPowerNotificationControlsFragment.java28 import com.android.internal.logging.MetricsLogger;
62 MetricsLogger.action(getContext(), in onViewCreated()
77 MetricsLogger.visibility( in onResume()
84 MetricsLogger.visibility( in onPause()
DStatusBarSwitch.java27 import com.android.internal.logging.MetricsLogger;
69 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_DISABLE, in persistBoolean()
76 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_ENABLE, getKey()); in persistBoolean()
DDemoModeFragment.java34 import com.android.internal.logging.MetricsLogger;
99 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER_DEMO_MODE, true); in onResume()
105 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER_DEMO_MODE, false); in onPause()
136 MetricsLogger.action(getContext(), MetricsEvent.TUNER_DEMO_MODE_ENABLED, enabled); in onPreferenceChange()
139 MetricsLogger.action(getContext(), MetricsEvent.TUNER_DEMO_MODE_ON, enabled); in onPreferenceChange()
DTunerFragment.java33 import com.android.internal.logging.MetricsLogger;
103 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER, true); in onResume()
110 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER, false); in onPause()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java38 public class MetricsLogger { class
42 private static MetricsLogger sMetricsLogger;
45 public MetricsLogger() { in MetricsLogger() method in MetricsLogger
48 private static MetricsLogger getLogger() { in getLogger()
50 sMetricsLogger = new MetricsLogger(); in getLogger()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java46 import com.android.internal.logging.MetricsLogger;
144 MetricsLogger.count(mContext, "sth_start_recognition", 1); in startGenericRecognition()
174 MetricsLogger.count(mContext, "sth_start_recognition", 1); in startKeyphraseRecognition()
348 MetricsLogger.count(mContext, "sth_stop_recognition", 1); in stopGenericRecognition()
381 MetricsLogger.count(mContext, "sth_stop_recognition", 1); in stopKeyphraseRecognition()
487 MetricsLogger.count(mContext, "sth_unloading_stale_model", 1); in tryStopAndUnloadLocked()
504 MetricsLogger.count(mContext, "sth_unload_keyphrase_sound_model", 1); in unloadKeyphraseSoundModel()
532 MetricsLogger.count(mContext, "sth_unload_generic_sound_model", 1); in unloadGenericSoundModel()
580 MetricsLogger.count(mContext, "sth_get_generic_model_state", 1); in getGenericModelState()
649 MetricsLogger.count(mContext, "sth_generic_recognition_event", 1); in onGenericRecognitionSuccessLocked()
[all …]
/frameworks/base/core/java/android/app/slice/
DSliceMetrics.java24 import com.android.internal.logging.MetricsLogger;
38 private MetricsLogger mMetricsLogger;
45 mMetricsLogger = new MetricsLogger(); in SliceMetrics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java28 import com.android.internal.logging.MetricsLogger;
59 MetricsLogger.visible(this, MetricsEvent.BRIGHTNESS_DIALOG); in onStart()
65 MetricsLogger.hidden(this, MetricsEvent.BRIGHTNESS_DIALOG); in onStop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManager.java28 import com.android.internal.logging.MetricsLogger;
63 private MetricsLogger mMetricsLogger = new MetricsLogger();
118 Dependency.get(MetricsLogger.class) in perhapsShowBlockingHelper()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java33 import com.android.internal.logging.MetricsLogger;
110 protected MetricsLogger getMetricsLogger() { in getMetricsLogger()
155 public MetricsLogger metricsLogger;
168 metricsLogger = mock(MetricsLogger.class); in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenGestureLogger.java22 import com.android.internal.logging.MetricsLogger;
40 private final MetricsLogger mMetricsLogger = Dependency.get(MetricsLogger.class);
/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldDurationLogger.java23 import com.android.internal.logging.MetricsLogger;
54 private final MetricsLogger mLogger = new MetricsLogger();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTronUtils.java20 import com.android.internal.logging.MetricsLogger;
31 MetricsLogger.histogram(context, "settings_wifi_speed_labels", speedEnum); in logWifiSettingsSpeed()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java23 import com.android.internal.logging.MetricsLogger;
43 private int[] LOGTAGS = {MetricsLogger.LOGTAG};
220 MetricsLogger logger = new MetricsLogger(); in writeCheckpoint()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java47 import com.android.internal.logging.MetricsLogger;
370 MetricsLogger.visible(this, MetricsEvent.OVERVIEW_ACTIVITY); in onStart()
450 MetricsLogger.count(this, "overview_trigger_alttab", 1); in reloadStackView()
452 MetricsLogger.count(this, "overview_trigger_nav_btn", 1); in reloadStackView()
461 MetricsLogger.count(this, "overview_source_app", 1); in reloadStackView()
463 MetricsLogger.histogram(this, "overview_source_app_index", launchTaskIndexInStack); in reloadStackView()
465 MetricsLogger.count(this, "overview_source_home", 1); in reloadStackView()
470 MetricsLogger.histogram(this, "overview_task_count", taskCount); in reloadStackView()
534 MetricsLogger.hidden(this, MetricsEvent.OVERVIEW_ACTIVITY); in onStop()
628 MetricsLogger.histogram(this, "overview_task_dismissed_source", in onKeyDown()
[all …]
/frameworks/base/core/java/com/android/internal/logging/testing/
DFakeMetricsLogger.java5 import com.android.internal.logging.MetricsLogger;
15 public class FakeMetricsLogger extends MetricsLogger {
/frameworks/base/core/java/com/android/internal/os/
DStatsdHiddenApiUsageLogger.java23 import com.android.internal.logging.MetricsLogger;
30 private final MetricsLogger mMetricsLogger = new MetricsLogger();
/frameworks/base/core/java/android/view/textclassifier/
DGenerateLinksLogger.java24 import com.android.internal.logging.MetricsLogger;
44 private final MetricsLogger mMetricsLogger;
56 mMetricsLogger = new MetricsLogger(); in GenerateLinksLogger()
60 public GenerateLinksLogger(int sampleRate, MetricsLogger metricsLogger) { in GenerateLinksLogger()
DTextClassifierEventTronLogger.java30 import com.android.internal.logging.MetricsLogger;
45 private final MetricsLogger mMetricsLogger;
48 this(new MetricsLogger()); in TextClassifierEventTronLogger()
52 public TextClassifierEventTronLogger(MetricsLogger metricsLogger) { in TextClassifierEventTronLogger()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSDetailTest.java35 import com.android.internal.logging.MetricsLogger;
50 private MetricsLogger mMetricsLogger;
62 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()

1234567