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/
DSoundPool.cpp555 uint8_t* writePos = static_cast<uint8_t*>(heap->getBase()); in decode() local
614 memcpy(writePos, buf + info.offset, dataSize); in decode()
615 writePos += dataSize; in decode()