Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpPacketFuzzerUtils.h36 struct usbdevfs_urb* mUsbDevFsUrb; variable
51 mUsbDevFsUrb->type = fdp->ConsumeIntegral<unsigned char>(); in fillUsbDevFsUrb()
52 mUsbDevFsUrb->endpoint = fdp->ConsumeIntegral<unsigned char>(); in fillUsbDevFsUrb()
53 mUsbDevFsUrb->flags = fdp->ConsumeIntegral<uint32_t>(); in fillUsbDevFsUrb()
56 mUsbDevFsUrb->buffer = static_cast<void*>(buffer.data()); in fillUsbDevFsUrb()
57 mUsbDevFsUrb->buffer_length = buffer.size(); in fillUsbDevFsUrb()
58 mUsbDevFsUrb->actual_length = fdp->ConsumeIntegral<uint32_t>(); in fillUsbDevFsUrb()
59 mUsbDevFsUrb->start_frame = fdp->ConsumeIntegral<uint32_t>(); in fillUsbDevFsUrb()
60 mUsbDevFsUrb->number_of_packets = fdp->ConsumeIntegral<uint32_t>(); in fillUsbDevFsUrb()
61 mUsbDevFsUrb->stream_id = fdp->ConsumeIntegral<uint32_t>(); in fillUsbDevFsUrb()
[all …]
Dmtp_response_packet_fuzzer.cpp28 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpResponsePacketFuzzer()
31 ~MtpResponsePacketFuzzer() { free(mUsbDevFsUrb); }; in ~MtpResponsePacketFuzzer()
Dmtp_event_packet_fuzzer.cpp28 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpEventPacketFuzzer()
31 ~MtpEventPacketFuzzer() { free(mUsbDevFsUrb); }; in ~MtpEventPacketFuzzer()
Dmtp_packet_fuzzer.cpp29 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpPacketFuzzer()
32 ~MtpPacketFuzzer() { free(mUsbDevFsUrb); }; in ~MtpPacketFuzzer()
Dmtp_request_packet_fuzzer.cpp32 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpRequestPacketFuzzer()
35 ~MtpRequestPacketFuzzer() { free(mUsbDevFsUrb); }; in ~MtpRequestPacketFuzzer()
Dmtp_property_fuzzer.cpp38 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpPropertyFuzzer()
41 ~MtpPropertyFuzzer() { free(mUsbDevFsUrb); }; in ~MtpPropertyFuzzer()
Dmtp_data_packet_fuzzer.cpp29 mUsbDevFsUrb = (struct usbdevfs_urb*)malloc(sizeof(struct usbdevfs_urb) + in MtpDataPacketFuzzer()
32 ~MtpDataPacketFuzzer() { free(mUsbDevFsUrb); }; in ~MtpDataPacketFuzzer()