Home
last modified time | relevance | path

Searched refs:collector (Results 1 – 25 of 53) sorted by relevance

123

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DHeapDumpListenerTest.java59 HeapDumpListener collector = new HeapDumpListener(enableAllBundle, mHelper); in testHeapCollectionEnableAllIterations() local
60 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllIterations()
62 collector.testRunStarted(RUN_DESCRIPTION); in testHeapCollectionEnableAllIterations()
63 collector.testStarted(TEST_DESCRIPTION_1); in testHeapCollectionEnableAllIterations()
72 HeapDumpListener collector = new HeapDumpListener(disableAllBundle, mHelper); in testHeapCollectionEnableAllFlagDisabled() local
73 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllFlagDisabled()
75 collector.testRunStarted(RUN_DESCRIPTION); in testHeapCollectionEnableAllFlagDisabled()
76 collector.testStarted(TEST_DESCRIPTION_1); in testHeapCollectionEnableAllFlagDisabled()
84 HeapDumpListener collector = new HeapDumpListener(defaultDisabledAllBundle, mHelper); in testHeapCollectionEnableAllDisabledByDefault() local
85 collector.setInstrumentation(mInstrumentation); in testHeapCollectionEnableAllDisabledByDefault()
[all …]
DBinderListenerTest.java61 BinderListener collector = new BinderListener(singleProcessBundle, mHelper); in testCollect_singleSpecificProcess() local
62 collector.setInstrumentation(mInstrumentation); in testCollect_singleSpecificProcess()
65 collector.testRunStarted(RUN_DESCRIPTION); in testCollect_singleSpecificProcess()
67 collector.testStarted(TEST_DESCRIPTION); in testCollect_singleSpecificProcess()
68 collector.testFinished(TEST_DESCRIPTION); in testCollect_singleSpecificProcess()
69 collector.testRunFinished(new Result()); in testCollect_singleSpecificProcess()
79 BinderListener collector = new BinderListener(multiProcessBundle, mHelper); in testCollect_multiSpecificProcess() local
80 collector.setInstrumentation(mInstrumentation); in testCollect_multiSpecificProcess()
83 collector.testRunStarted(RUN_DESCRIPTION); in testCollect_multiSpecificProcess()
85 collector.testStarted(TEST_DESCRIPTION); in testCollect_multiSpecificProcess()
[all …]
DJankListenerTest.java61 JankListener collector = new JankListener(twoProcBundle, mHelper); in testCollect_specificProcess() local
62 collector.setInstrumentation(mInstrumentation); in testCollect_specificProcess()
65 collector.testRunStarted(RUN_DESCRIPTION); in testCollect_specificProcess()
67 collector.testStarted(TEST_DESCRIPTION); in testCollect_specificProcess()
68 collector.testFinished(TEST_DESCRIPTION); in testCollect_specificProcess()
69 collector.testRunFinished(new Result()); in testCollect_specificProcess()
75 JankListener collector = new JankListener(new Bundle(), mHelper); in testCollect_allProcesses() local
76 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
79 collector.testRunStarted(RUN_DESCRIPTION); in testCollect_allProcesses()
81 collector.testStarted(TEST_DESCRIPTION); in testCollect_allProcesses()
[all …]
DOatDumpCollectorTest.java63 OatDumpCollector collector = new OatDumpCollector(bundle); in testCollectOatDump_onRunStartAndRunEnd() local
64 collector.setInstrumentation(InstrumentationRegistry.getInstrumentation()); in testCollectOatDump_onRunStartAndRunEnd()
65 collector.setUp(); in testCollectOatDump_onRunStartAndRunEnd()
68 collector.onTestRunStart( in testCollectOatDump_onRunStartAndRunEnd()
72 collector.getOatDumpFileKey(OatDumpCollector.TEST_RUN_START_SUFFIX); in testCollectOatDump_onRunStartAndRunEnd()
74 collector.getOatDumpFilePath(OatDumpCollector.TEST_RUN_START_SUFFIX); in testCollectOatDump_onRunStartAndRunEnd()
76 collector.getOdexFileSizeKey(OatDumpCollector.TEST_RUN_START_SUFFIX); in testCollectOatDump_onRunStartAndRunEnd()
78 collector.getReportedSizeKey(OatDumpCollector.TEST_RUN_START_SUFFIX); in testCollectOatDump_onRunStartAndRunEnd()
88 collector.onTestRunEnd(record, new Result()); in testCollectOatDump_onRunStartAndRunEnd()
90 String filenameEndKey = collector.getOatDumpFileKey(OatDumpCollector.TEST_RUN_END_SUFFIX); in testCollectOatDump_onRunStartAndRunEnd()
[all …]
DSfStatsListenerTest.java51 SfStatsListener collector = new SfStatsListener(new Bundle(), mHelper); in testCollect_allProcesses() local
52 collector.setInstrumentation(mInstrumentation); in testCollect_allProcesses()
53 collector.testRunStarted(RUN_DESCRIPTION); in testCollect_allProcesses()
54 collector.testStarted(TEST_DESCRIPTION); in testCollect_allProcesses()
55 collector.testFinished(TEST_DESCRIPTION); in testCollect_allProcesses()
56 collector.testRunFinished(new Result()); in testCollect_allProcesses()
DBaselineProfileCollectorTest.java82 BaselineProfileCollector collector = getCollector(); in testBaselineProfile_isReportedIfOneExists() local
86 collector.testRunStarted(FAKE_DESCRIPTION); in testBaselineProfile_isReportedIfOneExists()
88 collector.onTestRunEnd(transparentDataRecord, new Result()); in testBaselineProfile_isReportedIfOneExists()
99 BaselineProfileCollector collector = getCollector(); in testBaselineProfile_areAllReportedIfManyExists() local
105 collector.testRunStarted(FAKE_DESCRIPTION); in testBaselineProfile_areAllReportedIfManyExists()
107 collector.onTestRunEnd(transparentDataRecord, new Result()); in testBaselineProfile_areAllReportedIfManyExists()
122 BaselineProfileCollector collector = getCollector(); in testBaselineProfile_isNotReportedIfNoneExist() local
124 collector.testRunStarted(FAKE_DESCRIPTION); in testBaselineProfile_isNotReportedIfNoneExist()
126 collector.onTestRunEnd(transparentDataRecord, new Result()); in testBaselineProfile_isNotReportedIfNoneExist()
134 BaselineProfileCollector collector = new BaselineProfileCollector(new Bundle()); in testThrows_ifAdditionalTestOutputDir_notSpecified() local
[all …]
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceResultsCollectorTest.kt61 val collector = createCollector(reportOnlyForPassingTests = true) in <lambda>() constant
67 collector.onTestRunStart(runData, runDescription) in <lambda>()
68 collector.onTestStart(testData, testDescription) in <lambda>()
69 collector.onTestFail(testData, testDescription, Mockito.mock(Failure::class.java)) in <lambda>()
70 collector.onTestEnd(testData, testDescription) in <lambda>()
71 collector.onTestRunEnd(runData, Mockito.mock(org.junit.runner.Result::class.java)) in <lambda>()
73 Truth.assertThat(collector.executionErrors).isEmpty() in <lambda>()
74 Truth.assertThat(collector.assertionResultsByTest[testDescription]).isNull() in <lambda>()
91 val collector = in <lambda>() constant
98 collector.onTestRunStart(runData, runDescription) in <lambda>()
[all …]
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFlickerServiceTracesCollectorTest.kt61 val collector = FlickerServiceTracesCollector() in canCollectTraces() constant
62 collector.start(TEST_SCENARIO) in canCollectTraces()
65 val reader = collector.stop() in canCollectTraces()
74 val collector = FlickerServiceTracesCollector() in reportsTraceFile() constant
75 collector.start(TEST_SCENARIO) in reportsTraceFile()
78 val reader = collector.stop() in reportsTraceFile()
95 val collector = FlickerServiceTracesCollector() in reportedTraceFileContainsAllTraces() constant
96 collector.start(TEST_SCENARIO) in reportedTraceFileContainsAllTraces()
99 val reader = collector.stop() in reportedTraceFileContainsAllTraces()
109 val collector = FlickerServiceTracesCollector() in supportHavingNoTransitions() constant
[all …]
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DBatterystatsCollectorHostTest.java92 FilePullerDeviceMetricCollector collector = new FilePullerDeviceMetricCollector() { in testBatteryStatsListener_perRun() local
116 OptionSetter optionSetter = new OptionSetter(collector); in testBatteryStatsListener_perRun()
119 collector.init(mContext, listener); in testBatteryStatsListener_perRun()
120 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testBatteryStatsListener_perRun()
143 FilePullerDeviceMetricCollector collector = new FilePullerDeviceMetricCollector() { in testBatteryStatsListener_perTest() local
163 OptionSetter optionSetter = new OptionSetter(collector); in testBatteryStatsListener_perTest()
166 collector.init(mContext, listener); in testBatteryStatsListener_perTest()
167 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testBatteryStatsListener_perTest()
DLogcatCollectorHostTest.java81 TestFilePullerDeviceMetricCollector collector = new TestFilePullerDeviceMetricCollector(); in testCollect() local
82 OptionSetter optionSetter = new OptionSetter(collector); in testCollect()
85 collector.init(mContext, new CollectingTestListener()); in testCollect()
86 mOptions.addExtraListener(collector); in testCollect()
92 assertTrue(collector.mCollectedOnce); in testCollect()
DScreenshotOnFailureCollectorHostTest.java83 FilePullerDeviceMetricCollector collector = in testScreenshotListener() local
106 OptionSetter optionSetter = new OptionSetter(collector); in testScreenshotListener()
109 collector.init(mContext, listener); in testScreenshotListener()
110 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testScreenshotListener()
/platform_testing/libraries/device-collectors/src/main/
DAndroid.bp20 name: "collector-device-lib",
26 "adservices-collector-helper",
30 "app-collector-helper",
/platform_testing/libraries/flicker/collector/
DAndroid.bp22 name: "ui-trace-collector",
30 "collector-device-lib",
/platform_testing/libraries/health/rules/
DAndroid.bp28 "collector-device-lib",
29 "collector-device-lib-platform",
74 "collector-device-lib",
75 "collector-device-lib-platform",
/platform_testing/libraries/flicker/collector/test/
DAndroid.bp23 name: "ui-trace-collector-test",
31 "ui-trace-collector",
/platform_testing/libraries/collectors-helper/adservices/
DAndroid.bp21 name: "adservices-collector-helper",
30 "collector-helper-utilities",
/platform_testing/libraries/collectors-helper/app/test/
DAndroid.bp20 name: "app-collector-helper-test",
29 "app-collector-helper",
/platform_testing/libraries/collectors-helper/adservices/test/
DAndroid.bp29 "adservices-collector-helper",
30 "app-collector-helper",
/platform_testing/libraries/collectors-helper/app/
DAndroid.bp21 name: "app-collector-helper",
31 "collector-helper-utilities",
/platform_testing/tests/jank/uibench/
DAndroid.bp25 "collector-device-lib",
50 "collector-device-lib",
/platform_testing/tests/microbenchmarks/uibench/
DAndroid.bp25 "collector-device-lib",
58 "collector-device-lib",
/platform_testing/libraries/device-collectors/src/main/platform-collectors/
DAndroid.bp43 name: "collector-device-lib-platform",
51 "collector-device-lib",
/platform_testing/libraries/collectors-helper/utilities/
DAndroid.bp21 name: "collector-helper-utilities",
/platform_testing/libraries/collectors-helper/perfetto/test/
DAndroid.bp31 "collector-helper-utilities",
/platform_testing/libraries/collectors-helper/statsd/
DAndroid.bp31 "collector-helper-utilities",

123