NfcAdapter.getDefaultAdapter(mContext) is returning null. // That means your TI's based Panda Board does not support NFC.
While if you see your error and android_root/cts/tests/tests/app/src/android/app/cts/SystemFeaturesTest.java -> assertNotAvailable() , you can see that:
mPackageManager.hasSystemFeature(feature) is returning true for nfc feature. // Which is contradicting testNfcFeatures()'s statement.
So if your board actually do not support NFC? than mPackageManager.hasSystemFeature(feature) should return false, and for that you will need to remove NFC permission file from /frameworks/native/data/etc/ ie. android.hardware.nfc.xml, com.android.nfc_extras.xml
Or if your board supports NFC? than see and fix why -> NfcAdapter.getDefaultAdapter(mContext) is returning null???
PS: for more details see
/frameworks/base/services/java/com/android/server/pm/PackageManagerService.java --> mAvailableFeatures
/frameworks/base/services/java/com/android/server/pm/PackageManagerService.java --> getSystemAvailableFeatures()
/cts/tests/tests/app/src/android/app/cts/SystemFeaturesTest.java --> testNfcFeatures()
/cts/tests/tests/app/src/android/app/cts/SystemFeaturesTest.java --> assertNotAvailable()
Hope that solves your problem!
Shridutt Kothari
Impetus Infotech Limited
shridut...@gmail.com