Home
last modified time | relevance | path

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

12

/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()
DStreamUtilTest.java42 final InputStream stream = source.createInputStream(); in testGetByteArrayListFromSource() local
77 final InputStream stream = source.createInputStream(); in testGetStringFromSource() local
/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()
/tools/metalava/src/main/java/com/android/tools/metalava/
DVersion.kt30 … val stream = BufferedInputStream(Version::class.java.getResourceAsStream("/version.properties")) constant
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java96 try (InputStreamSource stream = new FileInputStreamSource(coverageMeasurement)) { in run()
97 listener.testLog(getNameWithoutExtension(artifactName), mLogDataType, stream); in run() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java60 final InputStream stream = source.createInputStream(); in getStringFromSource() local
96 final InputStream stream = source.createInputStream(); in getByteArrayListFromSource() local
113 public static String getStringFromStream(InputStream stream) throws IOException { in getStringFromStream()
131 public static ByteArrayList getByteArrayListFromStream(InputStream stream) throws IOException { in getByteArrayListFromStream()
148 public static BufferedReader getBufferedReaderFromStreamSrc(InputStreamSource stream) { in getBufferedReaderFromStreamSrc()
DCircularAtraceUtil.java97 FileInputStreamSource stream = new FileInputStreamSource(temp); in endTrace() local
/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.java41 public void print(PrintStream stream) { in print()
43 print(mClasses.values(), "class", "\t", stream); in print() local
DApiClass.java139 public void print(String tag, ApiElement parentElement, String indent, PrintStream stream) { in print()
147 print(mMethods.values(), "method", innerIndent, stream); in print() local
148 print(mFields.values(), "field", innerIndent, stream); in print() local
/tools/tradefederation/core/src/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
DDebugHostLogOnFailureCollector.java49 new SnapshotInputStreamSource("host-log-failure", stream)) { in onTestFail() argument
/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/src/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java48 try (InputStream stream = new FileInputStream(protoFile)) { in readFromFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java57 try (OutputStream stream = new FileOutputStream(protoFile)) { in dumpTestRecord()
/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/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt69 val stream = BufferedInputStream(progress) in <lambda>() constant
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java199 try (InputStream stream = screenSource.createInputStream()) { in testScreenshot()
233 static boolean isImageBlack(InputStream stream) throws IOException { in isImageBlack()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java235 Stream<Path> stream = null; in getTests() local
275 Stream<Path> stream = null; in getAllTests() local
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogReceiver.java80 InputStreamSource stream = getData(); in postLog() local
/tools/tradefederation/core/atest/
Datest_utils.py214 def _has_colors(stream): argument

12