/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | SingleStreamDiffScriptWriter.java | 38 private int mBufferSize = 0; field in SingleStreamDiffScriptWriter 55 mByteBuffer[mBufferSize++] = b; in writeByte() 56 if (mBufferSize == mMaxNewByteChunkSize) { in writeByte() 65 if (mBufferSize != 0) { in writeChunk() 80 Preconditions.checkState(!(mBufferSize != 0 && mReusableChunk != null)); in flush() 81 if (mBufferSize != 0) { in flush() 91 mOutputStream.write(Integer.toString(mBufferSize).getBytes(UTF_8)); in writeByteBuffer() 93 mOutputStream.write(mByteBuffer, 0, mBufferSize); in writeByteBuffer() 95 mBufferSize = 0; in writeByteBuffer()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectBufferHalHidl.cpp | 59 : mBufferSize(size), mFrameCountChanged(false), in EffectBufferHalHidl() 76 mBufferSize, in init() 95 ALOGE("Failed to allocate %d bytes from ashmem", (int)mBufferSize); in init() 125 update(mBufferSize); in update() 129 commit(mBufferSize); in commit() 135 if (size > mBufferSize) size = mBufferSize; in update() 142 if (size > mBufferSize) size = mBufferSize; in commit()
|
D | EffectBufferHalHidl.h | 44 virtual size_t getSize() const override { return mBufferSize; } in getSize() 62 const size_t mBufferSize; variable
|
/frameworks/av/media/mtp/ |
D | MtpPacket.cpp | 33 mBufferSize(bufferSize), in MtpPacket() 52 memset(mBuffer, 0, mBufferSize); in reset() 56 if (length > mBufferSize) { in allocate() 63 mBufferSize = newLength; in allocate()
|
D | MtpResponsePacket.cpp | 50 request->buffer_length = mBufferSize; in read()
|
D | MtpRequestPacket.cpp | 41 int ret = h->read(mBuffer, mBufferSize); in read()
|
D | MtpEventPacket.cpp | 55 request->buffer_length = mBufferSize; in sendRequest()
|
D | MtpPacket.h | 35 size_t mBufferSize; variable
|
D | MtpDataPacket.cpp | 476 request->buffer_length = mBufferSize; in read()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 119 private final int mBufferSize; field in ProtoInputStream 153 mBufferSize = bufferSize; in ProtoInputStream() 155 mBufferSize = DEFAULT_BUFFER_SIZE; in ProtoInputStream() 157 mBuffer = new byte[mBufferSize]; in ProtoInputStream() 175 mBufferSize = buffer.length; in ProtoInputStream() 740 } else if (n <= mBufferSize) { in readRawString() 768 if (mOffset >= mBufferSize) { in fillBuffer() 769 int skipped = (int) mStream.skip((mOffset / mBufferSize) * mBufferSize); in fillBuffer() 968 sb.append("\nmBufferSize : 0x" + Integer.toHexString(mBufferSize)); in dumpDebugData()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceTracing.cpp | 121 mBuffer.reset(mBufferSize); in enable() 151 mBufferSize = bufferSizeInByte; in setBufferSize() 181 mBuffer.reset(mBufferSize); in writeProtoFileLocked()
|
D | SurfaceTracing.h | 106 size_t mBufferSize GUARDED_BY(mTraceLock) = kDefaultBufferCapInByte;
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | DepthPhotoProcessor.cpp | 123 size_t mBufferSize; in encodeGrayscaleJpeg() member 156 dmgr.mBufferSize = maxOutSize; in encodeGrayscaleJpeg() 166 dmgr.free_in_buffer = dmgr.mBufferSize; in encodeGrayscaleJpeg() 168 __FUNCTION__, __LINE__, dmgr.mBuffer, dmgr.mBufferSize); in encodeGrayscaleJpeg() 178 dmgr.mEncodedSize = dmgr.mBufferSize - dmgr.free_in_buffer; in encodeGrayscaleJpeg()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 90 size_t bufferSize() const { return mBufferSize; } in bufferSize() 284 size_t mBufferSize; // size of mBuffer in bytes variable
|
D | Threads.cpp | 842 dprintf(fd, " HAL buffer size: %zu bytes\n", mBufferSize); in dumpBase_l() 2665 result = mOutput->stream->getBufferSize(&mBufferSize); in readOutputParameters_l() 2668 mFrameCount = mBufferSize / mFrameSize; in readOutputParameters_l() 2704 mBufferSize = mFrameSize * mFrameCount; in readOutputParameters_l() 7163 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead); in threadLoop() 8240 result = mInput->stream->getBufferSize(&mBufferSize); in readInputParameters_l() 8242 mFrameCount = mBufferSize / mFrameSize; in readInputParameters_l() 8245 this, mChannelCount, mFormat, (long long)mFrameSize, (long long)mBufferSize, in readInputParameters_l() 8793 result = mHalStream->getBufferSize(&mBufferSize); in readHalParameters_l() 8795 mFrameCount = mBufferSize / mFrameSize; in readHalParameters_l()
|
D | Threads.h | 540 size_t mBufferSize; // HAL buffer size for read() or write() variable
|
D | Tracks.cpp | 218 mBufferSize = bufferSize; in TrackBase()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.h | 155 , mBufferSize(0) in AaptFile() 200 size_t mBufferSize; variable
|
D | AaptAssets.cpp | 446 if (size <= mBufferSize) { in editData() 457 mBufferSize = allocSize; in editData() 506 mBufferSize = 0; in clearData()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 2564 size_t mBufferSize; member 2578 mBufferSize(0) { in CallbackThread() 2595 mBufferSize = sink->bufferSize(); in threadLoop() 2596 mBuffer = malloc(mBufferSize); in threadLoop() 2600 (*mCallback)(sink.get(), mBuffer, mBufferSize, mCookie, in threadLoop()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 477 final int mBufferSize; field in NotificationManagerService.Archive 481 mBufferSize = size; in Archive() 482 mBuffer = new ArrayDeque<StatusBarNotification>(mBufferSize); in Archive() 496 if (mBuffer.size() == mBufferSize) { in record() 511 if (count == 0) count = mBufferSize; in getArray()
|