Home
last modified time | relevance | path

Searched refs:newBuf (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DBitwiseOutputStream.java65 byte[] newBuf = new byte[len]; in toByteArray()
66 System.arraycopy(mBuf, 0, newBuf, 0, len); in toByteArray()
67 return newBuf; in toByteArray()
77 byte[] newBuf = new byte[(mPos + bits) >>> 2]; in possExpand()
78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); in possExpand()
79 mBuf = newBuf; in possExpand()
80 mEnd = newBuf.length << 3; in possExpand()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1221 sp<ABuffer> oldBuf, newBuf; in supportsSeamlessAudioFormatChange() local
1223 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()
1224 if (oldBuf->size() != newBuf->size()) { in supportsSeamlessAudioFormatChange()
1227 return !memcmp(oldBuf->data(), newBuf->data(), oldBuf->size()); in supportsSeamlessAudioFormatChange()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1227 sp<ABuffer> newBuf; in supportsSeamlessAudioFormatChange() local
1231 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()
1232 if (oldBufSize != newBuf->size()) { in supportsSeamlessAudioFormatChange()
1235 return !memcmp(oldBufData, newBuf->data(), oldBufSize); in supportsSeamlessAudioFormatChange()