Loading proto/src/metrics_constants.proto +5 −1 Original line number Diff line number Diff line Loading @@ -4685,7 +4685,8 @@ message MetricsEvent { // OS: O MR AUTOFILL_SERVICE_DISABLED_SELF = 1135; // Counter showing how long it took (in ms) to show the autofill UI after a field was focused // Reports how long it took to show the autofill UI after a field was focused // Tag FIELD_AUTOFILL_DURATION: Duration in ms // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Package: Package of the autofill service // OS: O MR Loading Loading @@ -4724,6 +4725,9 @@ message MetricsEvent { // logged when we cancel an app transition. APP_TRANSITION_CANCELLED = 1144; // Tag of a field representing a duration on autofill-related metrics. FIELD_AUTOFILL_DURATION = 1145; // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // OPEN: Settings > Network & Internet > Mobile network Loading services/autofill/java/com/android/server/autofill/Session.java +1 −1 Original line number Diff line number Diff line Loading @@ -1860,7 +1860,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState mUiLatencyHistory.log(historyLog.toString()); final LogMaker metricsLog = newLogMaker(MetricsEvent.AUTOFILL_UI_LATENCY) .setCounterValue((int) duration); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, duration); mMetricsLogger.write(metricsLog); } } Loading Loading
proto/src/metrics_constants.proto +5 −1 Original line number Diff line number Diff line Loading @@ -4685,7 +4685,8 @@ message MetricsEvent { // OS: O MR AUTOFILL_SERVICE_DISABLED_SELF = 1135; // Counter showing how long it took (in ms) to show the autofill UI after a field was focused // Reports how long it took to show the autofill UI after a field was focused // Tag FIELD_AUTOFILL_DURATION: Duration in ms // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Package: Package of the autofill service // OS: O MR Loading Loading @@ -4724,6 +4725,9 @@ message MetricsEvent { // logged when we cancel an app transition. APP_TRANSITION_CANCELLED = 1144; // Tag of a field representing a duration on autofill-related metrics. FIELD_AUTOFILL_DURATION = 1145; // ---- End O-MR1 Constants, all O-MR1 constants go above this line ---- // OPEN: Settings > Network & Internet > Mobile network Loading
services/autofill/java/com/android/server/autofill/Session.java +1 −1 Original line number Diff line number Diff line Loading @@ -1860,7 +1860,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState mUiLatencyHistory.log(historyLog.toString()); final LogMaker metricsLog = newLogMaker(MetricsEvent.AUTOFILL_UI_LATENCY) .setCounterValue((int) duration); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, duration); mMetricsLogger.write(metricsLog); } } Loading