Home
last modified time | relevance | path

Searched refs:systemCode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/nfc/cardemulation/
DNfcFServiceInfo.java86 String systemCode, String dynamicSystemCode, String nfcid2, String dynamicNfcid2, in NfcFServiceInfo() argument
90 this.mSystemCode = systemCode; in NfcFServiceInfo()
131 String systemCode = null; in NfcFServiceInfo() local
139 "system-code-filter".equals(tagName) && systemCode == null) { in NfcFServiceInfo()
142 systemCode = a.getString( in NfcFServiceInfo()
144 if (!NfcFCardEmulation.isValidSystemCode(systemCode) && in NfcFServiceInfo()
145 !systemCode.equalsIgnoreCase("NULL")) { in NfcFServiceInfo()
146 Log.e(TAG, "Invalid System Code: " + systemCode); in NfcFServiceInfo()
147 systemCode = null; in NfcFServiceInfo()
165 mSystemCode = (systemCode == null ? "NULL" : systemCode); in NfcFServiceInfo()
[all …]
DNfcFCardEmulation.java161 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 …]
/frameworks/base/core/java/android/nfc/
DINfcFCardEmulation.aidl28 … boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); in registerSystemCodeForService() argument