1*7eba2f3bSAndroid Build Coastguard Worker #include "fuzz_cmn.h" 2*7eba2f3bSAndroid Build Coastguard Worker 3*7eba2f3bSAndroid Build Coastguard Worker // These are the functions implemented elsewhere in the NFC code. Our fuzzing 4*7eba2f3bSAndroid Build Coastguard Worker // doesn't need them. To avoid pulling into more source code we simply stub 5*7eba2f3bSAndroid Build Coastguard Worker // them out. 6*7eba2f3bSAndroid Build Coastguard Worker NFC_GetNCIVersion()7*7eba2f3bSAndroid Build Coastguard Workeruint8_t NFC_GetNCIVersion() { return NCI_VERSION_2_0; } 8*7eba2f3bSAndroid Build Coastguard Worker NFC_DiscoveryMap(uint8_t,tNFC_DISCOVER_MAPS *,tNFC_DISCOVER_CBACK *)9*7eba2f3bSAndroid Build Coastguard WorkertNFC_STATUS NFC_DiscoveryMap(uint8_t, tNFC_DISCOVER_MAPS*, 10*7eba2f3bSAndroid Build Coastguard Worker tNFC_DISCOVER_CBACK*) { 11*7eba2f3bSAndroid Build Coastguard Worker return NFC_STATUS_OK; 12*7eba2f3bSAndroid Build Coastguard Worker } 13*7eba2f3bSAndroid Build Coastguard Worker nfa_sys_cback_notify_nfcc_power_mode_proc_complete(uint8_t)14*7eba2f3bSAndroid Build Coastguard Workervoid nfa_sys_cback_notify_nfcc_power_mode_proc_complete(uint8_t) {} 15*7eba2f3bSAndroid Build Coastguard Worker nfa_sys_cback_reg_enable_complete(void *)16*7eba2f3bSAndroid Build Coastguard Workervoid nfa_sys_cback_reg_enable_complete(void*) {} 17*7eba2f3bSAndroid Build Coastguard Worker NFC_Enable(tNFC_RESPONSE_CBACK *)18*7eba2f3bSAndroid Build Coastguard WorkertNFC_STATUS NFC_Enable(tNFC_RESPONSE_CBACK*) { return NFC_STATUS_OK; } 19*7eba2f3bSAndroid Build Coastguard Worker nfa_sys_deregister(uint8_t)20*7eba2f3bSAndroid Build Coastguard Workervoid nfa_sys_deregister(uint8_t) {} nfa_rw_stop_presence_check_timer()21*7eba2f3bSAndroid Build Coastguard Workervoid nfa_rw_stop_presence_check_timer() {} nfa_rw_proc_disc_evt(int,tNFC_DISCOVER *,bool)22*7eba2f3bSAndroid Build Coastguard Workervoid nfa_rw_proc_disc_evt(int, tNFC_DISCOVER*, bool) {} 23