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