Home
last modified time | relevance | path

Searched refs:mReceiver (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DShellOutputReceiverStreamTest.java34 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/
DLogcatReceiver.java30 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()
DBackgroundDeviceAction.java47 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/
DShellOutputReceiverStream.java30 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/
DLogReceiver.java28 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/
DMergeMultiBuildTargetPreparer.java57 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/
Dmedium.compact_cfg2017 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