Searched refs:systemCode (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | NfcFCardEmulation.java | 161 public boolean registerSystemCodeForService(ComponentName service, String systemCode) in registerSystemCodeForService() argument 163 if (service == null || systemCode == null) { in registerSystemCodeForService() 168 service, systemCode); in registerSystemCodeForService() 178 service, systemCode); in registerSystemCodeForService() 426 public static boolean isValidSystemCode(String systemCode) { in isValidSystemCode() argument 427 if (systemCode == null) { in isValidSystemCode() 430 if (systemCode.length() != 4) { in isValidSystemCode() 431 Log.e(TAG, "System Code " + systemCode + " is not a valid System Code."); in isValidSystemCode() 435 if (!systemCode.startsWith("4") || systemCode.toUpperCase().endsWith("FF")) { in isValidSystemCode() 436 Log.e(TAG, "System Code " + systemCode + " is not a valid System Code."); in isValidSystemCode() [all …]
|
D | NfcFServiceInfo.java | 93 String systemCode, String dynamicSystemCode, String nfcid2, String dynamicNfcid2, in NfcFServiceInfo() argument 97 this.mSystemCode = systemCode; in NfcFServiceInfo() 139 String systemCode = null; in NfcFServiceInfo() local 148 "system-code-filter".equals(tagName) && systemCode == null) { in NfcFServiceInfo() 151 systemCode = a.getString( in NfcFServiceInfo() 153 if (!NfcFCardEmulation.isValidSystemCode(systemCode) && in NfcFServiceInfo() 154 !systemCode.equalsIgnoreCase("NULL")) { in NfcFServiceInfo() 155 Log.e(TAG, "Invalid System Code: " + systemCode); in NfcFServiceInfo() 156 systemCode = null; in NfcFServiceInfo() 181 mSystemCode = (systemCode == null ? "NULL" : systemCode); in NfcFServiceInfo() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | INfcFCardEmulation.aidl | 28 … boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); in registerSystemCodeForService() argument
|