Home
last modified time | relevance | path

Searched refs:CollectingOutputReceiver (Results 1 – 25 of 38) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java20 import com.android.ddmlib.CollectingOutputReceiver;
165 (CollectingOutputReceiver)EasyMock.anyObject(), EasyMock.anyInt(), in testWaitForShellAvailable()
171 protected CollectingOutputReceiver createOutputReceiver() { in testWaitForShellAvailable()
172 return new CollectingOutputReceiver() { in testWaitForShellAvailable()
192 (CollectingOutputReceiver)EasyMock.anyObject(), EasyMock.anyInt(), in testWaitForShell_becomeAvailable()
198 protected CollectingOutputReceiver createOutputReceiver() { in testWaitForShell_becomeAvailable()
199 return new CollectingOutputReceiver() { in testWaitForShell_becomeAvailable()
233 (CollectingOutputReceiver)EasyMock.anyObject(), EasyMock.anyInt(), in testWaitForShell_timeout()
239 protected CollectingOutputReceiver createOutputReceiver() { in testWaitForShell_timeout()
240 return new CollectingOutputReceiver() { in testWaitForShell_timeout()
[all …]
DManagedTestDeviceFactoryTest.java106 final CollectingOutputReceiver cor = new CollectingOutputReceiver(); in testFrameworkAvailable()
109 protected CollectingOutputReceiver createOutputReceiver() { in testFrameworkAvailable()
135 final CollectingOutputReceiver cor = new CollectingOutputReceiver(); in testFrameworkNotAvailable()
138 protected CollectingOutputReceiver createOutputReceiver() { in testFrameworkNotAvailable()
164 final CollectingOutputReceiver cor = new CollectingOutputReceiver(); in testCheckFramework_emptyReturns()
167 protected CollectingOutputReceiver createOutputReceiver() { in testCheckFramework_emptyReturns()
DDeviceManagerTest.java186 protected CollectingOutputReceiver createOutputReceiver() { in setUp()
187 return new CollectingOutputReceiver() { in setUp()
1014 protected CollectingOutputReceiver createOutputReceiver() { in testFreeDevice_unavailable()
1015 return new CollectingOutputReceiver() { in testFreeDevice_unavailable()
1075 protected CollectingOutputReceiver createOutputReceiver() { in testFreeDevice_recovery()
1076 return new CollectingOutputReceiver() { in testFreeDevice_recovery()
1140 protected CollectingOutputReceiver createOutputReceiver() { in testFreeDevice_unknown()
1141 return new CollectingOutputReceiver() { in testFreeDevice_unknown()
1205 protected CollectingOutputReceiver createOutputReceiver() { in testFreeDevice_unknown_subName()
1206 return new CollectingOutputReceiver() { in testFreeDevice_unknown_subName()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java20 import com.android.tradefed.device.CollectingOutputReceiver;
63 private CollectingOutputReceiver readInFile(String filename) { in readInFile()
64 CollectingOutputReceiver output = null; in readInFile()
66 output = new CollectingOutputReceiver(); in readInFile()
101 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_1); in testParseSimpleFile()
159 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_2); in testParseSimpleFile_twoTests()
183 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_3); in testParse_contextError()
197 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_4); in testParse_noBenchmarkResults()
221 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_7); in testParse_benchmarkError()
259 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_5); in testParseSimpleFile_withWarning()
[all …]
DGoogleBenchmarkTestTest.java18 import com.android.tradefed.device.CollectingOutputReceiver;
45 private CollectingOutputReceiver mMockReceiver = null;
58 mMockReceiver = new CollectingOutputReceiver(); in setUp()
65 CollectingOutputReceiver createOutputCollector() { in setUp()
74 public Map<String, String> parse(CollectingOutputReceiver output) { in setUp()
DArtRunTestTest.java21 import com.android.ddmlib.CollectingOutputReceiver;
59 private CollectingOutputReceiver mOutputReceiver;
73 mOutputReceiver = new CollectingOutputReceiver(); in setUp()
77 protected CollectingOutputReceiver createTestOutputReceiver() { in setUp()
DGTestTest.java27 import com.android.tradefed.device.CollectingOutputReceiver;
84 public void parseResult(File f, CollectingOutputReceiver output) { in setUp()
481 (CollectingOutputReceiver) EasyMock.anyObject(), in testRunXml()
484 (CollectingOutputReceiver) EasyMock.anyObject(), in testRunXml()
DGTestXmlResultParserTest.java18 import com.android.tradefed.device.CollectingOutputReceiver;
265 CollectingOutputReceiver fake = new CollectingOutputReceiver() { in testParseWithEmptyFile_AdditionalOutput()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java19 import com.android.ddmlib.CollectingOutputReceiver;
182 final CollectingOutputReceiver receiver = createOutputReceiver(); in waitForDeviceShell()
300 final CollectingOutputReceiver receiver = createOutputReceiver(); in waitForStoreMount()
301 final CollectingOutputReceiver bitBucket = new CollectingOutputReceiver(); in waitForStoreMount()
362 CollectingOutputReceiver receiver = createOutputReceiver(); in getMountPoint()
563 protected CollectingOutputReceiver createOutputReceiver() { in createOutputReceiver()
564 return new CollectingOutputReceiver(); in createOutputReceiver()
DNativeDevice.java784 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in executeShellCommand()
2530 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in getBugreportzInternal()
3395 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in encryptDevice()
4800 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in getMacAddress()
DManagedTestDeviceFactory.java158 CollectingOutputReceiver receiver = createOutputReceiver(); in checkFrameworkSupport()
209 protected CollectingOutputReceiver createOutputReceiver() { in createOutputReceiver()
210 return new CollectingOutputReceiver(); in createOutputReceiver()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparer.java22 import com.android.tradefed.device.CollectingOutputReceiver;
67 private Map<BackgroundDeviceAction, CollectingOutputReceiver> mBgDeviceActionsMap =
76 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in setUp()
118 for (Map.Entry<BackgroundDeviceAction, CollectingOutputReceiver> bgAction : in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DNativeLeakCollector.java20 import com.android.tradefed.device.CollectingOutputReceiver;
82 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in tearDown()
107 private void writeToReceiver (String msg, CollectingOutputReceiver receiver) { in writeToReceiver()
DPushFileInvoker.java18 import com.android.ddmlib.CollectingOutputReceiver;
76 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in setUp()
DDynamicSystemPreparer.java21 import com.android.tradefed.device.CollectingOutputReceiver;
52 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in isDSURunning()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java19 import com.android.ddmlib.CollectingOutputReceiver;
137 CollectingOutputReceiver receiver = createTestOutputReceiver(); in runArtTest()
176 protected CollectingOutputReceiver createTestOutputReceiver() { in createTestOutputReceiver()
177 return new CollectingOutputReceiver(); in createTestOutputReceiver()
DGoogleBenchmarkTest.java22 import com.android.tradefed.device.CollectingOutputReceiver;
197 CollectingOutputReceiver outputCollector = createOutputCollector(); in doRunAllTestsInSubdirectory()
302 CollectingOutputReceiver createOutputCollector() { in createOutputCollector()
303 return new CollectingOutputReceiver(); in createOutputCollector()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLevelUtility.java18 import com.android.ddmlib.CollectingOutputReceiver;
35 final CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in extractDeviceHeadsetLevelFromAdbShell()
DAudioJitterTest.java19 import com.android.ddmlib.CollectingOutputReceiver;
103 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DTraceCmdCollector.java24 import com.android.tradefed.device.CollectingOutputReceiver;
109 CollectingOutputReceiver c = new CollectingOutputReceiver(); in startTracing()
DAtraceCollector.java22 import com.android.tradefed.device.CollectingOutputReceiver;
153 CollectingOutputReceiver c = new CollectingOutputReceiver(); in startTracing()
/tools/tradefederation/core/src/com/android/tradefed/util/
DDeviceConcurrentUtil.java19 import com.android.tradefed.device.CollectingOutputReceiver;
118 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in call()
DBluetoothUtils.java19 import com.android.tradefed.device.CollectingOutputReceiver;
73 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in runBluetoothInstrumentation()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDynamicSystemPreparerTest.java24 import com.android.tradefed.device.CollectingOutputReceiver;
107 ((CollectingOutputReceiver) invocation.getArguments()[1]) in testSetUp()
114 matches("gsi_tool status"), any(CollectingOutputReceiver.class)); in testSetUp()
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DFlatlandTest.java21 import com.android.tradefed.device.CollectingOutputReceiver;
136 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in run()

12