Home
last modified time | relevance | path

Searched refs:bytesToCopy (Results 1 – 4 of 4) 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.cpp330 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_handleMoreData_lockRecord() local
332 memcpy(pDest, buffer.data(), bytesToCopy); in audioRecorder_handleMoreData_lockRecord()
333 bytesRead = bytesToCopy; in audioRecorder_handleMoreData_lockRecord()
334 if (bytesToCopy < availSink) { in audioRecorder_handleMoreData_lockRecord()
DAudioPlayer_to_android.cpp1271 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_handleMoreData_lockPlay() local
1273 memcpy(buffer.data(), pSrc, bytesToCopy); in audioTrack_handleMoreData_lockPlay()
1274 bytesWritten = bytesToCopy; in audioTrack_handleMoreData_lockPlay()
1275 if (bytesToCopy < availSource) { in audioTrack_handleMoreData_lockPlay()
1276 ap->mBufferQueue.mSizeConsumed += bytesToCopy; in audioTrack_handleMoreData_lockPlay()
/frameworks/base/libs/hwui/jni/
DGraphics.cpp695 const size_t bytesToCopy = std::min(mRecycledBitmap->info().minRowBytes(), in copyIfNecessary() local
700 memcpy(dst, mSkiaBitmap->getAddr(0, y), bytesToCopy); in copyIfNecessary()