Home
last modified time | relevance | path

Searched refs:initListener (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java97 private PerfettoListener initListener(Bundle b) { in initListener() method in PerfettoListenerTest
122 mListener = initListener(b); in testPerfettoPerTestSuccessFlow()
144 mListener = initListener(b); in testPerfettoPerTestFailureFlowDefault()
172 mListener = initListener(b); in testPerfettoPerTestFailureFlowWithSkipMmetrics()
198 mListener = initListener(b); in testPerfettoDefaultStartWaitTime()
224 mListener = initListener(b); in testPerfettoCustomStartWaitTime()
248 mListener = initListener(b); in testPerfettoPerRunSuccessFlow()
266 mListener = initListener(b); in testRunWithWakeLockHoldsAndReleasesAWakelock()
275 mListener = initListener(b); in testRunWithWakeLockHoldsAndReleasesAWakelockWhenThereIsAnException()
297 mListener = initListener(b); in testPerfettoDoesNotHoldWakeLockPerRun()
[all …]
DDumpsysServiceListenerTest.java58 DumpsysServiceListener listener = initListener(new Bundle(), mDumpsysServiceHelper); in testListener_noProcessNames()
69 DumpsysServiceListener listener = initListener(bundle, mDumpsysServiceHelper); in testListener_withProcessNames()
74 private DumpsysServiceListener initListener(Bundle bundle, DumpsysServiceHelper helper) { in initListener() method in DumpsysServiceListenerTest
DDumpsysMeminfoListenerTest.java58 DumpsysMeminfoListener listener = initListener(new Bundle(), mDumpsysMeminfoHelper); in testListener_noProcessNames()
69 DumpsysMeminfoListener listener = initListener(bundle, mDumpsysMeminfoHelper); in testListener_withProcessNames()
74 private DumpsysMeminfoListener initListener(Bundle bundle, DumpsysMeminfoHelper helper) { in initListener() method in DumpsysMeminfoListenerTest
DTotalPssMetricListenerTest.java65 private TotalPssMetricListener initListener(Bundle b) { in initListener() method in TotalPssMetricListenerTest
75 mListener = initListener(b); in testHelperReceivesProcessNames()
90 mListener = initListener(b); in testAdditionalPssOptions()
DShowmapSnapshotListenerTest.java60 private ShowmapSnapshotListener initListener(Bundle b) { in initListener() method in ShowmapSnapshotListenerTest
72 mListener = initListener(b); in testHelperReceivesProcessNames()
86 mListener = initListener(b); in testAdditionalOptions()
DSimpleperfListenerTest.java73 private SimpleperfListener initListener(Bundle b) { in initListener() method in SimpleperfListenerTest
90 mListener = initListener(b); in testSimpleperfPerTestSuccessFlow()
111 mListener = initListener(b); in testSimpleperfPerTestFailureFlowDefault()
137 mListener = initListener(b); in testSimpleperfPerTestFailureFlowWithSkipMmetrics()
163 mListener = initListener(b); in testSimpleperfPerRunSuccessFlow()
185 mListener = initListener(b); in testSimpleperfPerRunFailureFlow()
201 mListener = initListener(b); in testSimpleperfStartFailureFlow()
221 mListener = initListener(b); in testSimpleperfInvocationCount()
DBaseCollectionListenerTest.java62 private BaseCollectionListener initListener(Bundle b) { in initListener() method in BaseCollectionListenerTest
78 mListener = initListener(b); in testPerRunFlow()
98 mListener = initListener(b); in testPerTestFlow()
124 mListener = initListener(b); in testDefaultOptionFlow()
149 mListener = initListener(b); in testPerTestFailureFlowNotCollectMetrics()
170 mListener = initListener(b); in testPerTestFailureFlowDefault()
194 mListener = initListener(b); in testPerTestFailureSkipMetrics()
218 mListener = initListener(b); in testInterleavingTestFailureMetricsSkip()
DPinnerSnapshotListenerTest.java55 private PinnerSnapshotListener initListener(Bundle b) { in initListener() method in PinnerSnapshotListenerTest
65 mListener = initListener(b); in testHelperReceivesCustomDirectory()
DProcessShowmapListenerTest.java61 private ProcessShowmapListener initListener(Bundle b) { in initListener() method in ProcessShowmapListenerTest
71 mListener = initListener(b); in testHelperReceivesProcessNames()
DProcLoadListenerTest.java63 private ProcLoadListener initListener(Bundle b) { in initListener() method in ProcLoadListenerTest
75 mListener = initListener(b); in testLoadProcAdditionalOptions()
DBatteryStatsListenerTest.java82 private BatteryStatsListener initListener(Bundle b) { in initListener() method in BatteryStatsListenerTest
96 mListener = initListener(b); in testTestRunCollector()
132 mListener = initListener(b); in testTestRunSaveToSpecifiedDirCollector()
143 mListener = initListener(b); in testTestRunToBytesCollector()
189 mListener = initListener(b); in testTestCaseCollector()
DScreenshotOnFailureCollectorTest.java97 private ScreenshotOnFailureCollector initListener(Bundle b) throws IOException { in initListener() method in ScreenshotOnFailureCollectorTest
110 mListener = initListener(b); in testSavePngAsFile()
152 mListener = initListener(b); in testSaveUixAsFile()
190 mListener = initListener(b); in testNoUixWithoutOption()
226 mListener = initListener(b); in testSavesIterations()
DGcaEventLogCollectorTest.java71 private GcaEventLogCollector initListener(Bundle bundle) { in initListener() method in GcaEventLogCollectorTest
85 GcaEventLogCollector listener = initListener(bundle); in testGcaEventLogCollectionOnTestEnd_includeFailure()
137 GcaEventLogCollector listener = initListener(bundle); in testGcaEventLogCollectOnTestEnd_skipFailure()
193 GcaEventLogCollector listener = initListener(bundle); in testGcaEventLogCollectionOnTestRunEnd_runEndOnly()
DScreenRecordCollectorTest.java88 private ScreenRecordCollector initListener() throws IOException { in initListener() method in ScreenRecordCollectorTest
105 mListener = initListener(); in testScreenRecord()
161 mListener = initListener(); in testScreenRecord_multipleTests()
DLogcatCollectorTest.java91 private LogcatCollector initListener(Bundle bundle) { in initListener() method in LogcatCollectorTest
101 LogcatCollector listener = initListener(new Bundle()); in testLogcatCollectionOnEveryTestEnd()
168 LogcatCollector listener = initListener(bundle); in testLogcatCollectionWithBeforeDuration()
217 LogcatCollector listener = initListener(bundle); in testLogcatCollectionWithDirectoryOption()
255 LogcatCollector listener = initListener(bundle); in testLogcatOnlyOnTestFailureOption()
304 LogcatCollector listener = initListener(new Bundle()); in testRetrievingLogcat()
372 LogcatCollector listener = initListener(new Bundle()); in testLogcatTimespan()
454 LogcatCollector listener = initListener(new Bundle()); in testMultipleIterations()
DScheduledRunCollectionListenerTest.java77 private ScheduledRunCollectionListener initListener() { in initListener() method in ScheduledRunCollectionListenerTest
110 mListener = initListener(); in setUp()