Home
last modified time | relevance | path

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

/frameworks/base/packages/MtpDocumentsProvider/jni/
Dcom_android_mtp_AppFuse.cpp39 constexpr size_t MAX_WRITE = 256 * 1024; variable
48 sizeof(struct fuse_write_in) + (MAX_WRITE > MAX_READ ? MAX_WRITE : MAX_READ);
231 out->data()->max_write = MAX_WRITE; in handle_fuse_init()
301 if (in->size > MAX_WRITE) { in handle_fuse_write()
559 if (static_cast<int>(env->GetStaticIntField(app_fuse_class, write_max_fied)) != MAX_WRITE) { in JNI_OnLoad()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DAppFuse.java48 static final int MAX_WRITE = 256 * 1024; field in AppFuse
57 private byte[] mBuffer = new byte[Math.max(MAX_READ, MAX_WRITE)];