Searched refs:SpdHelper (Results 1 – 3 of 3) sorted by relevance
24 void SpdHelper::setPatchAsBad() { getInstance().setPatchAsBadImpl(); } in setPatchAsBad()26 void SpdHelper::incErrorCount() { getInstance().incErrorCountImpl(); } in incErrorCount()28 bool SpdHelper::isPatchBad(uint8_t* prm, uint32_t len) { in isPatchBad()32 bool SpdHelper::isSpdDebug() { in isSpdDebug()38 void SpdHelper::incErrorCountImpl() { in incErrorCountImpl()44 void SpdHelper::setPatchAsBadImpl() { mIsPatchBad = true; } in setPatchAsBadImpl()55 bool SpdHelper::isPatchBadImpl(uint8_t* prm, uint32_t len) { in isPatchBadImpl()75 SpdHelper& SpdHelper::getInstance() { in getInstance()76 static SpdHelper* theInstance = NULL; in getInstance()77 if (theInstance == NULL) theInstance = new SpdHelper; in getInstance()[all …]
208 SpdHelper::setPatchAsBad(); in postDownloadPatchram()210 SpdHelper::incErrorCount(); in postDownloadPatchram()213 if (SpdHelper::isSpdDebug()) in postDownloadPatchram()439 if (!SpdHelper::isPatchBad((uint8_t*)sPrmBuf, lenPrmBuffer)) { in StartPatchDownload()460 postDownloadPatchram(SpdHelper::isSpdDebug() ? HAL_NFC_STATUS_FAILED in StartPatchDownload()
26 class SpdHelper {34 SpdHelper();35 static SpdHelper& getInstance();