/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalLocal.cpp | 33 mStream(stream) { in StreamHalLocal() 36 if (mStream != nullptr /* && mStreamPowerLog.isUserDebugOrEngBuild() */) { in StreamHalLocal() 37 mStreamPowerLog.init(mStream->get_sample_rate(mStream), in StreamHalLocal() 38 mStream->get_channels(mStream), in StreamHalLocal() 39 mStream->get_format(mStream)); in StreamHalLocal() 44 mStream = 0; in ~StreamHalLocal() 49 *rate = mStream->get_sample_rate(mStream); in getSampleRate() 54 *size = mStream->get_buffer_size(mStream); in getBufferSize() 59 *mask = mStream->get_channels(mStream); in getChannelMask() 64 *format = mStream->get_format(mStream); in getFormat() [all …]
|
D | StreamHalHidl.cpp | 46 mStream(stream), in StreamHalHidl() 52 if (mStream != nullptr /* && mStreamPowerLog.isUserDebugOrEngBuild() */) { in StreamHalHidl() 54 Return<void> ret = mStream->getAudioProperties( in StreamHalHidl() 64 mStream = nullptr; in ~StreamHalHidl() 68 if (!mStream) return NO_INIT; in getSampleRate() 69 return processReturn("getSampleRate", mStream->getSampleRate(), rate); in getSampleRate() 73 if (!mStream) return NO_INIT; in getBufferSize() 74 status_t status = processReturn("getBufferSize", mStream->getBufferSize(), size); in getBufferSize() 82 if (!mStream) return NO_INIT; in getChannelMask() 83 return processReturn("getChannelMask", mStream->getChannelMask(), mask); in getChannelMask() [all …]
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 67 if (mStream == nullptr) { in getSampleRate() 70 return AAudioStream_getSampleRate(mStream); in getSampleRate() 77 if (mStream == nullptr) { in getChannelCount() 80 return AAudioStream_getChannelCount(mStream);; in getChannelCount() 94 if (mStream == nullptr) { in getFramesRead() 97 return AAudioStream_getFramesRead(mStream); in getFramesRead() 123 result = AAudioStreamBuilder_openStream(builder, &mStream); 132 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); 133 AAudioStream_setBufferSizeInFrames(mStream, sizeInBursts * framesPerBurst); 169 result = AAudioStreamBuilder_openStream(builder, &mStream); in open() [all …]
|
D | AAudioSimplePlayer.h | 75 if (mStream == nullptr) { in getSampleRate() 78 return AAudioStream_getSampleRate(mStream); in getSampleRate() 85 if (mStream == nullptr) { in getChannelCount() 88 return AAudioStream_getChannelCount(mStream); in getChannelCount() 119 result = AAudioStreamBuilder_openStream(builder, &mStream); 123 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); 125 AAudioStream_setBufferSizeInFrames(mStream, bufferSizeFrames); 161 result = AAudioStreamBuilder_openStream(builder, &mStream); in open() 169 if (mStream != nullptr) { in close() 170 AAudioStream_close(mStream); in close() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewHierarchyEncoder.java | 63 private final DataOutputStream mStream; field in ViewHierarchyEncoder 70 mStream = new DataOutputStream(stream); in ViewHierarchyEncoder() 143 mStream.write(SIG_MAP); in startPropertyMap() 155 mStream.write(SIG_BOOLEAN); in writeBoolean() 156 mStream.write(v ? 1 : 0); in writeBoolean() 164 mStream.write(SIG_SHORT); in writeShort() 165 mStream.writeShort(s); in writeShort() 173 mStream.write(SIG_INT); in writeInt() 174 mStream.writeInt(i); in writeInt() 182 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/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 102 final int mStream; field in AudioServiceEvents.VolumeEvent 113 mStream = stream; in VolumeEvent() 125 mStream = -1; in VolumeEvent() 135 mStream = -1; in VolumeEvent() 142 mStream = stream; in VolumeEvent() 152 mStream = stream; in VolumeEvent() 164 .append(AudioSystem.streamToString(mStream)) in eventToString() 171 .append(AudioSystem.streamToString(mStream)) in eventToString() 178 .append(AudioSystem.streamToString(mStream)) in eventToString() 194 .append(AudioSystem.streamToString(mStream)) in eventToString() [all …]
|
/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 | 29 mStream(stream), in AudioStreamOutSink() 37 mStream.clear(); in ~AudioStreamOutSink() 45 result = mStream->getBufferSize(&mStreamBufferSizeBytes); in negotiate() 50 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat); in negotiate() 66 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write() 82 if (mStream->getPresentationPosition(&position64, &time) != OK) { in getTimestamp()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 71 private InputStream mStream; field in InstallationAsyncTask 141 while ((numBytesRead = mStream.read(bytes, 0, READ_BUFFER_SIZE)) != -1) { in doInBackground() 203 mStream = new BufferedInputStream(new GZIPInputStream(new URL(mUrl).openStream())); in initInputStream() 206 mStream = new BufferedInputStream(new GZIPInputStream( in initInputStream() 216 if (mStream != null) { in close() 217 mStream.close(); in close() 218 mStream = null; in close()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 47 androidAa.push_back({attr.mVolumeGroup, attr.mStream, attr.mAttributes}); in listAudioAttributes() 78 return iter != end(mAttributesVector) ? iter->mStream : AUDIO_STREAM_DEFAULT; in getStreamTypeForAttributes() 85 return supportedAttr.mStream == streamType; }); in getAttributesForStreamType() 99 if (std::find(begin(streams), end(streams), supportedAttr.mStream) == end(streams) && in getSupportedStreams() 100 supportedAttr.mStream != AUDIO_STREAM_DEFAULT) { in getSupportedStreams() 101 streams.push_back(supportedAttr.mStream); in getSupportedStreams() 111 return supportedAttr.mStream == streamType; }) != end(mAttributesVector); in supportStreamType() 127 if (supportedAttr.mStream == stream) { in getVolumeGroupForStreamType() 153 android::toString(attr.mStream).c_str()); in dump()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginData.java | 41 private InputStream mStream; field in PluginData 79 mStream = stream; in PluginData() 97 return mStream; in getInputStream()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | BatteryStatsReader.java | 47 final InputStream mStream; field in BatteryStatsReader.Parser 55 mStream = stream; in Parser() 64 mBs = RawBatteryStats.parse(mStream); in parse()
|
/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/libheif/ |
D | HeifDecoderImpl.cpp | 53 : mStream(stream), mEOS(false), in HeifDataSource() 87 std::unique_ptr<HeifStream> mStream; member in android::HeifDataSource 117 if (mStream->seek(offset)) { in readAt() 122 } else if (mStream->rewind()) { in readAt() 194 size_t bytesSkipped = mStream->read(nullptr, bytesToSkip); in readAt() 236 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() 262 if (!mStream->hasLength()) { in getSize() 267 *size = mStream->getLength(); in getSize()
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
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/include/media/nbaio/ |
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/ml/nn/common/ |
D | GraphDump.cpp | 48 Dumper(std::ostream* outStream) : mStream(outStream) { } in Dumper() 62 if (mStream) { in operator <<() 63 *mStream << mStringStream.str() << std::endl; in operator <<() 83 std::ostream* mStream; member in android::nn::__anonbb80a43c0111::Dumper
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 72 private InputStream mStream; field in ProtoInputStream 151 mStream = stream; in ProtoInputStream() 178 mStream = null; in ProtoInputStream() 746 mEnd = stringHead + mStream.read(mBuffer, stringHead, n - stringHead); in readRawString() 765 if (mOffset >= mEnd && mStream != null) { in fillBuffer() 769 int skipped = (int) mStream.skip((mOffset / mBufferSize) * mBufferSize); in fillBuffer() 773 mEnd = mStream.read(mBuffer); in fillBuffer()
|
/frameworks/base/media/jni/ |
D | android_media_Streams.h | 35 SkStream *mStream; 54 SkStream *mStream;
|