/external/oboe/tests/ |
D | testStreamWaitState.cpp | 34 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 …]
|
D | testStreamOpen.cpp | 40 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 …]
|
D | testStreamClosedMethods.cpp | 33 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 …]
|
D | testStreamStates.cpp | 35 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 …]
|
D | testXRunBehaviour.cpp | 35 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/ |
D | MultiReaderTest.java | 36 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();
|
D | MultiInputStreamTest.java | 53 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()
|
D | TestCharSource.java | 49 public Reader openStream() throws IOException { in openStream() method in TestCharSource 50 return new InputStreamReader(byteSource.openStream(), UTF_8); in openStream()
|
D | TestCharSink.java | 54 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/ |
D | MultiReaderTest.java | 36 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();
|
D | MultiInputStreamTest.java | 53 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()
|
D | TestCharSource.java | 49 public Reader openStream() throws IOException { in openStream() method in TestCharSource 50 return new InputStreamReader(byteSource.openStream(), UTF_8); in openStream()
|
D | TestCharSink.java | 54 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/ |
D | ByteSource.java | 90 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 …]
|
D | CharSource.java | 96 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 …]
|
D | ByteSink.java | 70 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()
|
D | CharSink.java | 64 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/ |
D | ByteSource.java | 90 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 …]
|
D | ByteSink.java | 70 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()
|
D | CharSource.java | 101 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 …]
|
D | CharSink.java | 67 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/ |
D | ReadableBuffersTest.java | 82 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/ |
D | adb_jsdomtest.ts | 76 const openStream = jest.fn(); constant 77 adb.openStream = openStream; 80 expect(openStream).toBeCalledWith('shell:test');
|
/external/oboe/src/common/ |
D | AudioStreamBuilder.cpp | 91 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/ |
D | SimpleMultiPlayer.cpp | 67 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()
|