Searched refs:mtpDataPacket (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_data_packet_fuzzer.cpp | 39 MtpDataPacket mtpDataPacket; in process() local 42 [&]() { mtpDataPacket.allocate(mFdp.ConsumeIntegralInRange(kMinSize, kMaxSize)); }, in process() 43 [&]() { mtpDataPacket.reset(); }, in process() 45 mtpDataPacket.setOperationCode(mFdp.ConsumeIntegralInRange(kMinSize, kMaxSize)); in process() 48 mtpDataPacket.setTransactionID(mFdp.ConsumeIntegralInRange(kMinSize, kMaxSize)); in process() 51 Int8List* result = mtpDataPacket.getAInt8(); in process() 55 Int16List* result = mtpDataPacket.getAInt16(); in process() 59 Int32List* result = mtpDataPacket.getAInt32(); in process() 63 Int64List* result = mtpDataPacket.getAInt64(); in process() 67 UInt8List* result = mtpDataPacket.getAUInt8(); in process() [all …]
|
D | mtp_property_fuzzer.cpp | 61 MtpDataPacket mtpDataPacket; in process() local 63 mtpProperty->read(mtpDataPacket); in process() 73 mtpDataPacket.write(h); in process() 83 mtpDataPacket.write(&mUsbRequest, in process() 93 mtpProperty->write(mtpDataPacket); in process() 95 mtpProperty->setCurrentValue(mtpDataPacket); in process()
|
D | mtp_device_fuzzer.cpp | 192 MtpDataPacket mtpDataPacket; in LLVMFuzzerTestOneInput() local 195 mtpDataPacket.writeData(&devHandle, packet.data(), packet.size()); in LLVMFuzzerTestOneInput() 196 objectinfo.read(mtpDataPacket); in LLVMFuzzerTestOneInput() 201 MtpDataPacket mtpDataPacket; in LLVMFuzzerTestOneInput() local 204 mtpDataPacket.writeData(&devHandle, packet.data(), packet.size()); in LLVMFuzzerTestOneInput() 205 storageInfo.read(mtpDataPacket); in LLVMFuzzerTestOneInput()
|