Home
last modified time | relevance | path

Searched refs:addOutput (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockTestDeviceHelper.java47 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
58 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
92 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
109 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
DDeviceStateMonitorTest.java309 receiver.addOutput(res.getBytes(), 0, res.length()); in testWaitForBootComplete()
338 receiver.addOutput(res.getBytes(), 0, res.length()); in testWaitForBootComplete_warnings()
368 receiver.addOutput(res.getBytes(), 0, res.length()); in testWaitForBoot_becomeComplete()
825 stat.addOutput(statOutput.getBytes(), 0, statOutput.length()); in testWaitForDeviceAvailable_mounted()
846 output.addOutput(input[0].getBytes(), 0, input[0].length()); in testWaitForDeviceAvailable_mounted()
DNativeDeviceTest.java2790 receiver.addOutput(address.getBytes(), 0, address.length()); in testGetMacAddress()
2877 receiver.addOutput(address.getBytes(), 0, address.length()); in testGetMacAddress_stubDevice()
3423 receiver.addOutput(address.getBytes(), 0, address.length()); in testGetFastbootSerialNumber_non_root_tcp_adb()
3473 receiver.addOutput(address.getBytes(), 0, address.length()); in testGetFastbootSerialNumber_root_tcp_adb()
DDeviceSelectionOptionsTest.java644 receiver.addOutput(inputData, 0, inputData.length);
DTestDeviceTest.java2305 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
2335 receiver.addOutput(inputData, 0, inputData.length); in injectShellResponse()
6561 receiver.addOutput(fakeRep.getBytes(), 0, fakeRep.getBytes().length); in testGetBugreport_deviceUnavail()
6673 receiver.addOutput(fakeRep.getBytes(), 0, fakeRep.getBytes().length); in testGetBugreportz()
/tools/tradefederation/core/src/com/android/tradefed/util/
DShellOutputReceiverStream.java55 mReceiver.addOutput(new byte[] {converted}, 0, 1); in write()
68 mReceiver.addOutput(b, off, len); in write()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFakeShellOutputReceiver.java32 public void addOutput(byte[] data, int offset, int length) { in addOutput() method in FakeShellOutputReceiver
DLogcatEventParserTest.java172 receiver.addOutput(output.getBytes(), 0, output.getBytes().length); in testEndToEnd()
/tools/tradefederation/core/src/com/android/tradefed/device/
DCollectingByteOutputReceiver.java54 public void addOutput(byte[] data, int offset, int length) { in addOutput() method in CollectingByteOutputReceiver
DCollectingOutputReceiver.java54 public void addOutput(byte[] data, int offset, int length) { in addOutput() method in CollectingOutputReceiver
DBackgroundDeviceAction.java99 mReceiver.addOutput(separator.getBytes(), 0, separator.length()); in run()
DLargeOutputReceiver.java66 public synchronized void addOutput(byte[] data, int offset, int length) { in addOutput() method in LargeOutputReceiver
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java221 mMockReceiver.addOutput((byte[]) Mockito.any(), Mockito.anyInt(), Mockito.anyInt()); in testBgCmd()
275 mMockReceiver.addOutput((byte[]) Mockito.any(), Mockito.anyInt(), Mockito.anyInt()); in testBgCmd_withTestUserToken_propertyNotSet()
329 mMockReceiver.addOutput((byte[]) Mockito.any(), Mockito.anyInt(), Mockito.anyInt()); in testBgCmd_withTestUserToken()
DDynamicSystemPreparerTest.java133 .addOutput(outputBytes, 0, outputBytes.length); in mockGsiToolStatus()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DNativeLeakCollector.java110 receiver.addOutput(msgBytes, 0, byteCount); in writeToReceiver()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java275 parser.addOutput(result.getStdout().getBytes(), 0, result.getStdout().length()); in runTest()
/tools/tradefederation/core/javatests/com/android/tradefed/util/statsd/
DMetricUtilTest.java148 .addOutput(mOutputBytes, 0, mOutputBytes.length); in answer()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DDeviceBatteryLevelCheckerTest.java105 receiver.addOutput(bugreport.getBytes(), 0, bugreport.length()); in executeShellCommand()