Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRandomAccessObject.java117 int bytesToCopy = Math.min(len, mBytes.remaining()); in read() local
118 if (bytesToCopy <= 0) { in read()
122 return bytesToCopy; in read()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp336 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback() local
338 memcpy(pDest, pBuff->raw, bytesToCopy); in audioRecorder_callback()
340 if (bytesToCopy < availSink) { in audioRecorder_callback()
346 pBuff->size = bytesToCopy; in audioRecorder_callback()
DAudioPlayer_to_android.cpp1277 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue() local
1279 memcpy(pBuff->raw, pSrc, bytesToCopy); in audioTrack_callBack_pullFromBuffQueue()
1281 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()
1282 ap->mBufferQueue.mSizeConsumed += bytesToCopy; in audioTrack_callBack_pullFromBuffQueue()
1286 pBuff->size = bytesToCopy; in audioTrack_callBack_pullFromBuffQueue()