/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GoogleBenchmarkResultParserTest.java | 117 assertEquals("5", resultTest1.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile() 118 assertEquals("5", resultTest1.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile() 119 assertEquals("BM_one", resultTest1.get("name").getMeasurements().getSingleString()); in testParseSimpleFile() 121 "109451958", resultTest1.get("iterations").getMeasurements().getSingleString()); in testParseSimpleFile() 126 assertEquals("11", resultTest2.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile() 127 assertEquals("1", resultTest2.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile() 128 assertEquals("BM_two", resultTest2.get("name").getMeasurements().getSingleString()); in testParseSimpleFile() 129 assertEquals("50906784", resultTest2.get("iterations").getMeasurements().getSingleString()); in testParseSimpleFile() 134 assertEquals("60", resultTest3.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile() 135 assertEquals("60", resultTest3.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile() [all …]
|
D | InstalledInstrumentationsTestTest.java | 89 .getMeasurements() in testRun()
|
D | CodeCoverageTestBaseTest.java | 185 ImmutableList<ByteString> getMeasurements() { in getMeasurements() method in CodeCoverageTestBaseTest.CodeCoverageTestStub 276 assertThat(mCoverageTest.getMeasurements()).containsExactly(FAKE_MEASUREMENT1); 316 assertThat(mCoverageTest.getMeasurements()) 355 assertThat(mCoverageTest.getMeasurements())
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | BugreportCollectorTest.java | 163 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testPassThrough() 165 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testPassThrough() 184 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestFailed() 186 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestFailed() 205 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestEnded() 207 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestEnded() 228 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testWaitForDevice() 230 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testWaitForDevice() 249 "value", mTestCapture.getValue().get("key").getMeasurements().getSingleString()); in testTestEnded_firstCase() 251 "value", mRunCapture.getValue().get("key2").getMeasurements().getSingleString()); in testTestEnded_firstCase() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | DeviceMetricDataTest.java | 63 assertEquals("testValue", resMetrics.get("test").getMeasurements().getSingleString()); in testSingleDeviceAdd() 79 assertEquals("testValue", resMetrics.get("test").getMeasurements().getSingleString()); in testSingleDeviceAddToDevice() 98 "testValue", resMetrics.get("{device1}:test").getMeasurements().getSingleString()); in testMultiDeviceAdd() 119 "testValue", resMetrics.get("{device2}:test").getMeasurements().getSingleString()); in testMultiDeviceAdd_forDevice()
|
D | FilePullerLogCollectorTest.java | 90 "57", metricCaptured.get("another_metrics").getMeasurements().getSingleString()); in testPullAndLog() 93 metricCaptured.get("log1").getMeasurements().getSingleString()); in testPullAndLog() 120 "57", metricCaptured.get("another_metrics").getMeasurements().getSingleString()); in testSkipTestCollection() 123 metricCaptured.get("log1").getMeasurements().getSingleString()); in testSkipTestCollection()
|
D | ProcessMaxMemoryCollectorTest.java | 88 assertEquals(218228, results.get("MAX_PSS#system_server").getMeasurements().getSingleInt()); in testCollector() 89 assertEquals(53456, results.get("MAX_USS#system_server").getMeasurements().getSingleInt()); in testCollector()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageListener.java | 65 String devicePath = devicePathMetric.getMeasurements().getSingleString(); in testRunEnded()
|
D | CodeCoverageTestBase.java | 540 coverageFilePathMetric.getMeasurements().getSingleString(); in testRunEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtilTest.java | 86 assertEquals("test", m.getMeasurements().getSingleString()); in testStringConvert()
|
/tools/tradefederation/core/src/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtil.java | 40 Measurements measures = map.get(key).getMeasurements(); in compatibleConvert()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | Camera2StressTest.java | 97 entry.getValue().getMeasurements().getSingleString()); in testEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 894 assertEquals("value1", c.getValue().get("metric1").getMeasurements().getSingleString()); in testRun_withCollectors() 895 assertEquals("value2", c.getValue().get("metric2").getMeasurements().getSingleString()); in testRun_withCollectors()
|