Loading proto/src/metrics_constants.proto +2 −2 Original line number Diff line number Diff line Loading @@ -4872,17 +4872,17 @@ message MetricsEvent { // An autofill service asked to disable autofill for a given application. // Package: Package of app that is being disabled for autofill // Counter: duration (in ms) that autofill will be disabled // OS: P // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Tag FIELD_AUTOFILL_DURATION: duration (in ms) that autofill will be disabled AUTOFILL_SERVICE_DISABLED_APP = 1231; // An autofill service asked to disable autofill for a given activity. // Package: Package of app whose activity is being disabled for autofill // Counter: duration (in ms) that autofill will be disabled // OS: P // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Tag FIELD_CLASS_NAME: Class name of the activity that is being disabled for autofill // Tag FIELD_AUTOFILL_DURATION: duration (in ms) that autofill will be disabled AUTOFILL_SERVICE_DISABLED_ACTIVITY = 1232; // ACTION: Stop an app and turn on background check Loading services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -1066,7 +1066,7 @@ final class AutofillManagerServiceImpl { int intDuration = duration > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int) duration; mMetricsLogger.write(Helper.newLogMaker(MetricsEvent.AUTOFILL_SERVICE_DISABLED_APP, packageName, getServicePackageName()) .setCounterValue(intDuration)); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); } } Loading @@ -1090,7 +1090,7 @@ final class AutofillManagerServiceImpl { mMetricsLogger.write(new LogMaker(MetricsEvent.AUTOFILL_SERVICE_DISABLED_ACTIVITY) .setComponentName(componentName) .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) .setCounterValue(intDuration)); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); } } Loading Loading
proto/src/metrics_constants.proto +2 −2 Original line number Diff line number Diff line Loading @@ -4872,17 +4872,17 @@ message MetricsEvent { // An autofill service asked to disable autofill for a given application. // Package: Package of app that is being disabled for autofill // Counter: duration (in ms) that autofill will be disabled // OS: P // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Tag FIELD_AUTOFILL_DURATION: duration (in ms) that autofill will be disabled AUTOFILL_SERVICE_DISABLED_APP = 1231; // An autofill service asked to disable autofill for a given activity. // Package: Package of app whose activity is being disabled for autofill // Counter: duration (in ms) that autofill will be disabled // OS: P // Tag FIELD_AUTOFILL_SERVICE: Package of service that processed the request // Tag FIELD_CLASS_NAME: Class name of the activity that is being disabled for autofill // Tag FIELD_AUTOFILL_DURATION: duration (in ms) that autofill will be disabled AUTOFILL_SERVICE_DISABLED_ACTIVITY = 1232; // ACTION: Stop an app and turn on background check Loading
services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -1066,7 +1066,7 @@ final class AutofillManagerServiceImpl { int intDuration = duration > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int) duration; mMetricsLogger.write(Helper.newLogMaker(MetricsEvent.AUTOFILL_SERVICE_DISABLED_APP, packageName, getServicePackageName()) .setCounterValue(intDuration)); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); } } Loading @@ -1090,7 +1090,7 @@ final class AutofillManagerServiceImpl { mMetricsLogger.write(new LogMaker(MetricsEvent.AUTOFILL_SERVICE_DISABLED_ACTIVITY) .setComponentName(componentName) .addTaggedData(MetricsEvent.FIELD_AUTOFILL_SERVICE, getServicePackageName()) .setCounterValue(intDuration)); .addTaggedData(MetricsEvent.FIELD_AUTOFILL_DURATION, intDuration)); } } Loading