Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDevice.h79 (void* data, uint32_t offset, uint32_t length, void* clientData);
122 uint32_t objectSize, void* clientData);
131 void* clientData);
137 void* clientData);
157 void* clientData);
162 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()
680 void* clientData) { in readObject() argument
681 return readObjectInternal(handle, callback, &expectedLength, clientData); in readObject()
712 void* clientData) { in readObjectInternal() argument
722 return readData(callback, expectedLength, nullptr, clientData); in readObjectInternal()
728 void* clientData) { in readData() argument
768 if (!callback(initialData, offset, initialDataLength, clientData)) { in readData()
814 if (!callback(writeBuffer, offset, writeLength, clientData)) { in readData()
834 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/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp408 } clientData{out_buf, out_buf_capacity, flush, 0}; in compress() local
410 cinfo.client_data = &clientData; in compress()
497 clientData.totalOutputBytes += numBytesInBuffer; in compress()
505 return clientData.totalOutputBytes; in compress()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp214 static bool writeTo(void* data, uint32_t offset, uint32_t length, void* clientData) { in writeTo() argument
215 return static_cast<JavaArrayWriter*>(clientData)->write(data, offset, length); in writeTo()