Searched refs:mUsbRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_data_packet_fuzzer.cpp | 244 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 247 mtpDataPacket.readData(&mUsbRequest, data.data(), data.size()); in process() 248 usb_device_close(mUsbRequest.dev); in process() 254 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 256 &mUsbRequest, in process() 259 usb_device_close(mUsbRequest.dev); in process() 265 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 266 mtpDataPacket.read(&mUsbRequest); in process() 267 usb_device_close(mUsbRequest.dev); in process() 273 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() [all …]
|
D | MtpPacketFuzzerUtils.h | 35 struct usb_request mUsbRequest; variable 76 mUsbRequest.buffer = static_cast<void*>(buffer.data()); in fillUsbRequest() 77 mUsbRequest.buffer_length = buffer.size(); in fillUsbRequest() 78 mUsbRequest.actual_length = fdp->ConsumeIntegralInRange<size_t>(kMinSize, kMaxSize); in fillUsbRequest() 79 mUsbRequest.max_packet_size = fdp->ConsumeIntegralInRange<size_t>(kMinSize, kMaxSize); in fillUsbRequest() 80 mUsbRequest.private_data = static_cast<void*>(mUsbDevFsUrb); in fillUsbRequest() 81 mUsbRequest.endpoint = fdp->ConsumeIntegralInRange<size_t>(kMinSize, kMaxSize); in fillUsbRequest() 84 mUsbRequest.client_data = static_cast<void*>(clientBuffer.data()); in fillUsbRequest()
|
D | mtp_response_packet_fuzzer.cpp | 52 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 53 mtpResponsePacket.read(&mUsbRequest); in process() 54 usb_device_close(mUsbRequest.dev); in process()
|
D | mtp_event_packet_fuzzer.cpp | 49 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 50 mtpEventPacket.sendRequest(&mUsbRequest); in process() 51 usb_device_close(mUsbRequest.dev); in process()
|
D | mtp_packet_fuzzer.cpp | 78 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 79 mtpPacket.transfer(&mUsbRequest); in process() 80 usb_device_close(mUsbRequest.dev); in process()
|
D | mtp_request_packet_fuzzer.cpp | 66 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 67 mtpRequestPacket.write(&mUsbRequest); in process() 68 usb_device_close(mUsbRequest.dev); in process()
|
D | mtp_property_fuzzer.cpp | 83 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process() 84 mtpDataPacket.write(&mUsbRequest, in process() 89 usb_device_close(mUsbRequest.dev); in process()
|