1 #include "NfcAdaptation.h" 2 3 uint8_t appl_dta_mode_flag = 0; 4 unsigned int t5t_mute_legacy = 0; 5 bool nfc_nci_reset_keep_cfg_enabled = false; 6 uint8_t nfc_nci_reset_type = 0x00; 7 bool nfa_ee_route_debounce_timer = true; 8 9 NfcAdaptation* NfcAdaptation::mpInstance = nullptr; 10 GetInstance()11NfcAdaptation& NfcAdaptation::GetInstance() { 12 if (!mpInstance) { 13 mpInstance = new NfcAdaptation; 14 mpInstance->InitializeHalDeviceContext(); 15 } 16 return *mpInstance; 17 } 18 GetVendorConfigs(std::map<std::string,ConfigValue> &)19void NfcAdaptation::GetVendorConfigs(std::map<std::string, ConfigValue>&) {} 20 NfcAdaptation()21NfcAdaptation::NfcAdaptation() {} ~NfcAdaptation()22NfcAdaptation::~NfcAdaptation() { mpInstance = nullptr; } 23 InitializeHalDeviceContext()24void NfcAdaptation::InitializeHalDeviceContext() {} 25 26 class NfcHalDeathRecipient : public virtual android::RefBase {}; 27 ThreadCondVar()28ThreadCondVar::ThreadCondVar() {} ~ThreadCondVar()29ThreadCondVar::~ThreadCondVar() {} ~ThreadMutex()30ThreadMutex::~ThreadMutex() {} ThreadMutex()31ThreadMutex::ThreadMutex() {} 32