/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | IMetricCollector.java | 70 public void onTestRunStart(DeviceMetricData runData); in onTestRunStart() 80 public void onTestRunEnd(DeviceMetricData runData, final Map<String, Metric> currentRunMetrics); in onTestRunEnd() 87 public void onTestStart(DeviceMetricData testData); in onTestStart() 98 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics); in onTestEnd()
|
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 | BaseDeviceMetricCollector.java | 66 private DeviceMetricData mRunData; 67 private DeviceMetricData mTestData; 99 public void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 105 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 110 public void onTestStart(DeviceMetricData testData) { in onTestStart() 116 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 145 mRunData = new DeviceMetricData(mContext); in testRunStarted() 186 mTestData = new DeviceMetricData(mContext); in testStarted()
|
D | FilePullerLogCollector.java | 44 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 52 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() 65 public void processMetricDirectory(String key, File metricDirectory, DeviceMetricData runData) { in processMetricDirectory()
|
D | FilePullerDeviceMetricCollector.java | 61 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd() 66 public void onTestEnd(DeviceMetricData testData, Map<String, Metric> currentTestCaseMetrics) { in onTestEnd() 78 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData runData); in processMetricFile() 89 String key, File metricDirectory, DeviceMetricData runData); in processMetricDirectory() 91 private void processMetricRequest(DeviceMetricData data, Map<String, String> currentMetrics) { in processMetricRequest()
|
D | DeviceMetricData.java | 32 public class DeviceMetricData implements Serializable { class 43 public DeviceMetricData(IInvocationContext context) { in DeviceMetricData() method in DeviceMetricData
|
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 | ScheduleMultipleDeviceMetricCollector.java | 106 public final void onTestRunStart(DeviceMetricData runData) { in onTestRunStart() 158 private void collect(DeviceMetricData runData) { in collect() 211 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in onTestRunEnd()
|
D | BugreportzMetricCollector.java | 29 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
|
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()
|
D | ProcessMaxMemoryCollector.java | 62 void onStart(DeviceMetricData runData) { in onStart() 75 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect() 130 void onEnd(DeviceMetricData runData) { in onEnd()
|
D | PagetypeInfoMetricCollector.java | 35 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException { in collect()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
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 | AtraceCollectorTest.java | 110 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoOptions() 133 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupNoCompression() 158 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupCategoriesOption() 185 mAtrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceOnSetupMultipleCategoriesOption() 208 atrace.onTestStart(new DeviceMetricData(mMockInvocationContext)); in testStartsAtraceWithNoCategoriesOption() 210 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStartsAtraceWithNoCategoriesOption() 239 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testStopsAtraceDuringTearDown() 266 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testPreserveFileOnDeviceOption() 283 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testLogPullFail() 305 new DeviceMetricData(mMockInvocationContext), new HashMap<String, Metric>()); in testUploadsLogWithCompression() [all …]
|
D | ProcessMaxMemoryCollectorTest.java | 79 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector() 97 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoProcess()
|
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()
|
D | BugreportzMetricCollectorTest.java | 67 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect_success()
|
D | MemInfoMetricCollectorTest.java | 78 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
|
D | TraceMetricCollectorTest.java | 77 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
|
D | BuddyInfoMetricCollectorTest.java | 76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
|
D | GraphicsStatsMetricCollectorTest.java | 76 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
|
D | IonHeapInfoMetricCollectorTest.java | 82 DeviceMetricData runData = new DeviceMetricData(mContext); in testCollect()
|
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()
|
D | BaseDeviceMetricCollectorTest.java | 116 public void onTestRunStart(DeviceMetricData runData) { in testForwarding_withException() 122 DeviceMetricData runData, final Map<String, Metric> currentRunMetrics) { in testForwarding_withException() 127 public void onTestStart(DeviceMetricData testData) { in testForwarding_withException() 133 DeviceMetricData testData, in testForwarding_withException() 356 public void onTestStart(DeviceMetricData testData) { in onTestStart() 365 DeviceMetricData testData, final Map<String, Metric> currentTestCaseMetrics) { in onTestEnd()
|