Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DSystemCodeRoutingManager.java64 t3tIdentifier.systemCode, t3tIdentifier.nfcid2, t3tIdentifier.t3tPmm); in configureRouting()
69 t3tIdentifier.systemCode, t3tIdentifier.nfcid2 , t3tIdentifier.t3tPmm); in configureRouting()
75 Log.d(TAG, " " + t3tIdentifier.systemCode + in configureRouting()
81 Log.d(TAG, " " + t3tIdentifier.systemCode + in configureRouting()
113 pw.println(" " + t3tIdentifier.systemCode + in dump()
133 t3tIdentifier.systemCode); in dumpDebug()
DRegisteredNfcFServicesCache.java95 public final String systemCode; field in RegisteredNfcFServicesCache.DynamicSystemCode
97 DynamicSystemCode(int uid, String systemCode) { in DynamicSystemCode() argument
99 this.systemCode = systemCode; in DynamicSystemCode()
376 service.setDynamicSystemCode(dynamicSystemCode.systemCode); in invalidateCache()
463 String systemCode = null; in readDynamicSystemCodeNfcid2Locked() local
480 systemCode = parser.getAttributeValue(null, "system-code"); in readDynamicSystemCodeNfcid2Locked()
495 if (systemCode != null) { in readDynamicSystemCodeNfcid2Locked()
497 new DynamicSystemCode(currentUid, systemCode); in readDynamicSystemCodeNfcid2Locked()
510 systemCode = null; in readDynamicSystemCodeNfcid2Locked()
549 out.attribute(null, "system-code", entry.getValue().systemCode); in writeDynamicSystemCodeNfcid2Locked()
[all …]
DRegisteredT3tIdentifiersCache.java56 public final String systemCode; field in RegisteredT3tIdentifiersCache.T3tIdentifier
60 T3tIdentifier(String systemCode, String nfcid2, String t3tPmm) { in T3tIdentifier() argument
61 this.systemCode = systemCode; in T3tIdentifier()
72 if (!systemCode.equalsIgnoreCase(that.systemCode)) return false; in equals()
80 int result = systemCode.hashCode(); in hashCode()
DCardEmulationManager.java967 String systemCode) in registerSystemCodeForService() argument
975 userId, Binder.getCallingUid(), service, systemCode); in registerSystemCodeForService()
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp1006 uint16_t systemCode; in registerT3tIdentifier() local
1010 systemCode = (((int)t3tId[0] << 8) | ((int)t3tId[1] << 0)); in registerT3tIdentifier()
1016 systemCode, nfcid2, t3tPmm, nfcFCeCallback); in registerT3tIdentifier()
1029 tNFA_STATUS nfaStat = NFA_EeAddSystemCodeRouting(systemCode, NCI_DH_ID, in registerT3tIdentifier()
1040 mMapScbrHandle.emplace(mNfcFOnDhHandle, systemCode); in registerT3tIdentifier()
1068 uint16_t systemCode = it->second; in deregisterT3tIdentifier() local
1070 if (systemCode != 0) { in deregisterT3tIdentifier()
1072 tNFA_STATUS nfaStat = NFA_EeRemoveSystemCodeRouting(systemCode); in deregisterT3tIdentifier()
DNfcTag.cpp742 uint16_t systemCode = *(activationData.params.t3t.p_system_codes); in fillNativeNfcTagMembers3() local
743 result[8] = (uint8_t)(systemCode >> 8); in fillNativeNfcTagMembers3()
744 result[9] = (uint8_t)systemCode; in fillNativeNfcTagMembers3()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DCardEmulationManagerTest.java1495 String systemCode = "systemCode"; in testNfcFCardEmulationGetSystemCodeForService_serviceExists() local
1499 anyInt(), any())).thenReturn(systemCode); in testNfcFCardEmulationGetSystemCodeForService_serviceExists()
1502 .getSystemCodeForService(USER_ID, WALLET_PAYMENT_SERVICE), systemCode); in testNfcFCardEmulationGetSystemCodeForService_serviceExists() local
1521 String systemCode = "systemCode"; in testNfcFCardEmulationGetSystemCodeForService_serviceDoesNotExists() local
1525 anyInt(), any())).thenReturn(systemCode); in testNfcFCardEmulationGetSystemCodeForService_serviceDoesNotExists()
1546 String systemCode = "systemCode"; in testNfcFCardEmulationRegisterSystemCodeForService_serviceExists() local
1553 .registerSystemCodeForService(USER_ID, WALLET_PAYMENT_SERVICE, systemCode)); in testNfcFCardEmulationRegisterSystemCodeForService_serviceExists()
1565 eq(WALLET_PAYMENT_SERVICE), eq(systemCode)); in testNfcFCardEmulationRegisterSystemCodeForService_serviceExists()
1572 String systemCode = "systemCode"; in testNfcFCardEmulationRegisterSystemCodeForService_serviceDoesNotExists() local
1579 .registerSystemCodeForService(USER_ID, WALLET_PAYMENT_SERVICE, systemCode)); in testNfcFCardEmulationRegisterSystemCodeForService_serviceDoesNotExists()
DRegisteredT3tIdentifiersCacheTest.java172 Assert.assertEquals(SYSTEM_CODE, identifier.systemCode); in testOnSecureNfcToggledWithNfcEnabled_ConfiguresRouting()
246 Assert.assertEquals(SYSTEM_CODE, identifier.systemCode); in testOnEnabledForegroundNfcFServiceChangedCase3()
DRegisteredNfcFServicesCacheTest.java497 Assert.assertEquals(SYSTEM_CODE.toUpperCase(Locale.ROOT), resultSystemCode.systemCode); in testRegisterSystemCodeForService_ReturnsTrue()
547 Assert.assertEquals("NULL", resultSystemCode.systemCode); in testRemoveSystemCodeForService_ReturnsTrue()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java3535 private byte[] getT3tIdentifierBytes(String systemCode, String nfcId2, String t3tPmm) { in getT3tIdentifierBytes() argument
3537 buffer.put(hexStringToBytes(systemCode)); in getT3tIdentifierBytes()
3547 public void registerT3tIdentifier(String systemCode, String nfcId2, String t3tPmm) { in registerT3tIdentifier() argument
3550 byte[] t3tIdentifier = getT3tIdentifierBytes(systemCode, nfcId2, t3tPmm); in registerT3tIdentifier()
3554 public void deregisterT3tIdentifier(String systemCode, String nfcId2, String t3tPmm) { in deregisterT3tIdentifier() argument
3557 byte[] t3tIdentifier = getT3tIdentifierBytes(systemCode, nfcId2, t3tPmm); in deregisterT3tIdentifier()