Searched refs:numread (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_Media2DataSource.cpp | 79 jint numread = env->CallIntMethod(mMedia2DataSourceObj, mReadAtMethod, in readAt() local 88 if (numread < 0) { in readAt() 89 if (numread != -1) { in readAt() 98 if ((size_t)numread > size) { in readAt() 104 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread); in readAt() 105 env->GetByteArrayRegion(mByteArrayObj, 0, numread, (jbyte*)data); in readAt() 106 return numread; in readAt()
|
D | android_media_MediaDataSource.cpp | 83 jint numread = env->CallIntMethod(mMediaDataSourceObj, mReadMethod, in readAt() local 92 if (numread < 0) { in readAt() 93 if (numread != -1) { in readAt() 102 if ((size_t)numread > size) { in readAt() 108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread); in readAt() 109 env->GetByteArrayRegion(mByteArrayObj, 0, numread, (jbyte*)mMemory->pointer()); in readAt() 110 return numread; in readAt()
|