Home
last modified time | relevance | path

Searched refs:MetricUtility (Results 1 – 25 of 29) sorted by relevance

12

/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdStatsHelper.java104 MetricUtility.constructKey(STATSDSTATS_PREFIX, ATOM_STATS_PREFIX); in populateAtomStats()
111 MetricUtility.constructKey(metricKeyPrefix, String.valueOf(dataItem.tag)); in populateAtomStats()
114 MetricUtility.constructKey(metricKeyPrefixWithTag, "count"), in populateAtomStats()
117 MetricUtility.constructKey(metricKeyPrefixWithTag, "error_count"), in populateAtomStats()
125 MetricUtility.constructKey(metricKeyPrefix, "count"), Long.valueOf(summaryCount)); in populateAtomStats()
127 MetricUtility.constructKey(metricKeyPrefix, "error_count"), in populateAtomStats()
134 MetricUtility.constructKey(STATSDSTATS_PREFIX, CONFIG_STATS_PREFIX); in populateConfigStats()
138 MetricUtility.constructKey(metricKeyPrefix, String.valueOf(dataItem.id)); in populateConfigStats()
141 MetricUtility.constructKey(metricKeyPrefixWithTag, "metric_count"), in populateConfigStats()
144 MetricUtility.constructKey(metricKeyPrefixWithTag, "condition_count"), in populateConfigStats()
[all …]
DAppStartupHelper.java128 metricTypeKey = MetricUtility.constructKey(typeKey, pkgName); in getMetrics()
129 metricCountKey = MetricUtility.constructKey(typeKey, COUNT, pkgName); in getMetrics()
130 totalCountKey = MetricUtility.constructKey(typeKey, TOTAL_COUNT); in getMetrics()
133 MetricUtility.addMetric(metricTypeKey, windowsDrawnMillis, appStartResultMap); in getMetrics()
134 MetricUtility.addMetric(metricCountKey, appStartCountMap); in getMetrics()
135 MetricUtility.addMetric(totalCountKey, appStartCountMap); in getMetrics()
138 metricTransitionKey = MetricUtility.constructKey(typeKey, in getMetrics()
140 MetricUtility.addMetric(metricTransitionKey, transitionDelayMillis, in getMetrics()
148 String metricEventDelayKey = MetricUtility.constructKey( in getMetrics()
150 MetricUtility.addMetric(metricEventDelayKey, sourceEventDelayMillis, in getMetrics()
[all …]
DThermalHelper.java106 String severityKey = MetricUtility.constructKey("thermal", "throttling", "severity"); in getMetrics()
107 MetricUtility.addMetric(severityKey, mInitialSeverity, results); in getMetrics()
118 MetricUtility.addMetric(severityKey, severity, results); in getMetrics()
141 MetricUtility.addMetric( in updateTemperatureMetrics()
142 MetricUtility.constructKey( in updateTemperatureMetrics()
146 MetricUtility.addMetric( in updateTemperatureMetrics()
147 MetricUtility.constructKey( in updateTemperatureMetrics()
151 MetricUtility.addMetric( in updateTemperatureMetrics()
152 MetricUtility.constructKey( in updateTemperatureMetrics()
182 MetricUtility.constructKey(METRIC_KEY_TEMPERATURE, name, METRIC_KEY_VALUE); in getTemperature()
[all …]
DCrashHelper.java85 MetricUtility.addMetric(TOTAL_PREFIX + eventType, appCrashResultMap); in getMetrics()
88 MetricUtility.constructKey( in getMetrics()
90 MetricUtility.addMetric(detailKey, appCrashResultMap); in getMetrics()
103 MetricUtility.addMetric(TOTAL_PREFIX + EVENT_ANR, appCrashResultMap); in getMetrics()
105 MetricUtility.constructKey( in getMetrics()
107 MetricUtility.addMetric(detailKey, appCrashResultMap); in getMetrics()
DUiActionLatencyHelper.java64 MetricUtility.addMetric( in getMetrics()
65 MetricUtility.constructKey("latency", action), in getMetrics()
DUiInteractionFrameInfoHelper.java19 import static com.android.helpers.MetricUtility.addMetric;
20 import static com.android.helpers.MetricUtility.constructKey;
DCpuUsageHelper.java113 String UserTimeKey = MetricUtility.constructKey(CPU_USAGE_PKG_UID, in getMetrics()
116 String SystemTimeKey = MetricUtility.constructKey(CPU_USAGE_PKG_UID, in getMetrics()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DStatsdStatsHelperTest.java260 MetricUtility.constructKey( in verifyAtomStats()
266 result.get(MetricUtility.constructKey(metricKeyPrefix, "count")), in verifyAtomStats()
269 result.get(MetricUtility.constructKey(metricKeyPrefix, "error_count")), in verifyAtomStats()
278 MetricUtility.constructKey( in verifyConfigAlertStats()
291 MetricUtility.constructKey( in verifyConfigMatcherStats()
304 MetricUtility.constructKey( in verifyConfigConditionStats()
317 MetricUtility.constructKey( in verifyConfigMetricStats()
336 MetricUtility.constructKey( in verifyConfigStats()
342 MetricUtility.constructKey(metricKeyPrefix, "metric_count"); in verifyConfigStats()
346 MetricUtility.constructKey(metricKeyPrefix, "condition_count"); in verifyConfigStats()
[all …]
DThermalHelperTest.java52 MetricUtility.constructKey("thermal", "throttling", "severity");
329 return MetricUtility.constructKey( in getMetricKey()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java21 import com.android.helpers.MetricUtility;
95 String[] tokens = value.split(MetricUtility.METRIC_SEPARATOR);
/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java31 import com.android.helpers.MetricUtility;
175 MetricUtility.readStringFromFile(mPerfettoHelper.getPerfettoPidFile()); in testTrackPerfettoProcIdInFileFromConfigFile()
196 MetricUtility.readStringFromFile(mPerfettoHelper.getPerfettoPidFile()); in testTrackPerfettoProcIdInFileFromConfig()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java23 public class MetricUtility { class
25 private static final String TAG = MetricUtility.class.getSimpleName();
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java25 import com.android.helpers.MetricUtility;
218 MetricUtility.constructKey( in verifyKeysForProcess()
224 MetricUtility.constructKey( in verifyKeysForProcess()
DProcessShowmapHelperTest.java19 import static com.android.helpers.MetricUtility.constructKey;
DTotalPssHelperTest.java19 import static com.android.helpers.MetricUtility.constructKey;
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java19 import static com.android.helpers.MetricUtility.constructKey;
/platform_testing/libraries/collectors-helper/app/test/src/com/android/helpers/tests/
DAppVersionHelperTest.java19 import static com.android.helpers.MetricUtility.constructKey;
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DSfStatsCollectionHelperTest.java18 import static com.android.helpers.MetricUtility.constructKey;
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java19 import static com.android.helpers.MetricUtility.constructKey;
DProcessShowmapHelper.java19 import static com.android.helpers.MetricUtility.constructKey;
DFreeMemHelper.java122 byte[] dumpsysMemInfoBytes = MetricUtility.executeCommandBlocking(DUMPSYS_MEMIFNO, in getMetrics()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoTracingStrategy.java28 import com.android.helpers.MetricUtility;
217 String pid = MetricUtility.readStringFromFile(perfettoPidFile); in cleanupPerfettoSessionsFromPreviousRuns()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DTimeInStateHelper.java19 import static com.android.helpers.MetricUtility.constructKey;
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java18 import static com.android.helpers.MetricUtility.constructKey;
DJankCollectionHelper.java19 import static com.android.helpers.MetricUtility.constructKey;

12