Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libnbaio/
DAudioStreamOutSink.cpp27 mStream(stream), in AudioStreamOutSink()
41 mStreamBufferSizeBytes = mStream->common.get_buffer_size(&mStream->common); in negotiate()
42 audio_format_t streamFormat = mStream->common.get_format(&mStream->common); in negotiate()
44 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); in negotiate()
46 (audio_channel_mask_t) mStream->common.get_channels(&mStream->common); in negotiate()
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift); in write()
73 if (NULL == mStream) in getNextWriteTimestamp()
76 if (NULL == mStream->get_next_write_timestamp) in getNextWriteTimestamp()
79 return mStream->get_next_write_timestamp(mStream, timestamp); in getNextWriteTimestamp()
84 if (mStream->get_presentation_position == NULL) { in getTimestamp()
[all …]
DAudioStreamInSource.cpp28 mStream(stream), in AudioStreamInSource()
44 mStreamBufferSizeBytes = mStream->common.get_buffer_size(&mStream->common); in negotiate()
45 audio_format_t streamFormat = mStream->common.get_format(&mStream->common); in negotiate()
47 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); in negotiate()
49 (audio_channel_mask_t) mStream->common.get_channels(&mStream->common); in negotiate()
59 uint32_t framesOverrun = mStream->get_input_frames_lost(mStream); in framesOverrun()
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift); in read()
/frameworks/base/media/tests/omxjpegdecoder/
DStreamSource.cpp24 : mStream(stream) { in StreamSource()
30 delete mStream; in ~StreamSource()
31 mStream = NULL; in ~StreamSource()
35 return mStream != NULL ? OK : NO_INIT; in initCheck()
41 mStream->rewind(); in readAt()
42 mStream->skip(offset); in readAt()
43 ssize_t result = mStream->read(data, size); in readAt()
DStreamSource.h42 SkStream *mStream;
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DIndentingPrintWriterTest.java29 private ByteArrayOutputStream mStream; field in IndentingPrintWriterTest
36 mStream = new ByteArrayOutputStream(); in setUp()
37 mWriter = new PrintWriter(mStream); in setUp()
59 assertEquals("Hello\n World\n And\n Goodbye\nWorld\n", mStream.toString()); in testMultipleIndents()
70 assertEquals("Hello\n World\n", mStream.toString()); in testAdjustIndentAfterNewline()
82 assertEquals("dog cat \ncow meow ", mStream.toString()); in testWrapping()
96 assertEquals(" dog \n meow \n a b \n cow ", mStream.toString()); in testWrappingIndented()
107 + " nsectetu\n r \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingEmbeddedNewlines()
118 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingSingleGiant()
130 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingPrefixedGiant()
/frameworks/base/core/java/android/webkit/
DPluginData.java40 private InputStream mStream; field in PluginData
77 mStream = stream; in PluginData()
94 return mStream; in getInputStream()
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java35 private final InputStream mStream; field in ProcFileReader
48 mStream = stream; in ProcFileReader()
64 final int read = mStream.read(mBuffer, mTail, length); in fillBuf()
231 mStream.close(); in close()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_context.cpp61 mStream = stream; in GLTraceState()
70 if (mStream) { in ~GLTraceState()
71 mStream->closeStream(); in ~GLTraceState()
72 mStream = NULL; in ~GLTraceState()
77 return mStream; in getStream()
121 BufferedOutputStream *stream = new BufferedOutputStream(mStream, DEFAULT_BUFFER_SIZE); in createTraceContext()
Dgltrace_transport.cpp142 mStream = stream; in BufferedOutputStream()
154 int n = mStream->send((void *)mStringBuffer.data(), mStringBuffer.size()); in flush()
Dgltrace_transport.h57 TCPStream *mStream; variable
Dgltrace_context.h89 TCPStream *mStream; variable
/frameworks/av/include/media/nbaio/
DAudioStreamOutSink.h60 audio_stream_out *stream() const { return mStream; }
64 audio_stream_out * const mStream;
DAudioStreamInSource.h53 audio_stream_in *stream() const { return mStream; }
57 audio_stream_in * const mStream;
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java259 private final ByteArrayOutputStream mStream; field in UiAutomatorTestRunner.WatcherResultPrinter
267 mStream = new ByteArrayOutputStream(); in WatcherResultPrinter()
268 mWriter = new PrintStream(mStream); in WatcherResultPrinter()
354 mStream.toString())); in print()
/frameworks/av/services/audioflinger/
DAudioPolicyService.h220 audio_stream_type_t mStream; // stream type (START_TONE only) variable
225 audio_stream_type_t mStream;
244 audio_stream_type_t mStream; variable
DAudioPolicyService.cpp710 data->mType, data->mStream); in threadLoop()
712 mpToneGenerator = new ToneGenerator(data->mStream, 1.0); in threadLoop()
730 volume %f, output %d", data->mStream, data->mVolume, data->mIO); in threadLoop()
731 command->mStatus = AudioSystem::setStreamVolume(data->mStream, in threadLoop()
771 svc->doStopOutput(data->mIO, data->mStream, data->mSession); in threadLoop()
851 data->mStream = stream; in startToneCommand()
880 data->mStream = stream; in volumeCommand()
951 data->mStream = stream; in stopOutputCommand()
1033 if (data->mStream != data2->mStream) break; in insertCommand_l()
1035 data->mIO, data->mStream); in insertCommand_l()