Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/javatests/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/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DVersion.kt30 val stream = constant
/tools/tradefederation/core/javatests/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.java88 try (InputStream stream = source.createInputStream()) { in logFile()
120 try (InputStream stream = source.createInputStream()) { in reportEndHostLog()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java92 try (InputStreamSource stream = new FileInputStreamSource(coverageMeasurement)) { in run()
93 listener.testLog(getNameWithoutExtension(artifactName), mLogDataType, stream); in run() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java64 final InputStream stream = source.createInputStream(); in getStringFromSource() local
100 final InputStream stream = source.createInputStream(); in getByteArrayListFromSource() local
117 public static String getStringFromStream(InputStream stream) throws IOException { in getStringFromStream()
129 public static String getStringFromStream(InputStream stream, long length) throws IOException { in getStringFromStream()
152 public static ByteArrayList getByteArrayListFromStream(InputStream stream) throws IOException { in getByteArrayListFromStream()
169 public static BufferedReader getBufferedReaderFromStreamSrc(InputStreamSource stream) { in getBufferedReaderFromStreamSrc()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java207 static V4Signature readFrom(InputStream stream) throws IOException { in readFrom()
217 public void writeTo(OutputStream stream) throws IOException { in writeTo()
247 static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully()
259 static int readIntLE(InputStream stream) throws IOException { in readIntLE()
265 static void writeIntLE(OutputStream stream, int v) throws IOException { in writeIntLE()
270 static byte[] readBytes(InputStream stream) throws IOException { in readBytes()
294 static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes()
/tools/security/fuzzing/llm/xz_fuzzer/
Dxz_decoder_fuzzer.cpp5 struct xz_dec *init_xz_dec(FuzzedDataProvider& stream) { in init_xz_dec()
20 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() local
/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Memory_Fuzzer.cpp6 std::string GenerateRandomXML(FuzzedDataProvider& stream) { in GenerateRandomXML()
34 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() local
DXmlRead_Fd_Fuzzer.cpp8 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() local
/tools/netsim/rust/daemon/src/http_server/
Dhttp_router.rs143 let mut stream = Cursor::new(Vec::new()); in test_handle_request() localVariable
157 let mut stream = Cursor::new(Vec::new()); in test_handle_request() localVariable
176 let mut stream = Cursor::new(Vec::new()); in test_mismatch_uri() localVariable
195 let mut stream = Cursor::new(Vec::new()); in test_handle_query() localVariable
Dserver_response.rs164 let mut stream = Cursor::new(Vec::new()); in test_put_error() localVariable
175 let mut stream = Cursor::new(Vec::new()); in test_put_ok() localVariable
186 let mut stream = Cursor::new(Vec::new()); in test_put_ok_with_length() localVariable
197 let mut stream = Cursor::new(Vec::new()); in test_put_ok_with_vec() localVariable
211 let mut stream = Cursor::new(Vec::new()); in test_put_ok_switch_protocol() localVariable
221 let mut stream = Cursor::new(Vec::new()); in test_put_chunk() localVariable
Dserver.rs41 let stream = stream.unwrap(); in run_http_server() localVariable
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDebugHostLogOnFailureCollector.java73 try (InputStream stream = source.createInputStream()) { in onTestFail()
76 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/netsim/src/backend/
Dgrpc_server.cc58 Stream *stream) override { in StreamPackets()
152 void ProcessRequests(Stream *stream, uint32_t chip_id, in ProcessRequests()
207 auto stream = chip_id_to_stream[chip_id]; in HandleResponse() local
/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/netsim/rust/daemon/src/transport/
Dsocket.rs39 stream: TcpStream, field
69 let stream = stream?; in accept_incoming() localVariable
/tools/security/fuzzing/llm/tinyxml2_fuzzer/
Dtinyxml_parse_fuzzer.cpp35 void GenerateXML(FuzzedDataProvider* stream, XMLElement* element, int maxDepth = 3) { in GenerateXML()
63 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() local
/tools/tradefederation/core/javatests/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java57 try (OutputStream stream = new FileOutputStream(protoFile)) { in dumpTestRecord()
/tools/platform-compat/java/com/android/annotationvisitor/
DJarReader.java55 public Stream<JavaClass> stream() { in stream() method in JarReader
/tools/security/fuzzing/llm/libufdt_fuzzer2/
Dlibufdt_fuzzer2.cpp18 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() local
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java59 try (InputStream stream = new FileInputStream(protoFile)) { in readFromFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceCollector.java269 try (FileInputStreamSource stream = new FileInputStreamSource(f)) { in postProcess()
270 testLog(FileUtil.getBaseName(f.getName()), type, stream); in postProcess() local

123