Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 51) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DShellOutputReceiverStreamTest.java50 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(null)) { in testNullReceiver()
61 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testUpperBitsIgnoredInSingleByteWrite()
70 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteSingleBytes()
80 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteFullByteArray1()
88 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWriteFullByteArray2()
97 try (ShellOutputReceiverStream stream = new ShellOutputReceiverStream(mReceiver)) { in testWritePartialByteArray()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteInfoTest.java58 FileInputStream stream = null; in testLoadConfig() local
84 FileInputStream stream = null; in testLoadConfig_multiArch() local
/tools/tradefederation/core/src/com/android/tradefed/result/
DSnapshotInputStreamSource.java36 public SnapshotInputStreamSource(String name, InputStream stream) { in SnapshotInputStreamSource()
56 File createBackingFile(String name, InputStream stream) throws IOException { in createBackingFile()
DLogSaverResultForwarder.java89 try (InputStream stream = source.createInputStream()) { in reportEndHostLog()
94 try (InputStream stream = source.createInputStream()) { in reportEndHostLog()
/tools/metalava/src/main/java/com/android/tools/metalava/
DVersion.kt30 … val stream = BufferedInputStream(Version::class.java.getResourceAsStream("/version.properties")) constant
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java83 try (InputStreamSource stream = new FileInputStreamSource(coverageMeasurement)) { in run()
84 listener.testLog(getNameWithoutExtension(artifactName), mLogDataType, stream); in run() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java63 final InputStream stream = source.createInputStream(); in getStringFromSource() local
99 final InputStream stream = source.createInputStream(); in getByteArrayListFromSource() local
116 public static String getStringFromStream(InputStream stream) throws IOException { in getStringFromStream()
128 public static String getStringFromStream(InputStream stream, long length) throws IOException { in getStringFromStream()
151 public static ByteArrayList getByteArrayListFromStream(InputStream stream) throws IOException { in getByteArrayListFromStream()
168 public static BufferedReader getBufferedReaderFromStreamSrc(InputStreamSource stream) { in getBufferedReaderFromStreamSrc()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java131 void print(String tag, ApiElement parentElement, String indent, PrintStream stream) { in print()
148 PrintStream stream) { in print()
182 …d print(Collection<? extends ApiElement> elements, String tag, String indent, PrintStream stream) { in print()
201 static void printClosingTag(String tag, String indent, PrintStream stream) { in printClosingTag()
DApi.java42 public void print(PrintStream stream) { in print()
44 print(mClasses.values(), "class", "\t", stream); in print() local
DApiClass.java141 public void print(String tag, ApiElement parentElement, String indent, PrintStream stream) { in print()
149 print(mMethods.values(), "method", innerIndent, stream); in print() local
150 print(mFields.values(), "field", innerIndent, stream); in print() local
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDebugHostLogOnFailureCollector.java61 try (InputStream stream = source.createInputStream()) { in onTestFail()
64 new SnapshotInputStreamSource("host-log-failure", stream)) { in onTestFail() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DDumpHeapCollector.java125 try (FileInputStreamSource stream = new FileInputStreamSource(dumpheap)) { in saveDumpheap()
127 .testLog(FileUtil.getBaseName(dumpheap.getName()), LogDataType.HPROF, stream); in saveDumpheap() local
DAtraceCollector.java237 try (FileInputStreamSource stream = new FileInputStreamSource(f)) { in postProcess()
238 testLog(FileUtil.getBaseName(f.getName()), type, stream); in postProcess() local
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingLineReader.kt33 val stream = this@iterLines in <lambda>() constant
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DByteTracker.java48 public CloseableDelegateByteSource fromStream(@Nonnull InputStream stream) throws IOException { in fromStream()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java57 try (OutputStream stream = new FileOutputStream(protoFile)) { in dumpTestRecord()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java59 try (InputStream stream = new FileInputStream(protoFile)) { in readFromFile()
/tools/tradefederation/core/python-lib/tradefed_py/
Dbase_test.py31 def setUpDevice(self, serial, stream, options): argument
Dandroid_device.py25 def __init__(self, serial=None, stream=None): argument
/tools/tradefederation/core/src/com/android/tradefed/log/
DFileLogger.java98 SizeLimitedOutputStream stream = mOutputStream; in doCloseLog() local
/tools/security/fuzzing/orphans/libskia/
Dlibskia_image_processor_fuzzer.cpp35 …std::unique_ptr<SkMemoryStream> stream = SkMemoryStream::MakeDirect(contents.data(), contents.size… in getAndroidPixels() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DCircularAtraceUtil.java97 FileInputStreamSource stream = new FileInputStreamSource(temp); in endTrace() local
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt69 val stream = BufferedInputStream(progress) in <lambda>() constant
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DLocalFileHeader.java104 try (FileInputStream stream = new FileInputStream(partialZipFile)) { in LocalFileHeader()
DEndCentralDirectoryInfo.java151 try (FileInputStream stream = new FileInputStream(zipFile)) { in getEndCentralDirectoryInfo()

123