Home
last modified time | relevance | path

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

/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp101 size_t nbRead; in enqueueInitialBuffers() local
102 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers()
103 if (nbRead <= 0) { in enqueueInitialBuffers()
108 assert(1 <= nbRead && nbRead <= NB_BUFFERS); in enqueueInitialBuffers()
109 ALOGV("Initially queueing %u buffers of %u bytes each", nbRead, BUFFER_SIZE); in enqueueInitialBuffers()
114 for (i = 0; i < nbRead; i++) { in enqueueInitialBuffers()
164 size_t nbRead; in AndroidBufferQueueCallback() local
166 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); in AndroidBufferQueueCallback()
167 if (nbRead > 0) { in AndroidBufferQueueCallback()
168 assert(1 == nbRead); in AndroidBufferQueueCallback()
[all …]