/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 116 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions() 139 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression() 164 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption() 191 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption() 214 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption() 216 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption() 243 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsAtraceDuringTearDown() 270 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testPreserveFileOnDeviceOption() 287 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testLogPullFail() 309 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadsLogWithCompression() [all …]
|
D | ScheduleMultipleDeviceMetricCollectorTest.java | 66 public void collect(ITestDevice device, DeviceMetricData runData) in collect() 88 public void collect(ITestDevice device, DeviceMetricData runData) in collect() 110 public void collect(ITestDevice device, DeviceMetricData runData) in collect() 157 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_success() 185 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_noFailureEvenIfNoCollectorRequested() 229 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_collectorNotFound() 272 DeviceMetricData runData = new DeviceMetricData(mContext); in testMultipleMetricCollector_failsForNonNegativeInterval()
|
D | BaseDeviceMetricCollectorTest.java | 144 public void onTestRunStart(DeviceMetricData runData) { in testForwarding_withException() 150 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in testForwarding_withException() 155 public void onTestStart(DeviceMetricData testData) { in testForwarding_withException() 161 DeviceMetricData testData, in testForwarding_withException() 388 public void onTestStart(DeviceMetricData testData) { in onTestStart() 397 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 541 DeviceMetricData testData, in testOnTestEndWithTestDescription()
|
D | ProcessMaxMemoryCollectorTest.java | 79 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector() 97 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoProcess()
|
D | TemperatureCollectorTest.java | 68 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector() 89 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoData()
|
D | TraceCmdCollectorTest.java | 105 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdOptions() 136 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdFails() 166 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsTraceCmdDuringTearDown() 190 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadslogWithRawKernelBuffer()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 81 private DeviceMetricData mRunData; 82 private DeviceMetricData mTestData; 155 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 161 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 166 public void onTestStart(DeviceMetricData testData) { in onTestStart() 171 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 176 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) { in onTestAssumptionFailure() 182 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 188 DeviceMetricData testData, in onTestEnd() 246 mRunData = new DeviceMetricData(mContext); in testRunStarted() [all …]
|
D | IMetricCollector.java | 71 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart() 81 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd() 88 public void onTestStart(DeviceMetricData testData); in onTestStart() 96 public void onTestFail(DeviceMetricData testData, TestDescription test); in onTestFail() 104 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test); in onTestAssumptionFailure() 115 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics); in onTestEnd() 127 DeviceMetricData testData, in onTestEnd()
|
D | FilePullerDeviceMetricCollector.java | 70 public void onTestEnd(DeviceMetricData testData, in onTestEnd() 80 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 97 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile() 108 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory() 117 private void processMetricRequest(DeviceMetricData data, in processMetricRequest()
|
D | LogcatOnFailureCollector.java | 55 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 72 public void onTestStart(DeviceMetricData testData) { in onTestStart() 77 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 84 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
|
D | FilePullerLogCollector.java | 35 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() 56 String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() 73 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | HostStatsdMetricCollector.java | 62 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 70 public void onTestStart(DeviceMetricData testData) { in onTestStart() 78 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 84 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 94 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 126 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport() 145 private void stopCollection(DeviceMetricData metricData, boolean reportResult) { in stopCollection()
|
D | LogcatTimingMetricCollector.java | 94 public void onTestRunStart(DeviceMetricData testData) { in onTestRunStart() 118 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd() 126 public void onTestStart(DeviceMetricData testData) { in onTestStart() 133 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 141 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 171 private void collectMetrics(DeviceMetricData testData) { in collectMetrics()
|
D | ScheduledDeviceMetricCollector.java | 56 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 86 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 102 abstract void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException; in collect() 109 void onStart(DeviceMetricData runData) { in onStart() 118 void onEnd(DeviceMetricData runData) { in onEnd()
|
D | ScheduleMultipleDeviceMetricCollector.java | 113 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 165 private void collect(DeviceMetricData runData) { in collect() 218 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
|
D | TemperatureCollector.java | 77 void onStart(DeviceMetricData runData) { in onStart() 85 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() 126 void onEnd(DeviceMetricData runData) { in onEnd()
|
D | AtraceRunMetricCollector.java | 64 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 69 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() 194 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationScheduledMetricCollector.java | 19 import com.android.tradefed.device.metric.DeviceMetricData; 49 protected final void onStart(DeviceMetricData runData) { in onStart() 89 DeviceMetricData runData, in onEnd() 115 protected void doStart(DeviceMetricData runData) { in doStart() 124 protected void doEnd(DeviceMetricData runData) { in doEnd()
|
D | BaseGameQualificationMetricCollector.java | 25 import com.android.tradefed.device.metric.DeviceMetricData; 98 public final void onTestStart(DeviceMetricData testData) { in onTestStart() 113 DeviceMetricData testData, in onTestEnd() 127 protected void onStart(DeviceMetricData testData) { in onStart() 132 DeviceMetricData testData, in onEnd()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollectorTest.java | 24 import com.android.tradefed.device.metric.DeviceMetricData; 59 mCollector.doStart(new DeviceMetricData(null)); in basic() 78 mCollector.doStart(new DeviceMetricData(null)); in appTerminated() 106 mCollector.doStart(new DeviceMetricData(null)); in regexPattern()
|
D | BaseGameQualificationMetricCollectorTest.java | 21 import com.android.tradefed.device.metric.DeviceMetricData; 31 protected void onStart(DeviceMetricData testData) { in onTestStartHasErrorOnException() 48 protected void onStart(DeviceMetricData testData) { in onTestEndHasErrorOnException()
|
D | GameQualificationScheduledMetricCollectorTest.java | 21 import com.android.tradefed.device.metric.DeviceMetricData; 47 protected void doStart(DeviceMetricData runData) { in checkConcurrency() 53 protected void doEnd(DeviceMetricData runData) { in checkConcurrency()
|
D | MetricSummaryTest.java | 25 import com.android.tradefed.device.metric.DeviceMetricData; 72 DeviceMetricData runData = new DeviceMetricData(context); in testConversion()
|
D | LoopSummaryTest.java | 6 import com.android.tradefed.device.metric.DeviceMetricData; 134 DeviceMetricData runData = new DeviceMetricData(context); in testParseRunMetrics()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapperTest.java | 33 import com.android.tradefed.device.metric.DeviceMetricData; 914 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 923 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 931 public void onTestStart(DeviceMetricData testData) { in onTestStart() 940 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
|