Searched refs:nfcid2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | NfcFServiceInfo.java | 86 String systemCode, String dynamicSystemCode, String nfcid2, String dynamicNfcid2, in NfcFServiceInfo() argument 92 this.mNfcid2 = nfcid2; in NfcFServiceInfo() 132 String nfcid2 = null; in NfcFServiceInfo() local 151 "nfcid2-filter".equals(tagName) && nfcid2 == null) { in NfcFServiceInfo() 154 nfcid2 = a.getString( in NfcFServiceInfo() 156 if (!nfcid2.equalsIgnoreCase("RANDOM") && in NfcFServiceInfo() 157 !nfcid2.equalsIgnoreCase("NULL") && in NfcFServiceInfo() 158 !NfcFCardEmulation.isValidNfcid2(nfcid2)) { in NfcFServiceInfo() 159 Log.e(TAG, "Invalid NFCID2: " + nfcid2); in NfcFServiceInfo() 160 nfcid2 = null; in NfcFServiceInfo() [all …]
|
D | NfcFCardEmulation.java | 270 public boolean setNfcid2ForService(ComponentName service, String nfcid2) in setNfcid2ForService() argument 272 if (service == null || nfcid2 == null) { in setNfcid2ForService() 277 service, nfcid2); in setNfcid2ForService() 287 service, nfcid2); in setNfcid2ForService() 451 public static boolean isValidNfcid2(String nfcid2) { in isValidNfcid2() argument 452 if (nfcid2 == null) { in isValidNfcid2() 455 if (nfcid2.length() != 16) { in isValidNfcid2() 456 Log.e(TAG, "NFCID2 " + nfcid2 + " is not a valid NFCID2."); in isValidNfcid2() 460 if (!nfcid2.toUpperCase().startsWith("02FE")) { in isValidNfcid2() 461 Log.e(TAG, "NFCID2 " + nfcid2 + " is not a valid NFCID2."); in isValidNfcid2() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | INfcFCardEmulation.aidl | 31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService() argument
|