Home
last modified time | relevance | path

Searched refs:clientData (Results 1 – 8 of 8) 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/av/media/mtp/tests/MtpFuzzer/
Dmtp_device_fuzzer.cpp43 static bool readCallback(void* data, uint32_t offset, uint32_t length, void* clientData) { in readCallback() argument
138 std::vector<uint8_t> clientData = fdp.ConsumeBytes<uint8_t>(kMaxDataSize); in LLVMFuzzerTestOneInput() local
141 fdp.ConsumeIntegral<uint32_t>() /* objectSize */, &clientData); in LLVMFuzzerTestOneInput()
144 std::vector<uint8_t> clientData = fdp.ConsumeBytes<uint8_t>(kMaxDataSize); in LLVMFuzzerTestOneInput() local
149 &writtenSize, readCallback, &clientData); in LLVMFuzzerTestOneInput()
152 std::vector<uint8_t> clientData = fdp.ConsumeBytes<uint8_t>(kMaxDataSize); in LLVMFuzzerTestOneInput() local
157 &writtenSize, readCallback, &clientData); in LLVMFuzzerTestOneInput()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp53 static int usb_device_added(const char *devAddress, void* clientData) { in usb_device_added() argument
68 jobject thiz = (jobject)clientData; in usb_device_added()
92 static int usb_device_removed(const char *devAddress, void* clientData) { in usb_device_removed() argument
94 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/ex/camera2/extensions/jni/
DJpegEncoder.cpp406 } clientData{out_buf, out_buf_capacity, flush, 0}; in compress() local
408 cinfo.client_data = &clientData; in compress()
495 clientData.totalOutputBytes += numBytesInBuffer; in compress()
503 return clientData.totalOutputBytes; in compress()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchpadInputMapper.cpp106 void gestureInterpreterCallback(void* clientData, const Gesture* gesture) { in gestureInterpreterCallback() argument
107 TouchpadInputMapper* mapper = static_cast<TouchpadInputMapper*>(clientData); in gestureInterpreterCallback()
/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()