Searched refs:metricKey (Results 1 – 5 of 5) sorted by relevance
/external/setupcompat/main/java/com/google/android/setupcompat/logging/ |
D | CustomEvent.java | 52 MetricKey metricKey, PersistableBundle bundle, PersistableBundle piiValues) { in create() argument 58 metricKey, in create() 67 public static CustomEvent create(MetricKey metricKey, PersistableBundle bundle) { in create() argument 71 return create(metricKey, bundle, PersistableBundle.EMPTY); in create() 89 bundle.putBundle(BUNDLE_KEY_METRICKEY, MetricKey.fromMetricKey(customEvent.metricKey())); in toBundle() 119 public MetricKey metricKey() { in metricKey() method in CustomEvent 120 return this.metricKey; in metricKey() 144 parcel.writeParcelable(metricKey, i); in writeToParcel() 159 && ObjectUtils.equals(metricKey, that.metricKey) in equals() 166 return ObjectUtils.hashCode(timestampMillis, metricKey, persistableBundle, piiValues); in hashCode() [all …]
|
D | Timer.java | 26 public Timer(MetricKey metricKey) { in Timer() argument 27 this.metricKey = metricKey; in Timer() 41 "Timer instance was already started for: %s at [%s].", metricKey, startInNanos)); in start() 58 "Timer instance was already stopped for: %s at [%s]", metricKey, stopInNanos)); in stop() 77 return metricKey; in getMetricKey() 82 private final MetricKey metricKey; field in Timer
|
D | MetricKey.java | 88 public static Bundle fromMetricKey(MetricKey metricKey) { in fromMetricKey() argument 89 Preconditions.checkNotNull(metricKey, "MetricKey cannot be null."); in fromMetricKey() 92 bundle.putString(METRIC_KEY_BUNDLE_NAME_KEY, metricKey.name()); in fromMetricKey() 93 bundle.putString(METRIC_KEY_BUNDLE_SCREEN_NAME_KEY, metricKey.screenName()); in fromMetricKey() 147 MetricKey metricKey = (MetricKey) o; in equals() local 148 return ObjectUtils.equals(name, metricKey.name) in equals() 149 && ObjectUtils.equals(screenName, metricKey.screenName); in equals()
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | LifecycleFragment.java | 39 private MetricKey metricKey; field in LifecycleFragment 92 metricKey = MetricKey.get("ScreenDuration", getActivity()); in onAttach() 98 SetupMetricsLogger.logDuration(getActivity(), metricKey, NANOSECONDS.toMillis(durationInNanos)); in onDetach() local
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | PerfStatsCollector.java | 243 MetricKey metricKey = (MetricKey) o; in equals() local 245 if (success != metricKey.success) { in equals() 248 return name != null ? name.equals(metricKey.name) : metricKey.name == null; in equals()
|