/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/codec/ |
D | a2dpCodecInfoFuzzFunctions.h | 37 std::vector<std::function<void(FuzzedDataProvider*, uint8_t*)>> 40 [](FuzzedDataProvider* fdp, uint8_t*) -> void { 49 [](FuzzedDataProvider* fdp, uint8_t*) -> void { 63 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 68 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 73 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 78 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 83 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 88 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { 93 [](FuzzedDataProvider* fdp, uint8_t* codec_info) -> void { [all …]
|
D | a2dpCodecConfigFuzzFunctions.h | 34 std::vector<std::function<void(FuzzedDataProvider*)>> 37 [](FuzzedDataProvider* fdp) -> void { 52 [](FuzzedDataProvider* fdp) -> void { 64 [](FuzzedDataProvider* fdp) -> void { 75 [](FuzzedDataProvider* fdp) -> void { 86 [](FuzzedDataProvider* fdp) -> void { 97 [](FuzzedDataProvider* fdp) -> void { 109 [](FuzzedDataProvider* fdp) -> void { 120 [](FuzzedDataProvider* fdp) -> void { 133 [](FuzzedDataProvider* fdp) -> void { [all …]
|
D | a2dpCodecFuzzFunctions.h | 39 std::vector<std::function<void(FuzzedDataProvider*)>> a2dp_codec_operations = { 41 [](FuzzedDataProvider* fdp) -> void { 60 [](FuzzedDataProvider* fdp) -> void { 72 [](FuzzedDataProvider* fdp) -> void { 86 [](FuzzedDataProvider* fdp) -> void { 98 [](FuzzedDataProvider* fdp) -> void { 110 [](FuzzedDataProvider* fdp) -> void { 119 [](FuzzedDataProvider* fdp) -> void { 128 [](FuzzedDataProvider* fdp) -> void { 137 [](FuzzedDataProvider* fdp) -> void { [all …]
|
D | a2dpCodecHelperFunctions.h | 67 btav_a2dp_codec_index_t getArbitraryBtavCodecIndex(FuzzedDataProvider* fdp) { in getArbitraryBtavCodecIndex() 74 FuzzedDataProvider* fdp) { in getArbitraryBtavCodecPriority() 80 FuzzedDataProvider* fdp) { in getArbitraryBtavCodecSampleRate() 86 FuzzedDataProvider* fdp) { in getArbitraryBtavCodecBitsPerSample() 92 FuzzedDataProvider* fdp) { in getArbitraryBtavCodecChannelMode() 97 btav_a2dp_codec_config_t getArbitraryBtavCodecConfig(FuzzedDataProvider* fdp) { in getArbitraryBtavCodecConfig() 114 FuzzedDataProvider* fdp) { in getArbitraryA2dpEncoderInitPeerParams() 125 std::shared_ptr<BT_HDR> getArbitraryBtHdr(FuzzedDataProvider* fdp) { in getArbitraryBtHdr() 149 tBT_A2DP_OFFLOAD generateArbitrarytA2dpOffload(FuzzedDataProvider* fdp) { in generateArbitrarytA2dpOffload()
|
D | a2dpCodecInfoFuzzHelpers.h | 36 FuzzedDataProvider* fdp, in callArbitraryCodecInfoFunction() 37 std::vector<std::function<void(FuzzedDataProvider*, uint8_t*)>> in callArbitraryCodecInfoFunction() argument
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/ |
D | sdpFuzzFunctions.h | 39 static const std::vector<std::function<void(FuzzedDataProvider*)>> 42 [](FuzzedDataProvider* fdp) -> void { 74 [](FuzzedDataProvider* fdp) -> void { 81 [](FuzzedDataProvider* fdp) -> void { 93 [](FuzzedDataProvider* fdp) -> void { 106 [](FuzzedDataProvider* fdp) -> void { 123 [](FuzzedDataProvider* fdp) -> void { 132 [](FuzzedDataProvider* fdp) -> void { 141 [](FuzzedDataProvider* fdp) -> void { 150 [](FuzzedDataProvider* fdp) -> void { [all …]
|
D | sdpFuzzHelpers.h | 60 FuzzedDataProvider*, bool); 90 std::vector<uint16_t> generateArbitraryAttrList(FuzzedDataProvider* fdp) { in generateArbitraryAttrList() 102 tSDP_DISC_ATVAL generateArbitrarySdpDiscAttrVal(FuzzedDataProvider* fdp) { in generateArbitrarySdpDiscAttrVal() 117 FuzzedDataProvider* fdp, bool allow_null) { in generateArbitrarySdpDiscAttr() 138 FuzzedDataProvider* fdp, bool allow_null) { in generateArbitrarySdpDiscRecord() 156 FuzzedDataProvider* fdp) { in generateArbitrarySdpProtocolElements() 174 FuzzedDataProvider* fdp) { in generateArbitrarySdpProtocolElementList() 191 FuzzedDataProvider* fdp, uint16_t* array_size) { in generateArbitrarySdpProtocolElementListArray() 210 tSDP_DI_RECORD generateArbitrarySdpDiRecord(FuzzedDataProvider* fdp) { in generateArbitrarySdpDiRecord() 237 tSDP_DI_GET_RECORD generateArbitrarySdpDiGetRecord(FuzzedDataProvider* fdp) { in generateArbitrarySdpDiGetRecord() [all …]
|
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/ |
D | README.md | 35 …RL_ACK_PENDING` 5.`A2DP_CTRL_ACK_DISCONNECT_IN_PROGRESS` | Value obtained from FuzzedDataProvider | 36 …ODEC_INDEX_SINK_AAC` 7.`BTAV_A2DP_CODEC_INDEX_SINK_LDAC` | Value obtained from FuzzedDataProvider | 37 … 3.`SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH` | Value obtained from FuzzedDataProvider | 38 …onType_2_1::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH` | Value obtained from FuzzedDataProvider | 39 …0` 5.`SampleRate::RATE_44100` 6.`SampleRate::RATE_48000` | Value obtained from FuzzedDataProvider | 40 …mpleRate_2_1::RATE_44100` 6.`SampleRate_2_1::RATE_48000` | Value obtained from FuzzedDataProvider | 41 …SAMPLE_RATE_16000` 8.`BTAV_A2DP_CODEC_SAMPLE_RATE_24000` | Value obtained from FuzzedDataProvider | 42 …6` 2.`BitsPerSample::BITS_24` 3.`BitsPerSample::BITS_32` | Value obtained from FuzzedDataProvider | 43 …TS_PER_SAMPLE_24` 3.`BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32` | Value obtained from FuzzedDataProvider | 44 …:UNKNOWN` 1.`ChannelMode::MONO` 2.`ChannelMode::STEREO` | Value obtained from FuzzedDataProvider | [all …]
|
D | libbt_audio_hal_client_interface_fuzzer.cpp | 219 FuzzedDataProvider* mFdp = nullptr; 227 FuzzedDataProvider* mFdp) { in SbcCodecConfigurationsGenerator() 265 FuzzedDataProvider* mFdp) { in AacCodecConfigurationsGenerator() 291 FuzzedDataProvider* mFdp) { in LdacCodecConfigurationsGenerator() 320 FuzzedDataProvider* mFdp) { in AptxCodecConfigurationsGenerator() 358 mFdp = new FuzzedDataProvider(data, size); in process()
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/ |
D | a2dpFuzzFunctions.h | 41 std::vector<std::function<void(FuzzedDataProvider*)>> a2dp_operations = { 43 [](FuzzedDataProvider*) -> void { 55 [](FuzzedDataProvider* fdp) -> void { 69 [](FuzzedDataProvider* fdp) -> void { 80 [](FuzzedDataProvider*) -> void { A2DP_GetAvdtpVersion(); }, 83 [](FuzzedDataProvider* fdp) -> void { 88 [](FuzzedDataProvider* fdp) -> void {
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/common/ |
D | commonFuzzHelpers.h | 31 FuzzedDataProvider* fdp, in callArbitraryFunction() 32 std::vector<std::function<void(FuzzedDataProvider*)>> ops_vector) { in callArbitraryFunction() 42 T getArbitraryVectorElement(FuzzedDataProvider* fdp, std::vector<T> vect, in getArbitraryVectorElement() 54 RawAddress generateRawAddress(FuzzedDataProvider* fdp) { in generateRawAddress() 69 bluetooth::Uuid generateArbitraryUuid(FuzzedDataProvider* fdp) { in generateArbitraryUuid()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 32 FuzzedDataProvider* dataProvider = in list_iter_cb_impl() 33 reinterpret_cast<FuzzedDataProvider*>(context); in list_iter_cb_impl() 37 list_t* createList(FuzzedDataProvider* dataProvider) { in createList() 47 FuzzedDataProvider* dataProvider) { in getArbitraryElement() 57 list_node_t* getArbitraryNode(list_t* list, FuzzedDataProvider* dataProvider) { in getArbitraryNode() 73 FuzzedDataProvider* dataProvider) { in callArbitraryFunction() 250 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/gd/hci/fuzz/ |
D | fuzz_hci_layer.h | 49 void TurnOnAutoReply(FuzzedDataProvider* fdp) { in TurnOnAutoReply() 142 void injectArbitrary(FuzzedDataProvider& fdp); 161 void injectEvent(FuzzedDataProvider& fdp); 162 void injectLeEvent(FuzzedDataProvider& fdp); 168 void injectAclDisconnect(FuzzedDataProvider& fdp); 170 void injectLeAclDisconnect(FuzzedDataProvider& fdp); 177 FuzzedDataProvider* auto_reply_fdp;
|
D | fuzz_hci_layer.cc | 99 void FuzzHciLayer::injectArbitrary(FuzzedDataProvider& fdp) { in injectArbitrary() 157 void FuzzHciLayer::injectEvent(FuzzedDataProvider& fdp) { in injectEvent() 164 void FuzzHciLayer::injectLeEvent(FuzzedDataProvider& fdp) { in injectLeEvent() 183 void FuzzHciLayer::injectAclDisconnect(FuzzedDataProvider& fdp) { in injectAclDisconnect() 195 void FuzzHciLayer::injectLeAclDisconnect(FuzzedDataProvider& fdp) { in injectLeAclDisconnect()
|
/packages/modules/Bluetooth/system/embdrv/g722/fuzzer/ |
D | g722_fuzzer.cc | 23 uint32_t get_rate_from_fdp(FuzzedDataProvider* fdp) { in get_rate_from_fdp() 36 void fuzz_encode(FuzzedDataProvider* fdp) { in fuzz_encode() 87 void fuzz_decode(FuzzedDataProvider* fdp) { in fuzz_decode() 120 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/btcore/fuzzer/ |
D | README.md | 19 …DR` 1.`BT_DEVICE_DEVTYPE_BLE` 2.`BT_DEVICE_DEVTYPE_DUAL` | Value obtained from FuzzedDataProvider | 20 …E_CONNECTABLE` 2.`BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE` | Value obtained from FuzzedDataProvider | 21 …dress` | Values inside array ranges from `0x0` to `0xFF` | Value obtained from FuzzedDataProvider | 22 …lassT` | Values inside array ranges from `0x0` to `0xFF` | Value obtained from FuzzedDataProvider |
|
D | btcore_device_class_fuzzer.cpp | 26 std::unique_ptr<FuzzedDataProvider> mFdp = nullptr; 30 mFdp = std::make_unique<FuzzedDataProvider>(data, size); in process()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 76 alarm_t* fuzz_init_alarm(FuzzedDataProvider* dataProvider) { in fuzz_init_alarm() 92 FuzzedDataProvider* dataProvider) { in fuzz_set_alarm() 121 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/packages/modules/ExtServices/native/pHash/fuzzer/ |
D | fuzzed_phash_fingerprinter.cpp | 9 FuzzedDataProvider fdp = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/fixed_queue/ |
D | fuzz_fixed_queue.cc | 38 fixed_queue_free_cb cbOrNull(FuzzedDataProvider* dataProvider) { in cbOrNull() 76 FuzzedDataProvider* dataProvider) { in callArbitraryFunction() 210 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/ringbuffer/ |
D | fuzz_ringbuffer.cc | 24 FuzzedDataProvider* dataProvider) { in getArbitraryRingBuf() 35 FuzzedDataProvider* dataProvider) { in callArbitraryFunction() 147 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/packages/modules/DnsResolver/tests/fuzzer/ |
D | resolv_gethostbyname_fuzzer.cpp | 12 void TestResolvGethostbyname(FuzzedDataProvider& fdp) { in TestResolvGethostbyname() 30 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput()
|
D | resolv_gethostbyaddr_fuzzer.cpp | 7 void TestResolvGethostbyaddr(FuzzedDataProvider& fdp) { in TestResolvGethostbyaddr() 29 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput()
|
D | resolv_getaddrinfo_fuzzer.cpp | 12 void TestResolvGetaddrinfo(FuzzedDataProvider& fdp) { in TestResolvGetaddrinfo() 40 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/allocator/ |
D | fuzz_allocator.cc | 25 FuzzedDataProvider* dataProvider) { in callArbitraryFunction() 101 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|