Home
last modified time | relevance | path

Searched refs:fdp (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/evs/1.1/vts/fuzzing/
DVtsHalEvsV1_1CameraOpenFuzz.cpp36 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
41 while (fdp.remaining_bytes() > 4) { in LLVMFuzzerTestOneInput()
42 switch (fdp.ConsumeIntegralInRange<uint32_t>(0, 3)) { in LLVMFuzzerTestOneInput()
45 uint32_t whichCam = fdp.ConsumeIntegralInRange<uint32_t>(0, cameraInfo.size() - 1); in LLVMFuzzerTestOneInput()
56 uint32_t whichCam = fdp.ConsumeIntegralInRange<uint32_t>(0, camList.size() - 1); in LLVMFuzzerTestOneInput()
64 uint32_t whichCam = fdp.ConsumeIntegralInRange<uint32_t>(0, camList.size() - 1); in LLVMFuzzerTestOneInput()
72 uint32_t whichCam = fdp.ConsumeIntegralInRange<uint32_t>(0, camList.size() - 1); in LLVMFuzzerTestOneInput()
73 int32_t numFrames = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput()
/hardware/interfaces/automotive/audiocontrol/1.0/default/test/fuzzer/
DaudiocontrolV1.0_fuzzer.cpp33 FuzzedDataProvider fdp = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput() local
34 ContextNumber contextNumber = static_cast<ContextNumber>(fdp.ConsumeIntegral<uint32_t>()); in LLVMFuzzerTestOneInput()
36 audioControl->setBalanceTowardRight(fdp.ConsumeFloatingPoint<float>()); in LLVMFuzzerTestOneInput()
37 audioControl->setFadeTowardFront(fdp.ConsumeFloatingPoint<float>()); in LLVMFuzzerTestOneInput()
/hardware/google/pixel/usb/
DUsbGadgetUtils_fuzz.cpp10 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
12 std::string vid_str = fdp.ConsumeRandomLengthString(size); in LLVMFuzzerTestOneInput()
13 std::string pid_str = fdp.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
/hardware/interfaces/automotive/evs/common/utils/default/test/fuzz/
DFormatConvertFuzzer.cpp29 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
36 int height = fdp.ConsumeIntegralInRange<uint32_t>(min_height, max_height); in LLVMFuzzerTestOneInput()