Fix warnings from static analysis tools(jni)
1. FORWARD/REVERSE NULL
a. RoutingManager::updateEeTechRouteSetting()
Added null check for eventData
2. DEADCODE
a. phFriNfc_MifareStdMap.cpp: phFriNfc_MifStd_H_GetNxtTLV()
duplicate code in if-else block
b. phFriNfc_MifareStdMap.cpp: phFriNfc_MifStd_H_BlkChk()
sectorID check for >SECTOR_31 and < SECTOR_32 already
covers all the scenarios and else block is redundant
c. phNxpExtns_MifareStd.cpp: Mfc_ReadNdef()
Offset is always set to phLibNfc_Ndef_EBegin
3. OVERLAPPING_COPY
a. phFriNfc_MifStdMap.cpp: phFriNfc_MifStd_H_ProBytesToWr()
replaced memcpy with memmove
4. UNINITIALIZED variables
a. IntervalTimer.cpp : variables initialized
5. PASS_BY_VALUE
a. phNxpExtns.cpp: EXTNS_MfcInit()
tNFA_ACTIVATED is bulky and is updated to pass
by reference
Bug: 142626701
Test: Nfc-On/Off, Tag read, HCE, CE-eSE
Merged-In: If3c25fff1681cb7846ca50cae942e5f5760691d0
Change-Id: If3c25fff1681cb7846ca50cae942e5f5760691d0
6 files changed