/frameworks/av/media/libnbaio/ |
D | AudioStreamOutSink.cpp | 27 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() 43 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); in negotiate() 45 (audio_channel_mask_t) mStream->common.get_channels(&mStream->common); in negotiate() 59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize); in write() 72 if (NULL == mStream) in getNextWriteTimestamp() 75 if (NULL == mStream->get_next_write_timestamp) in getNextWriteTimestamp() 78 return mStream->get_next_write_timestamp(mStream, timestamp); in getNextWriteTimestamp() 83 if (mStream->get_presentation_position == NULL) { in getTimestamp() [all …]
|
D | AudioStreamInSource.cpp | 28 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() 46 uint32_t sampleRate = mStream->common.get_sample_rate(&mStream->common); in negotiate() 48 (audio_channel_mask_t) mStream->common.get_channels(&mStream->common); in negotiate() 58 uint32_t framesOverrun = mStream->get_input_frames_lost(mStream); in framesOverrun() 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize); in read()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | IndentingPrintWriterTest.java | 29 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/tools/aapt/ |
D | IndentPrinter.h | 7 : mStream(stream) in mStream() function 24 vfprintf(mStream, fmt, args); in print() 32 vfprintf(mStream, fmt, args); in println() 34 fputs("\n", mStream); in println() 40 fputs("\n", mStream); in println() 49 fputs(" ", mStream); in doIndent() 56 FILE* mStream; variable
|
/frameworks/base/core/java/android/webkit/ |
D | PluginData.java | 40 private InputStream mStream; field in PluginData 77 mStream = stream; in PluginData() 94 return mStream; in getInputStream()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 35 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/ |
D | gltrace_context.cpp | 61 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()
|
D | gltrace_transport.cpp | 142 mStream = stream; in BufferedOutputStream() 154 int n = mStream->send((void *)mStringBuffer.data(), mStringBuffer.size()); in flush()
|
D | gltrace_transport.h | 57 TCPStream *mStream; variable
|
D | gltrace_context.h | 97 TCPStream *mStream; variable
|
/frameworks/av/include/media/nbaio/ |
D | AudioStreamOutSink.h | 60 audio_stream_out *stream() const { return mStream; } 64 audio_stream_out * const mStream;
|
D | AudioStreamInSource.h | 53 audio_stream_in *stream() const { return mStream; } 57 audio_stream_in * const mStream;
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyService.cpp | 403 data->mType, data->mStream); in threadLoop() 405 mpToneGenerator = new ToneGenerator(data->mStream, 1.0); in threadLoop() 422 volume %f, output %d", data->mStream, data->mVolume, data->mIO); in threadLoop() 423 command->mStatus = AudioSystem::setStreamVolume(data->mStream, in threadLoop() 448 svc->doStopOutput(data->mIO, data->mStream, data->mSession); in threadLoop() 460 svc->doReleaseOutput(data->mIO, data->mStream, data->mSession); in threadLoop() 595 data->mStream = stream; in startToneCommand() 617 data->mStream = stream; in volumeCommand() 663 data->mStream = stream; in stopOutputCommand() 678 data->mStream = stream; in releaseOutputCommand() [all …]
|
D | AudioPolicyService.h | 312 audio_stream_type_t mStream; // stream type (START_TONE only) variable 317 audio_stream_type_t mStream; 336 audio_stream_type_t mStream; variable 343 audio_stream_type_t mStream; variable
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 90 tv_stream_t mStream; member in android::BufferProducerThread 114 memcpy(&mStream, stream, sizeof(mStream)); in BufferProducerThread() 119 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage); in readyToRun() 124 anw.get(), mStream.buffer_producer.width, mStream.buffer_producer.height); in readyToRun() 128 err = native_window_set_buffers_format(anw.get(), mStream.buffer_producer.format); in readyToRun() 146 mDevice->cancel_capture(mDevice, mDeviceId, mStream.stream_id, mSeq); in setSurfaceLocked() 225 mDevice->request_capture(mDevice, mDeviceId, mStream.stream_id, in threadLoop()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 259 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()
|