Searched refs:newBuf (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | BitwiseOutputStream.java | 65 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/ |
D | NuPlayerDecoder.cpp | 981 sp<ABuffer> oldBuf, newBuf; in supportsSeamlessAudioFormatChange() local 983 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange() 984 if (oldBuf->size() != newBuf->size()) { in supportsSeamlessAudioFormatChange() 987 return !memcmp(oldBuf->data(), newBuf->data(), oldBuf->size()); in supportsSeamlessAudioFormatChange()
|