/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
HceFReaderActivity.java | 58 static byte[] createEchoCommand(byte[] nfcid2, byte[] payload) { 59 byte length = (byte) (2 + nfcid2.length + payload.length); 64 System.arraycopy(nfcid2, 0, echo_cmd, 2, nfcid2.length); 65 System.arraycopy(payload, 0, echo_cmd, 2 + nfcid2.length, payload.length); 69 static byte[] createSuccessCommand(byte[] nfcid2) { 70 byte[] cmd = new byte[2 + nfcid2.length]; 71 cmd[0] = (byte) (2 + nfcid2.length); 73 System.arraycopy(nfcid2, 0, cmd, 2, nfcid2.length) [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
NfcFServiceInfo.java | 68 * NFCID2 of the service 73 * NFCID2 of the service registered by API 86 String systemCode, String dynamicSystemCode, String nfcid2, String dynamicNfcid2, 92 this.mNfcid2 = nfcid2; 132 String nfcid2 = null; local 151 "nfcid2-filter".equals(tagName) && nfcid2 == null) { 154 nfcid2 = a.getString( 156 if (!nfcid2.equalsIgnoreCase("RANDOM") && 157 !nfcid2.equalsIgnoreCase("NULL") & [all...] |
NfcFCardEmulation.java | 217 * Retrieves the current NFCID2 for the specified service. 220 * the NFCID2 contained in the Manifest file is returned. If "random" is specified 222 * is returned. After setting an NFCID2 223 * with {@link #setNfcid2ForService(ComponentName, String)}, this NFCID2 is returned. 226 * @return the current NFCID2 252 * Set a NFCID2 for the specified service. 254 * <p>The NFCID2 must be in range from "02FE000000000000" to "02FEFFFFFFFFFFFF". 256 * <p>If a NFCID2 was previously set for this service 260 * <p>Note that you can only set the NFCID2 for a service that 267 * @param nfcid2 The NFCID2 to be registere [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
SystemCodeRoutingManager.java | 62 t3tIdentifier.systemCode, t3tIdentifier.nfcid2); 67 t3tIdentifier.systemCode, t3tIdentifier.nfcid2); 74 "/" + t3tIdentifier.nfcid2); 80 "/" + t3tIdentifier.nfcid2); 111 "/" + t3tIdentifier.nfcid2);
|
RegisteredT3tIdentifiersCache.java | 48 public final String nfcid2; field in class:RegisteredT3tIdentifiersCache.T3tIdentifier 50 T3tIdentifier(String systemCode, String nfcid2) { 52 this.nfcid2 = nfcid2; 62 if (!nfcid2.equalsIgnoreCase(that.nfcid2)) return false; 70 result = 31 * result + nfcid2.hashCode(); 88 public NfcFServiceInfo resolveNfcid2(String nfcid2) { 90 if (DBG) Log.d(TAG, "resolveNfcid2: resolving NFCID " + nfcid2); 92 resolveInfo = mForegroundT3tIdentifiersCache.get(nfcid2); [all...] |
RegisteredNfcFServicesCache.java | 94 public final String nfcid2; field in class:RegisteredNfcFServicesCache.DynamicNfcid2 96 DynamicNfcid2(int uid, String nfcid2) { 98 this.nfcid2 = nfcid2; 111 Maps.newHashMap(); // In memory cache of dynamic NFCID2 store 338 // Apply dynamic NFCID2 mappings 351 service.setOrReplaceDynamicNfcid2(dynamicNfcid2.nfcid2); 360 Log.d(TAG, "Removing dynamic NFCID2 registered by " + 364 // Assign a NFCID2 for services requesting a random NFCID2, then appl 413 String nfcid2 = null; local [all...] |
HostNfcFEmulationManager.java | 47 /** NFCID2 length */ 50 /** Minimum NFC-F packets including length, command code and NFCID2 */ 100 String nfcid2 = findNfcid2(data); local 103 if (nfcid2 != null) { 104 NfcFServiceInfo resolvedService = mT3tIdentifiersCache.resolveNfcid2(nfcid2);
|
CardEmulationManager.java | 491 ComponentName service, String nfcid2) throws RemoteException { 498 userId, Binder.getCallingUid(), service, nfcid2);
|
/system/nfc/src/nfa/include/ |
nfa_ce_api.h | 135 uint16_t system_code, uint8_t nfcid2[NCI_RF_F_UID_LEN],
|
/frameworks/base/core/java/android/nfc/ |
INfcFCardEmulation.aidl | 31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2);
|
/system/nfc/src/nfa/ce/ |
nfa_ce_api.c | 247 uint8_t nfcid2[NCI_RF_F_UID_LEN], 263 memcpy(p_msg->reg_listen.nfcid2, nfcid2, NCI_RF_F_UID_LEN);
|
nfa_ce_act.c | 296 /* Set system code and NFCID2 */ 300 /* Set tag's system code and NFCID2 */ 330 ** Description Generate a random NFCID2 for Type-3 tag 335 void nfa_ce_t3t_generate_rand_nfcid(uint8_t nfcid2[NCI_RF_F_UID_LEN]) { 338 /* For Type-3 tag, nfcid2 starts witn 02:fe */ 339 nfcid2[0] = 0x02; 340 nfcid2[1] = 0xFE; 343 nfcid2[2] = (uint8_t)(rand_seed & 0xFF); 344 nfcid2[3] = (uint8_t)(rand_seed >> 8 & 0xFF); 346 nfcid2[4] = (uint8_t)(rand_seed & 0xFF) [all...] |
/system/nfc/src/nfa/int/ |
nfa_ce_int.h | 89 uint8_t nfcid2[NCI_RF_F_UID_LEN]; member in struct:__anon107353 210 void nfa_ce_t3t_generate_rand_nfcid(uint8_t nfcid2[NCI_RF_F_UID_LEN]);
|
nfa_dta_int.h | 372 void nfa_dta_t3t_nfcid_rand(uint8_t nfcid2[NCI_RF_F_UID_LEN]);
|
/system/nfc/src/nfc/int/ |
ce_int.h | 170 uint8_t nfcid2[NCI_RF_F_UID_LEN]);
|
/packages/apps/Nfc/nci/jni/ |
RoutingManager.cpp | 701 uint8_t nfcid2[NCI_RF_F_UID_LEN]; local 704 memcpy(nfcid2, t3tId + 2, NCI_RF_F_UID_LEN); 706 tNFA_STATUS nfaStat = NFA_CeRegisterFelicaSystemCodeOnDH (systemCode, nfcid2, nfcFCeCallback);
|
NfcTag.cpp | [all...] |
/system/nfc/src/hal/include/ |
nci_defs.h | 663 uint8_t nfcid2[NCI_NFCID2_LEN]; /* NFCID2 generated by the Local NFCC for member in struct:__anon107201
|
/system/nfc/src/nfc/include/ |
nfc_api.h | 585 uint8_t nfcid2[NFC_NFCID2_LEN]; /* NFCID2 generated by the Local NFCC for member in struct:__anon107562 [all...] |
/system/nfc/src/nfc/nfc/ |
nfc_ncif.c | 633 memcpy(p_pf->nfcid2, p_pf->sensf_res, NCI_NFCID2_LEN); 641 STREAM_TO_ARRAY(p_lf->nfcid2, p, NCI_NFCID2_LEN); [all...] |
/system/nfc/src/nfa/dm/ |
nfa_dm_act.c | [all...] |
/prebuilts/sdk/current/ |
android.jar | |