Home
last modified time | relevance | path

Searched refs:openStream (Results 1 – 25 of 154) sorted by relevance

1234567

/external/oboe/tests/
DtestStreamWaitState.cpp34 bool openStream(Direction direction, PerformanceMode perfMode) { in openStream() function in TestStreamWaitState
37 Result r = mBuilder.openStream(&mStream); in openStream()
47 bool openStream(AudioStreamBuilder &builder) { in openStream() function in TestStreamWaitState
48 Result r = builder.openStream(&mStream); in openStream()
125 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::LowLatency)); in TEST_F()
131 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::None)); in TEST_F()
140 ASSERT_TRUE(openStream(builder)); in TEST_F()
149 ASSERT_TRUE(openStream(builder)); in TEST_F()
156 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::LowLatency)); in TEST_F()
162 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::None)); in TEST_F()
[all …]
DtestStreamOpen.cpp40 bool openStream() { in openStream() function in StreamOpen
41 Result r = mBuilder.openStream(&mStream); in openStream()
65 ASSERT_TRUE(openStream()); in checkSampleRateConversionAdvancing()
96 ASSERT_TRUE(openStream()); in TEST_F()
107 ASSERT_TRUE(openStream()); in TEST_F()
116 ASSERT_TRUE(openStream()); in TEST_F()
127 ASSERT_TRUE(openStream()); in TEST_F()
138 ASSERT_TRUE(openStream()); in TEST_F()
147 Result r = mBuilder.openStream(&mStream); in TEST_F()
159 Result r = mBuilder.openStream(&mStream); in TEST_F()
[all …]
DtestStreamClosedMethods.cpp33 bool openStream() { in openStream() function in StreamClosedReturnValues
34 Result r = mBuilder.openStream(&mStream); in openStream()
46 if (!openStream() || !closeStream()) in openAndCloseStream()
97 ASSERT_TRUE(openStream()); in TEST_F()
105 ASSERT_TRUE(openStream()); in TEST_F()
113 ASSERT_TRUE(openStream()); in TEST_F()
121 ASSERT_TRUE(openStream()); in TEST_F()
129 ASSERT_TRUE(openStream()); in TEST_F()
146 ASSERT_TRUE(openStream()); in TEST_F()
153 ASSERT_TRUE(openStream()); in TEST_F()
[all …]
DtestStreamStates.cpp35 bool openStream(Direction direction) { in openStream() function in StreamStates
38 Result r = mBuilder.openStream(&mStream); in openStream()
48 bool openStream() { in openStream() function in StreamStates
49 return openStream(Direction::Output); in openStream()
53 return openStream(Direction::Input); in openInputStream()
63 ASSERT_TRUE(openStream(direction)); in checkStreamStateIsStartedAfterStartingTwice()
84 ASSERT_TRUE(openStream(direction)); in checkStreamStateIsStoppedAfterStoppingTwice()
108 ASSERT_TRUE(openStream(direction)); in checkStreamLeftRunningShouldNotInterfereWithNextOpen()
134 ASSERT_TRUE(openStream()); in TEST_F()
144 ASSERT_TRUE(openStream()); in TEST_F()
[all …]
DtestXRunBehaviour.cpp35 bool openStream() { in openStream() function in XRunBehaviour
36 Result r = mBuilder.openStream(&mStream); in openStream()
56 ASSERT_TRUE(openStream()); in TEST_F()
67 ASSERT_TRUE(openStream()); in TEST_F()
76 ASSERT_TRUE(openStream()); in TEST_F()
/external/guava/android/guava-tests/test/com/google/common/io/
DMultiReaderTest.java36 public Reader openStream() throws IOException { in testOnlyOneOpen()
40 return new FilterReader(source.openStream()) { in testOnlyOneOpen()
49 Reader joinedReader = CharSource.concat(reader, reader, reader).openStream(); in testOnlyOneOpen()
57 Reader joinedReader = CharSource.concat(list).openStream(); in testReady()
69 Reader joinedReader = CharSource.concat(source, source).openStream(); in testSimple()
78 public Reader openStream() { in newCharSource()
87 Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
103 Reader joinedReader = CharSource.concat(list).openStream();
DMultiInputStreamTest.java53 public InputStream openStream() throws IOException { in testOnlyOneOpen()
57 return new FilterInputStream(source.openStream()) { in testOnlyOneOpen()
85 InputStream in = joined.openStream(); in testReadSingleByte()
103 public InputStream openStream() { in testSkip()
139 public InputStream openStream() { in newByteSource()
DTestCharSource.java49 public Reader openStream() throws IOException { in openStream() method in TestCharSource
50 return new InputStreamReader(byteSource.openStream(), UTF_8); in openStream()
DTestCharSink.java54 public Writer openStream() throws IOException { in openStream() method in TestCharSink
56 return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { in openStream()
/external/guava/guava-tests/test/com/google/common/io/
DMultiReaderTest.java36 public Reader openStream() throws IOException { in testOnlyOneOpen()
40 return new FilterReader(source.openStream()) { in testOnlyOneOpen()
49 Reader joinedReader = CharSource.concat(reader, reader, reader).openStream(); in testOnlyOneOpen()
57 Reader joinedReader = CharSource.concat(list).openStream(); in testReady()
69 Reader joinedReader = CharSource.concat(source, source).openStream(); in testSimple()
78 public Reader openStream() { in newCharSource()
87 Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
103 Reader joinedReader = CharSource.concat(list).openStream();
DMultiInputStreamTest.java53 public InputStream openStream() throws IOException { in testOnlyOneOpen()
57 return new FilterInputStream(source.openStream()) { in testOnlyOneOpen()
85 InputStream in = joined.openStream(); in testReadSingleByte()
103 public InputStream openStream() { in testSkip()
139 public InputStream openStream() { in newByteSource()
DTestCharSource.java49 public Reader openStream() throws IOException { in openStream() method in TestCharSource
50 return new InputStreamReader(byteSource.openStream(), UTF_8); in openStream()
DTestCharSink.java54 public Writer openStream() throws IOException { in openStream() method in TestCharSink
56 return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { in openStream()
/external/guava/android/guava/src/com/google/common/io/
DByteSource.java90 public abstract InputStream openStream() throws IOException; in openStream() method in ByteSource
105 InputStream in = openStream(); in openBufferedStream()
144 InputStream in = closer.register(openStream()); in isEmpty()
199 InputStream in = closer.register(openStream()); in size()
209 InputStream in = closer.register(openStream()); in size()
242 InputStream in = closer.register(openStream()); in copyTo()
264 InputStream in = closer.register(openStream()); in copyTo()
265 OutputStream out = closer.register(sink.openStream()); in copyTo()
282 InputStream in = closer.register(openStream()); in read()
310 InputStream in = closer.register(openStream()); in read()
[all …]
DCharSource.java96 public abstract Reader openStream() throws IOException; in openStream() method in CharSource
107 Reader reader = openStream(); in openBufferedStream()
160 Reader reader = closer.register(openStream()); in length()
192 Reader reader = closer.register(openStream()); in copyTo()
214 Reader reader = closer.register(openStream()); in copyTo()
215 Writer writer = closer.register(sink.openStream()); in copyTo()
232 Reader reader = closer.register(openStream()); in read()
313 Reader reader = closer.register(openStream()); in readLines()
341 Reader reader = closer.register(openStream()); in isEmpty()
443 public InputStream openStream() throws IOException { in openStream() method in CharSource.AsByteSource
[all …]
DByteSink.java70 public abstract OutputStream openStream() throws IOException; in openStream() method in ByteSink
85 OutputStream out = openStream(); in openBufferedStream()
101 OutputStream out = closer.register(openStream()); in write()
124 OutputStream out = closer.register(openStream()); in writeFrom()
148 public Writer openStream() throws IOException { in openStream() method in ByteSink.AsCharSink
149 return new OutputStreamWriter(ByteSink.this.openStream(), charset); in openStream()
DCharSink.java64 public abstract Writer openStream() throws IOException; in openStream() method in CharSink
78 Writer writer = openStream(); in openBufferedStream()
94 Writer out = closer.register(openStream()); in write()
154 Writer out = closer.register(openStream()); in writeFrom()
/external/guava/guava/src/com/google/common/io/
DByteSource.java90 public abstract InputStream openStream() throws IOException; in openStream() method in ByteSource
105 InputStream in = openStream(); in openBufferedStream()
144 InputStream in = closer.register(openStream()); in isEmpty()
199 InputStream in = closer.register(openStream()); in size()
209 InputStream in = closer.register(openStream()); in size()
242 InputStream in = closer.register(openStream()); in copyTo()
264 InputStream in = closer.register(openStream()); in copyTo()
265 OutputStream out = closer.register(sink.openStream()); in copyTo()
282 InputStream in = closer.register(openStream()); in read()
310 InputStream in = closer.register(openStream()); in read()
[all …]
DByteSink.java70 public abstract OutputStream openStream() throws IOException; in openStream() method in ByteSink
85 OutputStream out = openStream(); in openBufferedStream()
101 OutputStream out = closer.register(openStream()); in write()
124 OutputStream out = closer.register(openStream()); in writeFrom()
148 public Writer openStream() throws IOException { in openStream() method in ByteSink.AsCharSink
149 return new OutputStreamWriter(ByteSink.this.openStream(), charset); in openStream()
DCharSource.java101 public abstract Reader openStream() throws IOException; in openStream() method in CharSource
112 Reader reader = openStream(); in openBufferedStream()
207 Reader reader = closer.register(openStream());
239 Reader reader = closer.register(openStream());
261 Reader reader = closer.register(openStream());
262 Writer writer = closer.register(sink.openStream());
279 Reader reader = closer.register(openStream());
359 Reader reader = closer.register(openStream());
410 Reader reader = closer.register(openStream());
512 public InputStream openStream() throws IOException {
[all …]
DCharSink.java67 public abstract Writer openStream() throws IOException; in openStream() method in CharSink
81 Writer writer = openStream(); in openBufferedStream()
97 Writer out = closer.register(openStream()); in write()
180 Writer out = closer.register(openStream()); in writeFrom()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DReadableBuffersTest.java82 InputStream stream = ReadableBuffers.openStream(buffer, false); in openStream_ignoresClose()
90 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_available_returnsReadableBytes()
101 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_returnsUnsignedByte()
108 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_writes()
118 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_writesPartially()
127 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_close_closesBuffer()
/external/perfetto/ui/src/controller/
Dadb_jsdomtest.ts76 const openStream = jest.fn(); constant
77 adb.openStream = openStream;
80 expect(openStream).toBeCalledWith('shell:test');
/external/oboe/src/common/
DAudioStreamBuilder.cpp91 Result AudioStreamBuilder::openStream(AudioStream **streamPP) { in openStream() function in oboe::AudioStreamBuilder
114 result = childBuilder.openStream(&tempStream); in openStream()
210 result = openStream(&streamptr); in openManagedStream()
215 Result AudioStreamBuilder::openStream(std::shared_ptr<AudioStream> &sharedStream) { in openStream() function in oboe::AudioStreamBuilder
222 result = openStream(&streamptr); in openStream()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp67 if (openStream() && startStream()) { in onErrorAfterClose()
76 bool SimpleMultiPlayer::openStream() { in openStream() function in iolib::SimpleMultiPlayer
88 Result result = builder.openStream(mAudioStream); in openStream()
131 openStream(); in setupAudioStream()

1234567