Home
last modified time | relevance | path

Searched refs:writePos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/proto/
DEncodedBuffer.java506 public void rewindWriteTo(int writePos) {
507 if (writePos > getWritePos()) {
508 throw new RuntimeException("rewindWriteTo only can go backwards" + writePos);
510 mWriteBufIndex = writePos / mChunkSize;
511 mWriteIndex = writePos % mChunkSize;
/frameworks/base/media/jni/soundpool/
DSound.cpp84 auto writePos = static_cast<uint8_t*>(heap->getBase()); in decode() local
144 memcpy(writePos, buf + info.offset, dataSize); in decode()
145 writePos += dataSize; in decode()