Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDevice.h79 (void* data, uint32_t offset, uint32_t length, void* clientData);
121 uint32_t objectSize, void* clientData);
130 void* clientData);
136 void* clientData);
156 void* clientData);
161 void* clientData);
DMtpDevice.cpp62 bool writeToFd(void* data, uint32_t /* unused_offset */, uint32_t length, void* clientData) { in writeToFd() argument
63 const int fd = *static_cast<int*>(clientData); in writeToFd()
654 void* clientData) { in readObject() argument
655 return readObjectInternal(handle, callback, &expectedLength, clientData); in readObject()
686 void* clientData) { in readObjectInternal() argument
696 return readData(callback, expectedLength, nullptr, clientData); in readObjectInternal()
702 void* clientData) { in readData() argument
742 if (!callback(initialData, offset, initialDataLength, clientData)) { in readData()
788 if (!callback(writeBuffer, offset, writeLength, clientData)) { in readData()
808 void* clientData) { in readPartialObject() argument
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp56 static int usb_device_added(const char *devAddress, void* clientData) { in usb_device_added() argument
71 jobject thiz = (jobject)clientData; in usb_device_added()
95 static int usb_device_removed(const char *devAddress, void* clientData) { in usb_device_removed() argument
97 jobject thiz = (jobject)clientData; in usb_device_removed()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp121 static bool writeTo(void* data, uint32_t offset, uint32_t length, void* clientData) { in writeTo() argument
122 return static_cast<JavaArrayWriter*>(clientData)->write(data, offset, length); in writeTo()