Home
last modified time | relevance | path

Searched refs:getMetrics (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java125 info.mSimState = testResult.getMetrics().get(SIM_STATE_KEY); in getSimInfo()
127 stringToBool(testResult.getMetrics().get(CARRIER_PRIVILEGES_KEY)); in getSimInfo()
129 stringToBool(testResult.getMetrics().get(SECURED_ELEMENT_KEY)); in getSimInfo()
130 info.mHasSeService = stringToBool(testResult.getMetrics().get(SE_SERVICE_KEY)); in getSimInfo()
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResult.java64 public Map<String, String> getMetrics() { in getMetrics() method in TestResult
188 mergedResult.mMetrics.putAll(attempt.getMetrics()); in merge()
DJsonHttpTestResultReporter.java192 if (testResult.getMetrics().size() > 0) { in convertMetricsToJson()
193 JSONObject testResultMetrics = new JSONObject(testResult.getMetrics()); in convertMetricsToJson()
DConsoleResultReporter.java136 Map<String, String> metrics = testResult.getMetrics(); in getTestSummary()
DMetricsXMLResultReporter.java156 printTestMetrics(serializer, testResult.getMetrics()); in printTestResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java357 assertEquals("value00", entry.getValue().getMetrics().get("metric00")); in testMetricReporting()
358 assertEquals("value10", entry.getValue().getMetrics().get("metric10")); in testMetricReporting()
499 assertEquals("value00", entry.getValue().getMetrics().get("metric00")); in testMetricReporting_badKey()
500 assertEquals("value10", entry.getValue().getMetrics().get("metric10")); in testMetricReporting_badKey()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java314 HashMap<String, Metric> metrics = new HashMap<>(runProto.getMetrics()); in handleTestRunEnd()
357 HashMap<String, Metric> metrics = new HashMap<>(testcaseProto.getMetrics()); in handleTestCaseEnd()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java120 assertThat(runResult1.getTestResults().get(test1).getMetrics().get(TEST_KEY)) in testTwoRuns()
122 assertThat(runResult2.getTestResults().get(test2).getMetrics().get(TEST_KEY)) in testTwoRuns()
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DImageProcessingTest.java97 Map<String, String> testMetrics = testCaseResult.getMetrics(); in run()
/tools/tradefederation/contrib/src/com/android/framework/tests/
DDataIdleTest.java103 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run()
DFrameworkPerfTest.java130 Map<String, String> testMetrics = testResults.get(0).getMetrics(); in run()
DFrameworkStressTest.java97 Map<String, String> testMetrics = res.getMetrics(); in run()
DBandwidthMicroBenchMarkTest.java155 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultReporterTest.java117 assertEquals(1, testRecord2.getMetrics().size()); in testFinalizeProto()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java227 mActivityTraceFileMap = testResults.get(0).getMetrics(); in run()
DAppTransitionTests.java753 return testResults.get(0).getMetrics(); in getAppComponentInfoMap()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java333 individualResult.getValue().getMetrics().entrySet()) { in serializeTestCases()