/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | IMetricCollector.java | 74 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException; in onTestRunStart() 82 public default void onTestRunStart(DeviceMetricData runData, int testCount) in onTestRunStart() 95 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd() 103 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException; in onTestStart() 111 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail() 120 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) in onTestAssumptionFailure() 132 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd() 145 DeviceMetricData testData, in onTestEnd()
|
D | ModuleLogcatCollector.java | 48 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 53 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail() 59 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 64 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed()
|
D | BugreportzOnTestCaseFailureCollector.java | 32 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 37 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 43 DeviceMetricData runData, in onTestRunEnd()
|
D | LogcatOnFailureCollector.java | 60 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 81 public void onTestStart(DeviceMetricData testData) { in onTestStart() 86 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail() 102 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed() 111 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() 74 String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory() 92 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile()
|
D | BaseDeviceMetricCollector.java | 90 private DeviceMetricData mRunData; 91 private DeviceMetricData mTestData; 202 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart() 213 public void onTestRunFailed(DeviceMetricData testData, FailureDescription failure) in onTestRunFailed() 219 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd() 225 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart() 230 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail() 236 public void onTestAssumptionFailure(DeviceMetricData testData, TestDescription test) in onTestAssumptionFailure() 243 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd() 250 DeviceMetricData testData, in onTestEnd() [all …]
|
D | FilePullerDeviceMetricCollector.java | 78 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) in onTestEnd() 89 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd() 108 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile() 119 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory() 128 private void processMetricRequest(DeviceMetricData data, Map<String, Metric> metrics) in processMetricRequest()
|
D | CountTestCasesCollector.java | 44 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 52 public void onTestRunEnd(DeviceMetricData runData, Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
|
D | ScreenshotOnFailureCollector.java | 37 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 43 public void onTestFail(DeviceMetricData testData, TestDescription test) in onTestFail()
|
D | DeviceMetricData.java | 32 public class DeviceMetricData implements Serializable { class 43 public DeviceMetricData(IInvocationContext context) { in DeviceMetricData() method in DeviceMetricData
|
D | DebugHostLogOnFailureCollector.java | 41 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 58 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail()
|
/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() 112 DeviceMetricData testData, in onTestEnd() 125 protected void onStart(DeviceMetricData testData) { in onStart() 130 DeviceMetricData testData, in onEnd()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | HostStatsdMetricCollector.java | 63 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart() 71 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart() 79 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 85 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) in onTestEnd() 95 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd() 128 ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData) { in processStatsReport() 147 private void stopCollection(DeviceMetricData metricData, boolean reportResult) in stopCollection()
|
D | BluetoothHciSnoopLogCollector.java | 54 public void onTestRunStart(DeviceMetricData runData) throws DeviceNotAvailableException { in onTestRunStart() 67 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) in onTestRunEnd() 78 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart() 94 DeviceMetricData testData, in onTestEnd() 117 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() 126 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
|
D | LogcatTimingMetricCollector.java | 92 public void onTestRunStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestRunStart() 116 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestRunEnd() 124 public void onTestStart(DeviceMetricData testData) throws DeviceNotAvailableException { in onTestStart() 131 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 139 public void onTestFail(DeviceMetricData testData, TestDescription test) { in onTestFail() 162 private void collectMetrics(DeviceMetricData testData) { in collectMetrics()
|
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/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 106 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions() 126 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression() 145 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption() 169 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption() 197 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption() 199 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption() 216 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testStopsAtraceDuringTearDown() 243 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testPreserveFileOnDeviceOption() 266 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testLogPullFail() 283 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testUploadsLogWithCompression() [all …]
|
D | TraceCmdCollectorTest.java | 86 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdOptions() 123 mTraceCmd.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceAndTraceCmdFails() 145 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testStopsTraceCmdDuringTearDown() 172 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>(), test); in testUploadslogWithRawKernelBuffer()
|
D | DeviceMetricDataTest.java | 39 private DeviceMetricData mData; 48 mData = new DeviceMetricData(mContext); in setUp()
|
D | DeviceMetricDataFuncTest.java | 68 DeviceMetricData deviceMetricData = new DeviceMetricData(mContext); in testAddToMetricsMultiThreaded()
|
/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()
|