/frameworks/libs/modules-utils/java/com/android/modules/expresslog/ |
D | Counter.java | 31 public static void logIncrement(@NonNull String metricId) { in logIncrement() argument 32 logIncrement(metricId, 1); in logIncrement() 40 public static void logIncrementWithUid(@NonNull String metricId, int uid) { in logIncrementWithUid() argument 41 logIncrementWithUid(metricId, uid, 1); in logIncrementWithUid() 49 public static void logIncrement(@NonNull String metricId, long amount) { in logIncrement() argument 51 MetricIds.getMetricIdHash(metricId, MetricIds.METRIC_TYPE_COUNTER); in logIncrement() 61 public static void logIncrementWithUid(@NonNull String metricId, int uid, long amount) { in logIncrementWithUid() argument 63 MetricIds.getMetricIdHash(metricId, MetricIds.METRIC_TYPE_COUNTER_WITH_UID); in logIncrementWithUid()
|
D | Histogram.java | 37 public Histogram(@NonNull String metricId, @NonNull BinOptions binOptions) { in Histogram() argument 38 mMetricId = metricId; in Histogram()
|
/frameworks/proto_logging/stats/express/libexpresscatalog/ |
D | catalog.cpp | 44 bool validateMetricId(const string& metricId) { in validateMetricId() argument 49 if (!std::regex_match(metricId, expr)) { in validateMetricId() 51 metricId.c_str(), regExStr); in validateMetricId() 129 for (const auto& [metricId, expressMetric] : metrics) { in generateMetricsIds() 130 const int64_t hashId = farmhash::Fingerprint64(metricId.c_str(), metricId.size()); in generateMetricsIds() 134 LOGE("Detected hash name collision for a metric %s\n", metricId.c_str()); in generateMetricsIds() 138 metricsIds[metricId] = {hashId, expressMetric.type()}; in generateMetricsIds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/constants/ |
D | TrustAgentUiEvent.kt | 22 enum class TrustAgentUiEvent(private val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.keyguard.shared.constants.TrustAgentUiEvent 24 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | MediaTttReceiverUiEventLogger.kt | 34 enum class MediaTttReceiverUiEvents(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.media.taptotransfer.receiver.MediaTttReceiverUiEvents 44 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallLogger.kt | 49 enum class OngoingCallEvents(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallLogger.OngoingCallEvents 56 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogUiEvent.kt | 23 enum class BluetoothTileDialogUiEvent(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.bluetooth.qsdialog.BluetoothTileDialogUiEvent 50 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewUiEventLogger.kt | 50 enum class TemporaryViewUiEvent(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.temporarydisplay.TemporaryViewUiEvent 55 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/ |
D | VolumePanelUiEvent.kt | 23 enum class VolumePanelUiEvent(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.volume.panel.ui.VolumePanelUiEvent 50 override fun getId() = metricId in getId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/ |
D | MediaTttSenderUiEventLogger.kt | 56 enum class MediaTttSenderUiEvents(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.media.taptotransfer.sender.MediaTttSenderUiEvents 83 override fun getId() = metricId
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsMetricsLogger.kt | 72 private enum class ControlsEvents(val metricId: Int) : UiEventLogger.UiEventEnum { in log() constant in com.android.systemui.controls.ControlsMetricsLogger.ControlsEvents 88 override fun getId() = metricId in log()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | UiBenchmarkResult.java | 105 public double getMetricAtIndex(int index, int metricId) { in getMetricAtIndex() argument 106 return mStoredStatistics[getMetricPosition(metricId)].getElement(index); in getMetricAtIndex()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusUsiPowerUI.kt | 233 private fun logUiEvent(metricId: StylusUiEvent) { in logUiEvent() 235 metricId, in logUiEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/ |
D | MediaUiEventLogger.kt | 238 enum class MediaUiEvent(val metricId: Int) : UiEventLogger.UiEventEnum { constant in com.android.systemui.media.controls.util.MediaUiEvent 300 override fun getId() = metricId
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 803 String metricId = getMetricIdForInputType(type); in createDeviceInternal() local 804 if (metricId != null) { in createDeviceInternal() 805 Counter.logIncrementWithUid(metricId, mAttributionSource.getUid()); in createDeviceInternal()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 6505 String metricId = enable ? METRIC_ID_QS_SHORTCUT_ADD : METRIC_ID_QS_SHORTCUT_REMOVE; in logMetricForQsShortcutConfiguration() local 6506 Counter.logIncrementWithUid(metricId, Binder.getCallingUid(), numOfFeatures); in logMetricForQsShortcutConfiguration()
|