Home
last modified time | relevance | path

Searched refs:DataRecord (Results 1 – 25 of 45) sorted by relevance

12

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DStubTestMetricListener.java28 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
33 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
38 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
43 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
48 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
DBaselineProfileCollectorTest.java75 private DataRecord getTransparentDataRecord() { in getTransparentDataRecord()
76 return spy(new DataRecord()); in getTransparentDataRecord()
87 DataRecord transparentDataRecord = getTransparentDataRecord(); in testBaselineProfile_isReportedIfOneExists()
106 DataRecord transparentDataRecord = getTransparentDataRecord(); in testBaselineProfile_areAllReportedIfManyExists()
125 DataRecord transparentDataRecord = getTransparentDataRecord(); in testBaselineProfile_isNotReportedIfNoneExist()
DPerfettoTracingPerClassStrategyTest.java57 private DataRecord mDataRecord;
72 mDataRecord = new DataRecord(); in setUp()
88 mDataRecord = new DataRecord(); in initStrategy()
174 DataRecord dataRecord = spy(new DataRecord()); in testDoNotReportMetricOnTest()
189 DataRecord dataRecord = spy(new DataRecord()); in testReportMetricOnRunEndOnly()
205 DataRecord dataRecord = spy(new DataRecord()); in testReportMultipleMetricsOnRunEnd()
DStubScheduledRunMetricListener.java28 public void collect(DataRecord runData, Description description) throws InterruptedException { in collect()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java47 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
52 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
80 protected void collectMetrics(DataRecord data) {
81 DataRecord tmpData = new DataRecord();
91 private void reduceMetrics(DataRecord data, String key, String value) {
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScheduledRunMetricListener.java49 public final void onTestRunStart(final DataRecord runData, final Description description) { in onTestRunStart()
72 public final void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
87 void onStart(DataRecord runData, Description description) { in onStart()
97 void onEnd(DataRecord runData, Result result) { in onEnd()
108 public abstract void collect(DataRecord runData, Description description) in collect()
DBaseCollectionListener.java65 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
87 public final void onTestStart(DataRecord testData, Description description) { in onTestStart()
96 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
101 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
120 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
142 protected void collectMetrics(DataRecord data) { in collectMetrics()
DPerfettoListener.java60 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
65 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
70 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
75 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
80 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DPerfettoTracingPerClassStrategy.java74 void testStart(DataRecord testData, Description description) { in testStart()
91 void testRunEnd(DataRecord runData, Result result) { in testRunEnd()
104 private void doStopTrace(DataRecord dataRecord, Boolean isTestRunEnd) { in doStopTrace()
127 private void uploadMetrics(DataRecord dataRecord) { in uploadMetrics()
DGcaEventLogCollector.java98 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
110 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
123 public void onTestStart(DataRecord runData, Description description) { in onTestStart()
135 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
146 public void onTestFail(DataRecord runData, Description description, Failure failure) { in onTestFail()
162 private void collectEventLog(DataRecord testData, Description description) { in collectEventLog()
DLogcatCollector.java87 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
95 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
110 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
119 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
156 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DIncidentReportListener.java56 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
66 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
71 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DBaseMetricListener.java93 private DataRecord mRunData;
94 private DataRecord mTestData;
251 DataRecord createDataRecord() { in createDataRecord()
252 return new DataRecord(); in createDataRecord()
274 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
284 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
294 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
305 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
315 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
DSimpleperfListener.java120 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
182 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
195 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
200 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
245 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
278 private void stopSimpleperf(Path path, DataRecord record) { in stopSimpleperf()
299 private void getSimpleperfReport(Path path, DataRecord data) { in getSimpleperfReport()
DBatteryStatsListener.java85 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
110 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
125 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
148 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DMobilityChangeCollector.java46 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
53 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DPerfettoTracingPerRunStrategy.java71 void testRunStart(DataRecord runData, Description description) { in testRunStart()
83 void testRunEnd(DataRecord runData, Result result) { in testRunEnd()
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java139 DataRecord runData = new DataRecord(); in testRunLevelCollection_statsdInteraction()
163 DataRecord runData = mock(DataRecord.class); in testRunLevelCollection_metrics()
222 DataRecord testData = new DataRecord(); in testTestLevelCollection_statsdInteraction()
227 new DataRecord(), Description.createSuiteDescription("Placeholder")); in testTestLevelCollection_statsdInteraction()
241 mListener.onTestRunEnd(new DataRecord(), new Result()); in testTestLevelCollection_statsdInteraction()
251 DataRecord testData = mock(DataRecord.class); in testTestLevelCollection_metrics()
256 new DataRecord(), Description.createSuiteDescription("Placeholder")); in testTestLevelCollection_metrics()
314 mListener.onTestRunEnd(new DataRecord(), new Result()); in testTestLevelCollection_metrics()
326 new DataRecord(), Description.createSuiteDescription("Placeholder")); in testTestLevelCollection_multipleTests()
328 DataRecord testData1 = mock(DataRecord.class); in testTestLevelCollection_multipleTests()
[all …]
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/
DMemhogPreparer.java19 import android.device.collectors.DataRecord;
43 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
56 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DThermalThrottlingPreparer.java19 import android.device.collectors.DataRecord;
43 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
54 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()
DGarbageCollectionPreparer.java20 import android.device.collectors.DataRecord;
79 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart()
102 public void onTestStart(DataRecord testData, Description description) { in onTestStart()
107 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/
DLogFileLogger.java19 import android.device.collectors.DataRecord;
33 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt21 import android.device.collectors.DataRecord in <lambda>()
73 override fun onTestRunStart(runData: DataRecord, description: Description) { in <lambda>()
91 override fun onTestStart(testData: DataRecord, description: Description) { in <lambda>()
110 override fun onTestFail(testData: DataRecord, description: Description, failure: Failure) { in <lambda>()
131 override fun onTestEnd(testData: DataRecord, description: Description) { in <lambda>()
159 override fun onTestRunEnd(runData: DataRecord, result: Result) { in <lambda>()
184 dataRecord: DataRecord, in <lambda>()
241 data: DataRecord, in <lambda>()
284 record: DataRecord, in <lambda>()
287 dataRecord: DataRecord in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceResultsCollectorTest.kt20 import android.device.collectors.DataRecord in <lambda>()
62 val runData = DataRecord() in <lambda>()
64 val testData = Mockito.mock(DataRecord::class.java) in <lambda>()
93 val runData = DataRecord() in <lambda>()
95 val testData = DataRecord() in <lambda>()
113 val runData = DataRecord() in <lambda>()
115 val testData = DataRecord() in <lambda>()
132 val runData = DataRecord() in <lambda>()
134 val testData = DataRecord() in <lambda>()
152 val runData = DataRecord() in <lambda>()
[all …]
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DClassMetricRuleTest.java26 import android.device.collectors.DataRecord;
119 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd()
125 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd()

12