OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:metricKey
(Results
1 - 10
of
10
) sorted by null
/external/setupcompat/main/java/com/google/android/setupcompat/logging/
Timer.java
25
/** Creates a new instance of timer for the given {@code
metricKey
}. */
26
public Timer(
MetricKey
metricKey
) {
27
this.
metricKey
=
metricKey
;
41
"Timer instance was already started for: %s at [%s].",
metricKey
, startInNanos));
58
"Timer instance was already stopped for: %s at [%s]",
metricKey
, stopInNanos));
76
MetricKey
getMetricKey() {
77
return
metricKey
;
82
private final
MetricKey
metricKey
[
all
...]
CustomEvent.java
36
* by {@link
MetricKey
} along with {@code timestamp}. It can include additional key-value pairs
51
MetricKey
metricKey
, PersistableBundle bundle, PersistableBundle piiValues) {
57
metricKey
,
66
public static CustomEvent create(
MetricKey
metricKey
, PersistableBundle bundle) {
70
return create(
metricKey
, bundle, PersistableBundle.EMPTY);
77
MetricKey
.toMetricKey(bundle.getBundle(BUNDLE_KEY_METRICKEY)),
88
bundle.putBundle(BUNDLE_KEY_METRICKEY,
MetricKey
.fromMetricKey(customEvent.
metricKey
()));
[
all
...]
MetricKey.java
33
public final class
MetricKey
implements Parcelable {
41
* Creates a new instance of
MetricKey
.
52
public static
MetricKey
get(@NonNull String name, @NonNull String screenName) {
53
assertLengthInRange(name, "
MetricKey
.name", MIN_METRIC_KEY_LENGTH, MAX_METRIC_KEY_LENGTH);
55
screenName, "
MetricKey
.screenName", MIN_SCREEN_NAME_LENGTH, MAX_SCREEN_NAME_LENGTH);
58
"Invalid
MetricKey
, only alpha numeric characters are allowed.");
61
"Invalid
MetricKey
, only alpha numeric characters are allowed.");
62
return new
MetricKey
(name, screenName);
65
/** Converts {@link
MetricKey
} into {@link Bundle}. */
66
public static Bundle fromMetricKey(
MetricKey
metricKey)
[
all
...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
TextViewSetTextLocalePerfTest.java
52
String
metricKey
, String firstLocale, String secondLocale) {
53
mMetricKey =
metricKey
;
EditTextBackspacePerfTest.java
76
public EditTextBackspacePerfTest(String
metricKey
, String text, int cursorPos) {
77
mMetricKey =
metricKey
;
EditTextCursorMovementPerfTest.java
70
public EditTextCursorMovementPerfTest(String
metricKey
, String text, int cursorPos) {
71
mMetricKey =
metricKey
;
EditTextLongTextPerfTest.java
55
public EditTextLongTextPerfTest(String
metricKey
, int chars, int lines) {
56
mMetricKey =
metricKey
;
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
LifecycleFragment.java
28
import com.google.android.setupcompat.logging.
MetricKey
;
37
private
MetricKey
metricKey
;
90
metricKey
=
MetricKey
.get("ScreenDuration", getActivity().getClass().getSimpleName());
96
SetupMetricsLogger.logDuration(getActivity(),
metricKey
, NANOSECONDS.toMillis(durationInNanos));
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
PaintHasGlyphPerfTest.java
56
public PaintHasGlyphPerfTest(String
metricKey
, String query) {
/frameworks/base/apct-tests/perftests/core/src/android/text/
DynamicLayoutPerfTest.java
60
public DynamicLayoutPerfTest(String
metricKey
, float probability) {
61
mMetricKey =
metricKey
;
Completed in 85 milliseconds