/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ShellOutputReceiverStreamTest.java | 34 private FakeShellOutputReceiver mReceiver; field in ShellOutputReceiverStreamTest 40 mReceiver = new FakeShellOutputReceiver(); in setUp() 61 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testUpperBitsIgnoredInSingleByteWrite() 65 assertArrayEquals(expected, mReceiver.getReceivedOutput()); in testUpperBitsIgnoredInSingleByteWrite() 70 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteSingleBytes() 75 assertArrayEquals(expected, mReceiver.getReceivedOutput()); in testWriteSingleBytes() 80 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteFullByteArray1() 83 assertArrayEquals(mRandomTestData, mReceiver.getReceivedOutput()); in testWriteFullByteArray1() 88 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteFullByteArray2() 91 assertArrayEquals(mRandomTestData, mReceiver.getReceivedOutput()); in testWriteFullByteArray2() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LogcatReceiver.java | 30 private LargeOutputReceiver mReceiver; field in LogcatReceiver 44 mReceiver = new LargeOutputReceiver(LOGCAT_DESC, device.getSerialNumber(), in LogcatReceiver() 49 mReceiver, logStartDelay); in LogcatReceiver() 70 mReceiver.cancel(); in stop() 71 mReceiver.delete(); in stop() 77 return mReceiver.getData(); in getLogcatData() 83 return mReceiver.getData(maxBytes); in getLogcatData() 88 return mReceiver.getData(maxBytes, offset); in getLogcatData() 93 mReceiver.clear(); in clear()
|
D | BackgroundDeviceAction.java | 47 private IShellOutputReceiver mReceiver; field in BackgroundDeviceAction 69 mReceiver = receiver; in BackgroundDeviceAction() 99 mReceiver.addOutput(separator.getBytes(), 0, separator.length()); in run() 103 .executeShellCommand(mCommand, mReceiver, 0, TimeUnit.MILLISECONDS); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ShellOutputReceiverStream.java | 30 private IShellOutputReceiver mReceiver; field in ShellOutputReceiverStream 40 mReceiver = receiver; in ShellOutputReceiverStream() 51 if (mReceiver == null) { in write() 55 mReceiver.addOutput(new byte[] {converted}, 0, 1); in write() 65 if (mReceiver == null) { in write() 68 mReceiver.addOutput(b, off, len); in write() 81 if (mReceiver == null) { in flush() 84 mReceiver.flush(); in flush()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | LogReceiver.java | 28 private LargeOutputReceiver mReceiver; field in LogReceiver 46 mReceiver = new LargeOutputReceiver(desc, device.getSerialNumber(), in LogReceiver() 49 mReceiver, logStartDelay); in LogReceiver() 63 mReceiver.cancel(); in stop() 64 mReceiver.delete(); in stop() 68 return mReceiver.getData(); in getData() 72 return mReceiver.getData(maxBytes); in getLogcatData() 76 mReceiver.clear(); in clear()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparer.java | 57 private String mReceiver; field in MergeMultiBuildTargetPreparer 78 IBuildInfo receiverInfo = context.getBuildInfo(mReceiver); in setUp() 83 String.format("Could not find a build associated with '%s'", mReceiver), in setUp() 103 key, mReceiver), in setUp()
|
/tools/dexter/testdata/expected/ |
D | medium.compact_cfg | 2017 17| iput-object v0, v1, android.support.v4.os.ResultReceiver.mReceiver 2060 1| iget-object v0, v1, android.support.v4.os.ResultReceiver.mReceiver 2067 10| iput-object v0, v1, android.support.v4.os.ResultReceiver.mReceiver 2072 12| iget-object v0, v1, android.support.v4.os.ResultReceiver.mReceiver
|