Home
last modified time | relevance | path

Searched refs:nfcExtInf (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/peripheral/nfc/vendor_adaptor/
H A Dnfc_vendor_adaptions.cpp51 nfcExtInf.getNfcChipType = reinterpret_cast<const char* (*)()> in GetChipType()
53 nfcExtInf.getNfcHalFuncNameSuffix = reinterpret_cast<const char* (*)(const char*)> in GetChipType()
56 if (nfcExtInf.getNfcChipType == nullptr || nfcExtInf.getNfcHalFuncNameSuffix == nullptr) { in GetChipType()
60 nfcChipType = string(nfcExtInf.getNfcChipType()); in GetChipType()
71 nfcExtInf.checkFirmwareUpdate = reinterpret_cast<void (*)()> in CheckFirmwareUpdate()
73 if (nfcExtInf.checkFirmwareUpdate == nullptr) { in CheckFirmwareUpdate()
79 nfcExtInf.checkFirmwareUpdate(); in CheckFirmwareUpdate()
87 if (nfcExtInf.getNfcHalFuncNameSuffix != nullptr) { in GetNfcHalFuncNameSuffix()
88 suffix = string(nfcExtInf.getNfcHalFuncNameSuffix(chipType.c_str())); in GetNfcHalFuncNameSuffix()
108 nfcExtInf.getNfcChipType = nullptr; in ResetNfcInterface()
[all …]
H A Dnfc_vendor_adaptions.h111 NfcExtInterface nfcExtInf; variable
/ohos5.0/drivers/peripheral/nfc/test/unittest/mock/
H A Dmock.cpp35 nfcExtInf.getNfcChipType = nullptr; in NfcVendorAdaptions()
36 nfcExtInf.getNfcHalFuncNameSuffix = nullptr; in NfcVendorAdaptions()
H A Dmock.h50 NfcExtInterface nfcExtInf; variable