/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalHidl.cpp | 57 mStream(stream), in StreamHalHidl() 78 if (!mStream) return NO_INIT; in getBufferSize() 79 status_t status = processReturn("getBufferSize", mStream->getBufferSize(), size); in getBufferSize() 89 if (!mStream) return NO_INIT; in getAudioProperties() 91 Return<void> ret = mStream->getAudioProperties( in getAudioProperties() 101 Return<void> ret = mStream->getAudioProperties( in getAudioProperties() 118 if (!mStream) return NO_INIT; in setParameters() 123 utils::setParameters(mStream, {} /* context */, hidlParams)); in setParameters() 129 if (!mStream) return NO_INIT; in getParameters() 135 mStream, in getParameters() [all …]
|
D | StreamHalAidl.cpp | 86 mStream(stream), in StreamHalAidl() 109 if (mStream != nullptr) { in ~StreamHalAidl() 110 ndk::ScopedAStatus status = mStream->close(); in ~StreamHalAidl() 121 !mStream) { in getBufferSize() 133 if (!mStream) return NO_INIT; in getAudioProperties() 140 if (!mStream) return NO_INIT; in setParameters() 147 return statusTFromBinderStatus(mStream->updateHwAvSyncId(hwAvSyncId)); in setParameters() 149 return parseAndSetVendorParameters(mVendorExt, mStream, parameters); in setParameters() 154 if (!mStream) return NO_INIT; in getParameters() 160 return parseAndGetVendorParameters(mVendorExt, mStream, parameterKeys, values); in getParameters() [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 | 100 if (mStream == nullptr) { in getSampleRate() 103 return AAudioStream_getSampleRate(mStream); in getSampleRate() 110 if (mStream == nullptr) { in getChannelCount() 113 return AAudioStream_getChannelCount(mStream); in getChannelCount() 144 result = AAudioStreamBuilder_openStream(builder, &mStream); 148 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); 150 AAudioStream_setBufferSizeInFrames(mStream, bufferSizeFrames); 186 result = AAudioStreamBuilder_openStream(builder, &mStream); in open() 194 if (mStream != nullptr) { in close() 195 AAudioStream_close(mStream); in close() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewHierarchyEncoder.java | 63 private final DataOutputStream mStream; field in ViewHierarchyEncoder 72 mStream = new DataOutputStream(stream); in ViewHierarchyEncoder() 160 mStream.write(SIG_MAP); in startPropertyMap() 172 mStream.write(SIG_BOOLEAN); in writeBoolean() 173 mStream.write(v ? 1 : 0); in writeBoolean() 181 mStream.write(SIG_SHORT); in writeShort() 182 mStream.writeShort(s); in writeShort() 190 mStream.write(SIG_INT); in writeInt() 191 mStream.writeInt(i); in writeInt() 199 mStream.write(SIG_FLOAT); in writeFloat() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_steal_exclusive.cpp | 128 result = AAudioStream_requestStart(mStream); in restartStream() 169 result = AAudioStreamBuilder_openStream(builder, &mStream); in openAudioStream() 178 int32_t deviceId = AAudioStream_getDeviceId(mStream); in openAudioStream() 179 sharingMode = AAudioStream_getSharingMode(mStream); in openAudioStream() 180 performanceMode = AAudioStream_getPerformanceMode(mStream); in openAudioStream() 181 isMMap = AAudioStream_isMMapUsed(mStream); in openAudioStream() 196 if (mStream != nullptr) { in closeAudioStream() 198 result = AAudioStream_close(mStream); in closeAudioStream() 204 mStream = nullptr; in closeAudioStream() 214 if (mStream == nullptr) return 0; in checkEnginePositions() [all …]
|
D | test_disconnect_race.cpp | 70 aaudio_result_t result = AAudioStream_close(mStream); // May hang here! in checkCloseJoins() 103 result = AAudioStreamBuilder_openStream(builder, &mStream); in startStreamForStall() 108 int32_t deviceId = AAudioStream_getDeviceId(mStream); in startStreamForStall() 110 actualPerfMode = AAudioStream_getPerformanceMode(mStream); in startStreamForStall() 116 result = AAudioStream_requestStart(mStream); in startStreamForStall() 163 AAudioStream* mStream = nullptr; member in AudioEngine
|
D | test_callback_race.cpp | 58 aaudio_result_t result = AAudioStream_close(mStream); // May hang here! in checkCloseJoins() 85 result = AAudioStreamBuilder_openStream(builder, &mStream); in startStreamForStall() 90 int32_t deviceId = AAudioStream_getDeviceId(mStream); in startStreamForStall() 92 actualPerfMode = AAudioStream_getPerformanceMode(mStream); in startStreamForStall() 98 result = AAudioStream_requestStart(mStream); in startStreamForStall() 140 AAudioStream* mStream = nullptr; member in AudioEngine
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | IndentingPrintWriterTest.java | 36 private ByteArrayOutputStream mStream; field in IndentingPrintWriterTest 41 mStream = new ByteArrayOutputStream(); in setUp() 42 mWriter = new PrintWriter(mStream); in setUp() 65 assertEquals("Hello\n World\n And\n Goodbye\nWorld\n", mStream.toString()); in testMultipleIndents() 77 assertEquals("Hello\n World\n", mStream.toString()); in testAdjustIndentAfterNewline() 90 assertEquals("dog cat \ncow meow ", mStream.toString()); in testWrapping() 105 assertEquals(" dog \n meow \n a b \n cow ", mStream.toString()); in testWrappingIndented() 117 + " nsectetu\n r \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingEmbeddedNewlines() 129 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingSingleGiant() 142 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingPrefixedGiant() [all …]
|
/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/com/android/internal/util/ |
D | ProcFileReader.java | 37 private final InputStream mStream; field in ProcFileReader 50 mStream = stream; in ProcFileReader() 53 mStream.mark(0); in ProcFileReader() 69 final int read = mStream.read(mBuffer, mTail, length); in fillBuf() 276 if (mStream instanceof FileInputStream) { in rewind() 277 ((FileInputStream) mStream).getChannel().position(0); in rewind() 278 } else if (mStream.markSupported()) { in rewind() 279 mStream.reset(); in rewind() 291 mStream.close(); in close()
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 29 mStream(stream), in AudioStreamInSource() 39 mStream.clear(); in ~AudioStreamInSource() 47 result = mStream->getBufferSize(&mStreamBufferSizeBytes); in negotiate() 50 result = mStream->getAudioProperties(&config); in negotiate() 62 status_t result = mStream->getInputFramesLost(&framesOverrun); in framesOverrun() 79 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() 48 result = mStream->getAudioProperties(&config); in negotiate() 72 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write() 95 if (mStream->getPresentationPosition(&position64, &time) != OK) { in getTimestamp()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 177 final int mStream; field in AudioServiceEvents.DeviceVolumeEvent 187 mStream = streamType; in DeviceVolumeEvent() 198 AudioSystem.streamToString(mStream)) in DeviceVolumeEvent() 209 .append(AudioSystem.streamToString(mStream)) in eventToString() 239 final int mStream; field in AudioServiceEvents.VolumeEvent 249 mStream = stream; in VolumeEvent() 266 mStream = stream; in VolumeEvent() 283 mStream = -1; in VolumeEvent() 296 mStream = -1; in VolumeEvent() 305 mStream = stream; in VolumeEvent() [all …]
|
/frameworks/base/services/core/jni/tvinput/ |
D | BufferProducerThread.cpp | 30 memcpy(&mStream, stream, sizeof(mStream)); in BufferProducerThread() 35 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage); in readyToRun() 39 err = native_window_set_buffers_dimensions(anw.get(), mStream.buffer_producer.width, in readyToRun() 40 mStream.buffer_producer.height); in readyToRun() 44 err = native_window_set_buffers_format(anw.get(), mStream.buffer_producer.format); in readyToRun() 62 mDevice->cancel_capture(mDevice, mDeviceId, mStream.stream_id, mSeq); in setSurfaceLocked() 141 mDevice->request_capture(mDevice, mDeviceId, mStream.stream_id, buffer->handle, ++mSeq); in threadLoop()
|
/frameworks/av/media/libstagefright/ |
D | CodecErrorLog.cpp | 28 mStream << message << std::endl; in log() 37 std::string msg = mStream.str(); in extract() 38 mStream.str(""); in extract() 44 mStream.str(""); in clear()
|
/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/android/webkit/ |
D | PluginData.java | 43 private InputStream mStream; field in PluginData 81 mStream = stream; in PluginData() 99 return mStream; in getInputStream()
|
/frameworks/base/media/jni/soundpool/ |
D | Stream.cpp | 387 __func__, mStream->getCorrespondingStreamID()); in onMoreData() 393 __func__, mStream->getCorrespondingStreamID()); in onUnderrun() 397 ALOGV("%s streamID %d EVENT_LOOP_END", __func__, mStream->getCorrespondingStreamID()); in onLoopEnd() 402 __func__, mStream->getCorrespondingStreamID()); in onMarker() 407 __func__, mStream->getCorrespondingStreamID()); in onNewPos() 411 mStream->onBufferEnd(mToggle, 0); in onBufferEnd() 415 ALOGV("%s streamID %d NEW_IAUDIOTRACK", __func__, mStream->getCorrespondingStreamID()); in onNewIAudioTrack() 420 __func__, mStream->getCorrespondingStreamID()); in onStreamEnd() 425 __func__, mStream->getCorrespondingStreamID()); in onCanWriteMoreData()
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | AudioStreamInSource.h | 54 sp<StreamInHalInterface> stream() const { return mStream; } 58 sp<StreamInHalInterface> mStream;
|
D | AudioStreamOutSink.h | 58 sp<StreamOutHalInterface> stream() const { return mStream; } 62 sp<StreamOutHalInterface> mStream;
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 193 private InputStream mStream; field in InstallationAsyncTask 399 mStream = new URL(mUrl).openStream(); in verifyAndPrepare() 404 mStream = new URL(mUrl).openStream(); in verifyAndPrepare() 407 mStream = mContext.getContentResolver().openInputStream(Uri.parse(mUrl)); in verifyAndPrepare() 538 if (mStream != null) { in installImages() 552 installImage("system", mSystemSize, new GZIPInputStream(mStream)); in installStreamingGzUpdate() 582 ZipInputStream zis = new ZipInputStream(mStream); in installStreamingZipUpdate() 789 if (mStream != null) { in close() 790 mStream.close(); in close() 791 mStream = null; in close()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 76 : mStream(stream), mEOS(false), in HeifDataSource() 107 std::unique_ptr<HeifStream> mStream; member in android::HeifDataSource 137 if (mStream->seek(offset)) { in readAt() 142 } else if (mStream->rewind()) { in readAt() 214 size_t bytesSkipped = mStream->read(nullptr, bytesToSkip); in readAt() 256 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() 282 if (!mStream->hasLength()) { in getSize() 287 *size = mStream->getLength(); in getSize()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 76 private InputStream mStream; field in ProtoInputStream 155 mStream = stream; in ProtoInputStream() 182 mStream = null; in ProtoInputStream() 770 mEnd = stringHead + mStream.read(mBuffer, stringHead, n - stringHead); 789 if (mOffset >= mEnd && mStream != null) { 793 int skipped = (int) mStream.skip((mOffset / mBufferSize) * mBufferSize); 797 mEnd = mStream.read(mBuffer);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CodecErrorLog.h | 59 std::stringstream mStream GUARDED_BY(mLock);
|