Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 15 of 15) sorted by relevance

/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java42 public static void addMetric(String metricKey, long metric, Map<String, in addMetric() argument
45 new StringBuilder().append(metric) : value.append(METRIC_SEPARATOR).append(metric)); in addMetric()
56 String metricKey, double metric, Map<String, StringBuilder> resultMap) { in addMetric() argument
61 .append(DOUBLE_FORMAT.format(metric))); in addMetric()
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollector.java19 import com.android.tradefed.device.metric.BaseDeviceMetricCollector;
20 import com.android.tradefed.device.metric.DeviceMetricData;
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java64 StatsdConfigProto.EventMetric metric = new StatsdConfigProto.EventMetric(); in addEventConfig() local
65 metric.id = getUniqueId(); in addEventConfig()
66 metric.what = atomUniqueId; in addEventConfig()
67 metrics.add(metric); in addEventConfig()
205 for (com.android.os.nano.StatsLog.StatsLogReport metric : configReport.metrics) { in getEventMetrics()
207 eventMetricDataWrapper = metric.getEventMetrics(); in getEventMetrics()
239 for (com.android.os.nano.StatsLog.StatsLogReport metric : configReport.metrics) { in getGaugeMetrics()
241 gaugeMetricDataWrapper = metric.getGaugeMetrics(); in getGaugeMetrics()
DUiInteractionFrameInfoHelper.java55 public static double makeLogFriendly(double metric) { in makeLogFriendly() argument
56 return Math.max(0.01, metric); in makeLogFriendly()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DStopwatchRuleTest.java52 Bundle metric = rule.getMetric(); in testMeasurementIsCorrect() local
54 long value = metric.getLong(metricKey); in testMeasurementIsCorrect()
/platform_testing/libraries/device-collectors/src/main/
DAndroid.bp31 "lyric-metric-helper",
36 "system-metric-helper",
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java112 for (String metric : METRICS) { in verifyKeysForProcess()
116 METRIC_SOURCE, category, metric, UNIT, processName))); in verifyKeysForProcess()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DScreenshotOnFailureCollectorHostTest.java26 import com.android.tradefed.device.metric.DeviceMetricData;
27 import com.android.tradefed.device.metric.FilePullerDeviceMetricCollector;
DLogcatCollectorHostTest.java25 import com.android.tradefed.device.metric.DeviceMetricData;
26 import com.android.tradefed.device.metric.FilePullerDeviceMetricCollector;
DBatterystatsCollectorHostTest.java28 import com.android.tradefed.device.metric.DeviceMetricData;
29 import com.android.tradefed.device.metric.FilePullerDeviceMetricCollector;
/platform_testing/libraries/collectors-helper/system/test/
DAndroid.bp27 "system-metric-helper",
/platform_testing/libraries/collectors-helper/lyric/test/
DAndroid.bp29 "lyric-metric-helper",
/platform_testing/libraries/collectors-helper/lyric/
DAndroid.bp21 name: "lyric-metric-helper",
/platform_testing/libraries/collectors-helper/system/
DAndroid.bp21 name: "system-metric-helper",
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DJankCollectionHelper.java333 for (GfxInfoMetric metric : GfxInfoMetric.values()) { in parseGfxInfoMetrics()
335 constructKey(GFXINFO_METRICS_PREFIX, packageName, metric.getMetricId()); in parseGfxInfoMetrics()
337 Double value = metric.parse(output); in parseGfxInfoMetrics()