Searched refs:data_provider (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/utils/fuzzers/ |
D | ServiceUtilitiesFuzz.cpp | 34 [](FuzzedDataProvider* data_provider, android::MediaPackageManager pm) -> void { in __anona68969790102() 35 uid_t uid = data_provider->ConsumeIntegral<uid_t>(); in __anona68969790102() 38 [](FuzzedDataProvider* data_provider, android::MediaPackageManager pm) -> void { in __anona68969790202() 41 int spaces = data_provider->ConsumeIntegralInRange<int>(0, kMaxSpaces); in __anona68969790202() 51 FuzzedDataProvider data_provider(data, size); in LLVMFuzzerTestOneInput() local 52 int32_t uid = data_provider.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() 53 int32_t pid = data_provider.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() 54 audio_source_t source = static_cast<audio_source_t>(data_provider in LLVMFuzzerTestOneInput() 56 uint32_t deviceId = data_provider.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput() 58 std::string packageNameStr = data_provider.ConsumeRandomLengthString(kMaxStringLen); in LLVMFuzzerTestOneInput() [all …]
|
D | TimeCheckFuzz.cpp | 31 FuzzedDataProvider data_provider(data, size); in LLVMFuzzerTestOneInput() local 38 data_provider.ConsumeIntegralInRange<uint32_t>(kMinTimeoutMs, kMaxTimeoutMs); in LLVMFuzzerTestOneInput() 39 uint8_t pid_size = data_provider.ConsumeIntegral<uint8_t>(); in LLVMFuzzerTestOneInput() 42 pid = data_provider.ConsumeIntegral<pid_t>(); in LLVMFuzzerTestOneInput() 48 std::string name = data_provider.ConsumeRandomLengthString(kMaxStringLen); in LLVMFuzzerTestOneInput() 55 uint8_t sleep_amount_ms = data_provider.ConsumeIntegralInRange<uint8_t>(0, timeoutMs / 2); in LLVMFuzzerTestOneInput()
|
D | BatteryNotifierFuzz.cpp | 77 FuzzedDataProvider data_provider(data, size); in LLVMFuzzerTestOneInput() local 78 std::string camera_name = data_provider.ConsumeRandomLengthString(kMaxStringLength); in LLVMFuzzerTestOneInput() 79 std::string flashlight_name = data_provider.ConsumeRandomLengthString(kMaxStringLength); in LLVMFuzzerTestOneInput() 80 uid_t video_id = data_provider.ConsumeIntegral<uid_t>(); in LLVMFuzzerTestOneInput() 81 uid_t audio_id = data_provider.ConsumeIntegral<uid_t>(); in LLVMFuzzerTestOneInput() 82 uid_t light_id = data_provider.ConsumeIntegral<uid_t>(); in LLVMFuzzerTestOneInput() 83 uid_t camera_id = data_provider.ConsumeIntegral<uid_t>(); in LLVMFuzzerTestOneInput() 85 while (data_provider.remaining_bytes() > 0 && ops_run++ < kMaxOperations) { in LLVMFuzzerTestOneInput() 86 uint8_t op = data_provider.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput()
|
D | SchedulingPolicyServiceFuzz.cpp | 52 FuzzedDataProvider data_provider(data, size); in LLVMFuzzerTestOneInput() local 56 int32_t priority = data_provider.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() 57 bool is_for_app = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput() 58 bool async = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput()
|