Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp110 class JavaArrayWriter { class
112 JavaArrayWriter(JNIEnv* env, jbyteArray array) : in JavaArrayWriter() function in __anon8000defa0111::JavaArrayWriter
122 return static_cast<JavaArrayWriter*>(clientData)->write(data, offset, length); in writeTo()
411 JavaArrayWriter writer(env, array.get()); in android_mtp_MtpDevice_get_object()
413 if (device->readObject(objectID, JavaArrayWriter::writeTo, objectSize, &writer)) { in android_mtp_MtpDevice_get_object()
445 JavaArrayWriter writer(env, array); in android_mtp_MtpDevice_get_partial_object()
448 objectID, offset, size, &written_size, JavaArrayWriter::writeTo, &writer); in android_mtp_MtpDevice_get_partial_object()
494 JavaArrayWriter writer(env, array); in android_mtp_MtpDevice_get_partial_object_64()
501 JavaArrayWriter::writeTo, in android_mtp_MtpDevice_get_partial_object_64()