/frameworks/av/media/libaudiohal/ |
D | StreamHalLocal.cpp | 30 : mDevice(device), mStream(stream) { in StreamHalLocal() 34 mStream = 0; in ~StreamHalLocal() 39 *rate = mStream->get_sample_rate(mStream); in getSampleRate() 44 *size = mStream->get_buffer_size(mStream); in getBufferSize() 49 *mask = mStream->get_channels(mStream); in getChannelMask() 54 *format = mStream->get_format(mStream); in getFormat() 60 *sampleRate = mStream->get_sample_rate(mStream); in getAudioProperties() 61 *mask = mStream->get_channels(mStream); in getAudioProperties() 62 *format = mStream->get_format(mStream); in getAudioProperties() 67 return mStream->set_parameters(mStream, kvPairs.string()); in setParameters() [all …]
|
D | StreamHalHidl.cpp | 49 mStream(stream), in StreamHalHidl() 54 mStream = nullptr; in ~StreamHalHidl() 58 if (!mStream) return NO_INIT; in getSampleRate() 59 return processReturn("getSampleRate", mStream->getSampleRate(), rate); in getSampleRate() 63 if (!mStream) return NO_INIT; in getBufferSize() 64 return processReturn("getBufferSize", mStream->getBufferSize(), size); in getBufferSize() 68 if (!mStream) return NO_INIT; in getChannelMask() 69 return processReturn("getChannelMask", mStream->getChannelMask(), mask); in getChannelMask() 73 if (!mStream) return NO_INIT; in getFormat() 74 return processReturn("getFormat", mStream->getFormat(), format); in getFormat() [all …]
|
D | StreamHalLocal.h | 87 audio_stream_t *mStream; 149 audio_stream_out_t *mStream; 194 audio_stream_in_t *mStream;
|
D | StreamHalHidl.h | 108 IStream *mStream; variable 169 sp<IStreamOut> mStream; variable 212 sp<IStreamIn> mStream; variable
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 58 if (mStream == nullptr) { in getFramesPerSecond() 61 return AAudioStream_getSampleRate(mStream);; in getFramesPerSecond() 68 if (mStream == nullptr) { in getSamplesPerFrame() 71 return AAudioStream_getSamplesPerFrame(mStream);; in getSamplesPerFrame() 77 if (mStream == nullptr) { in getFramesRead() 80 return AAudioStream_getFramesRead(mStream);; in getFramesRead() 109 result = AAudioStreamBuilder_openStream(mBuilder, &mStream); in open() 117 AAudioStream_getFramesPerBurst(mStream)); in open() 119 AAudioStream_getBufferSizeInFrames(mStream)); in open() 121 AAudioStream_getBufferCapacityInFrames(mStream)); in open() [all …]
|
D | AAudioSimplePlayer.h | 63 if (mStream == nullptr) { in getFramesPerSecond() 66 return AAudioStream_getSampleRate(mStream);; in getFramesPerSecond() 73 if (mStream == nullptr) { in getChannelCount() 76 return AAudioStream_getChannelCount(mStream);; in getChannelCount() 112 result = AAudioStreamBuilder_openStream(mBuilder, &mStream); in open() 116 AAudioStream_getFramesPerBurst(mStream)); in open() 118 AAudioStream_getBufferSizeInFrames(mStream)); in open() 120 AAudioStream_getBufferCapacityInFrames(mStream)); in open() 122 AAudioStream_getPerformanceMode(mStream), perfMode); in open() 131 if (mStream != nullptr) { in close() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewHierarchyEncoder.java | 62 private final DataOutputStream mStream; field in ViewHierarchyEncoder 69 mStream = new DataOutputStream(stream); in ViewHierarchyEncoder() 138 mStream.write(SIG_MAP); in startPropertyMap() 150 mStream.write(SIG_BOOLEAN); in writeBoolean() 151 mStream.write(v ? 1 : 0); in writeBoolean() 159 mStream.write(SIG_SHORT); in writeShort() 160 mStream.writeShort(s); in writeShort() 168 mStream.write(SIG_INT); in writeInt() 169 mStream.writeInt(i); in writeInt() 177 mStream.write(SIG_FLOAT); in writeFloat() [all …]
|
/frameworks/base/core/tests/utiltests/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/rs/rsov/compiler/spirit/ |
D | transformer.cpp | 36 mStream = mStreamFunctions.get(); in runAndSerialize() 48 mStream = mStreamFinal.get(); in runAndSerialize() 51 m->SerializeHeader(*mStream); in runAndSerialize() 54 auto output = mStream->getWords(); in runAndSerialize() 67 inst->Serialize(*mStream); in insert()
|
D | transformer.h | 70 transformed->Serialize(*mStream); \ 82 WordStream *mStream; variable
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 29 mStream(stream), in AudioStreamInSource() 39 mStream.clear(); in ~AudioStreamInSource() 47 result = mStream->getBufferSize(&mStreamBufferSizeBytes); in negotiate() 52 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat); in negotiate() 64 status_t result = mStream->getInputFramesLost(&framesOverrun); in framesOverrun() 81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead); in read()
|
D | AudioStreamOutSink.cpp | 28 mStream(stream), in AudioStreamOutSink() 36 mStream.clear(); in ~AudioStreamOutSink() 44 result = mStream->getBufferSize(&mStreamBufferSizeBytes); in negotiate() 49 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat); in negotiate() 65 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write() 81 if (mStream->getPresentationPosition(&position64, &time) != OK) { in getTimestamp()
|
/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/av/media/libnbaio/include/ |
D | AudioStreamOutSink.h | 56 sp<StreamOutHalInterface> stream() const { return mStream; } 60 sp<StreamOutHalInterface> mStream;
|
D | AudioStreamInSource.h | 54 sp<StreamInHalInterface> stream() const { return mStream; } 58 sp<StreamInHalInterface> mStream;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 415 data->mType, data->mStream); in threadLoop() 417 mpToneGenerator = new ToneGenerator(data->mStream, 1.0); in threadLoop() 434 volume %f, output %d", data->mStream, data->mVolume, data->mIO); in threadLoop() 435 command->mStatus = AudioSystem::setStreamVolume(data->mStream, in threadLoop() 460 svc->doStopOutput(data->mIO, data->mStream, data->mSession); in threadLoop() 472 svc->doReleaseOutput(data->mIO, data->mStream, data->mSession); in threadLoop() 644 data->mStream = stream; in startToneCommand() 666 data->mStream = stream; in volumeCommand() 712 data->mStream = stream; in stopOutputCommand() 727 data->mStream = stream; in releaseOutputCommand() [all …]
|
D | AudioPolicyService.h | 344 audio_stream_type_t mStream; // stream type (START_TONE only) variable 349 audio_stream_type_t mStream; 368 audio_stream_type_t mStream; variable 375 audio_stream_type_t mStream; variable
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 108 tv_stream_t mStream; member in android::BufferProducerThread 132 memcpy(&mStream, stream, sizeof(mStream)); in BufferProducerThread() 137 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage); in readyToRun() 142 anw.get(), mStream.buffer_producer.width, mStream.buffer_producer.height); in readyToRun() 146 err = native_window_set_buffers_format(anw.get(), mStream.buffer_producer.format); in readyToRun() 164 mDevice->cancel_capture(mDevice, mDeviceId, mStream.stream_id, mSeq); in setSurfaceLocked() 243 mDevice->request_capture(mDevice, mDeviceId, mStream.stream_id, in threadLoop()
|
/frameworks/base/media/jni/ |
D | android_media_Utils.h | 36 SkStream *mStream; 55 SkStream *mStream;
|
D | android_media_Utils.cpp | 34 : mStream(stream), mPosition(0) { in AssetStream() 44 if (!mStream->seek(offset)) { in GetData() 50 size_t size = mStream->read((void*)data, length); in GetData() 57 : mStream(stream) { in BufferedStream() 77 size_t bytesRead = mStream->read(tempBuffer, sizeToRead); in GetData()
|
/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()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LineBreakBufferedWriterTest.java | 34 private ByteArrayOutputStream mStream; field in LineBreakBufferedWriterTest
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 188 private OutputStream mStream; field in ProtoOutputStream 247 mStream = stream; in ProtoOutputStream() 2619 if (mStream == null) { in flush() 2634 mStream.write(data); in flush() 2635 mStream.flush(); in flush()
|