/frameworks/base/core/java/com/android/internal/util/ |
D | LineBreakBufferedWriter.java | 43 private int bufferIndex; field in LineBreakBufferedWriter 82 this.bufferIndex = 0; in LineBreakBufferedWriter() 92 writeBuffer(bufferIndex); in flush() 93 bufferIndex = 0; in flush() 99 if (bufferIndex < buffer.length) { in write() 100 buffer[bufferIndex] = (char)c; in write() 101 bufferIndex++; in write() 103 lastNewline = bufferIndex; in write() 119 while (bufferIndex + len > bufferSize) { in write() 123 int maxLength = bufferSize - bufferIndex; in write() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | InputBufferManager.h | 189 size_t bufferIndex; member 193 size_t bufferIndex, in TrackedBuffer() 197 bufferIndex(bufferIndex), in TrackedBuffer() 201 return bufferIndex < other.bufferIndex;
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputBufferManager.cpp | 142 << ", bufferIndex = " << bufferId.bufferIndex in _unregisterFrameData() 203 << ", bufferIndex = " << bufferId.bufferIndex in _unregisterFrameData() 246 << ", bufferIndex = " << id.bufferIndex in _onBufferDestroyed() 257 << ", bufferIndex = " << id.bufferIndex in _onBufferDestroyed() 270 << ", bufferIndex = " << std::dec << id.bufferIndex in _onBufferDestroyed() 280 << "bufferIndex = " << id.bufferIndex in _onBufferDestroyed() 296 deathNotifications.indices[id.frameIndex].emplace_back(id.bufferIndex); in _onBufferDestroyed() 366 for (const size_t& bufferIndex : bufferIndices) { in processNotifications() local 369 inputBuffer.arrayIndex = bufferIndex; in processNotifications()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 121 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, in dataCallback() argument 135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this); in dataCallback() 141 uint32_t bufferIndex, int64_t timestamp) { in dataCallbackTimestamp() argument 151 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in dataCallbackTimestamp() 157 uint32_t bufferIndex, int64_t timestamp) { in handleCallbackTimestamp() argument 169 heapMem->mBuffers[bufferIndex]->pointer(); in handleCallbackTimestamp() 171 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in handleCallbackTimestamp() 190 if (hidl_msg.bufferIndex >= mem->mNumBufs) { in handleCallbackTimestampBatch() 192 hidl_msg.bufferIndex, mem->mNumBufs); in handleCallbackTimestampBatch() 196 mem->mBuffers[hidl_msg.bufferIndex]->pointer(); in handleCallbackTimestampBatch() [all …]
|
D | CameraHardwareInterface.h | 385 uint32_t data, uint32_t bufferIndex, 389 uint32_t data, uint32_t bufferIndex, int64_t timestamp) override; 393 uint32_t bufferIndex, int64_t timestamp) override;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | AudioTrackDecoder.java | 77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument 78 ByteBuffer buffer = buffers[bufferIndex]; in onDataAvailable() 96 codec.releaseOutputBuffer(bufferIndex, false); in onDataAvailable()
|
D | CpuVideoTrackDecoder.java | 81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument 84 mDecodedBuffer = buffers[bufferIndex]; in onDataAvailable() 96 codec.releaseOutputBuffer(bufferIndex, false); in onDataAvailable()
|
D | GpuVideoTrackDecoder.java | 107 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable() argument 113 codec.releaseOutputBuffer(bufferIndex, textureAvailable); in onDataAvailable()
|
D | TrackDecoder.java | 67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); in onDataAvailable() argument
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 692 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); in feedEncoderInputBuffers() local 707 mAvailEncoderInputIndices.push_back(bufferIndex); in feedEncoderInputBuffers() 732 status_t err = mEncoder->getInputBuffer(bufferIndex, &inbuf); in feedEncoderInputBuffers() 758 bufferIndex, 0, size, timeUs, flags); in feedEncoderInputBuffers()
|
D | MediaCodec.cpp | 3166 status_t MediaCodec::queueCSDInputBuffer(size_t bufferIndex) { in queueCSDInputBuffer() argument 3169 const BufferInfo &info = mPortBuffers[kPortIndexInput][bufferIndex]; in queueCSDInputBuffer() 3180 ALOGV("Input buffer %zu is not properly allocated", bufferIndex); in queueCSDInputBuffer() 3189 msg->setSize("index", bufferIndex); in queueCSDInputBuffer()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | ResponderLocation.java | 861 int bufferIndex = bufferBitOffset / Byte.SIZE; // The byte index that contains the bit in getBitAtBitOffsetInByteArray() local 863 int result = (buffer[bufferIndex] & (MSB_IN_BYTE >> bitOffsetInByte)) == 0 ? 0 : 1; in getBitAtBitOffsetInByteArray()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodec.h | 414 status_t queueCSDInputBuffer(size_t bufferIndex);
|