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 8 NfcAdaptation* NfcAdaptation::mpInstance = nullptr; 9 GetInstance()10NfcAdaptation& NfcAdaptation::GetInstance() { 11 if (!mpInstance) { 12 mpInstance = new NfcAdaptation; 13 mpInstance->InitializeHalDeviceContext(); 14 } 15 return *mpInstance; 16 } 17 GetVendorConfigs(std::map<std::string,ConfigValue> &)18void NfcAdaptation::GetVendorConfigs(std::map<std::string, ConfigValue>&) {} 19 NfcAdaptation()20NfcAdaptation::NfcAdaptation() {} ~NfcAdaptation()21NfcAdaptation::~NfcAdaptation() { mpInstance = nullptr; } 22 InitializeHalDeviceContext()23void NfcAdaptation::InitializeHalDeviceContext() {} 24 25 class NfcHalDeathRecipient : public virtual android::RefBase {}; 26 ThreadCondVar()27ThreadCondVar::ThreadCondVar() {} ~ThreadCondVar()28ThreadCondVar::~ThreadCondVar() {} ~ThreadMutex()29ThreadMutex::~ThreadMutex() {} ThreadMutex()30ThreadMutex::ThreadMutex() {} 31