Home
last modified time | relevance | path

Searched refs:offHostSE (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java121 public String offHostSE; field in RegisteredServicesCache.DynamicSettings
512 if (dynamicSettings.offHostSE != null) { in invalidateCache()
513 serviceInfo.setOffHostSecureElement(dynamicSettings.offHostSE); in invalidateCache()
706 dynSettings.offHostSE = currentOffHostSE; in readDynamicSettingsFromFile()
874 if(service.getValue().offHostSE != null) { in writeDynamicSettingsLocked()
875 out.attribute(null, "offHostSE", service.getValue().offHostSE); in writeDynamicSettingsLocked()
960 String offHostSE) { in setOffHostSecureElement() argument
978 if (offHostSE == null || serviceInfo.isOnHost()) { in setOffHostSecureElement()
987 dynSettings.offHostSE = offHostSE; in setOffHostSecureElement()
991 dynSettings.offHostSE = null; in setOffHostSecureElement()
[all …]
DAidRoutingManager.java87 String offHostSE; field in AidRoutingManager.AidEntry
274 String offHostSE = aidEntry.getValue().offHostSE; in configureRouting() local
275 if (offHostSE == null) { in configureRouting()
278 route = getRouteForSecureElement(offHostSE); in configureRouting()
280 Log.e(TAG, "Invalid Off host Aid Entry " + offHostSE); in configureRouting()
DRegisteredAidCache.java1084 aidType.offHostSE = in updateRoutingLocked()
1104 aidType.offHostSE = in updateRoutingLocked()
1120 String offHostSE = null; in updateRoutingLocked() local
1128 if (offHostSE == null) { in updateRoutingLocked()
1129 offHostSE = service.getOffHostSecureElement(); in updateRoutingLocked()
1132 } else if (!offHostSE.equals( in updateRoutingLocked()
1136 offHostSE = null; in updateRoutingLocked()
1146 offHostSE = null; in updateRoutingLocked()
1156 aidType.offHostSE = onHost ? null : offHostSE; in updateRoutingLocked()
DCardEmulationManager.java733 public boolean setOffHostForService(int userId, ComponentName service, String offHostSE) { in setOffHostForService() argument
740 offHostSE)) { in setOffHostForService()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DAidRoutingManagerTest.java331 aidEntry.offHostSE = "eSE2"; in testConfigureRoutingTestCase3_DoNothing()
383 aidEntry.offHostSE = "eSE2"; in testConfigureRoutingTestCase4_CommitsCache()
603 firstAidEntry.offHostSE = "eSE2"; in getAidMap()
616 thirdAidEntry.offHostSE = "invalid SE"; in getAidMap()
623 fourthAidEntry.offHostSE = "SIM1"; in getAidMap()
DRegisteredAidCacheTest.java282 Assert.assertNull(routingEntries.get(PAYMENT_AID_1).offHostSE); in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
283 Assert.assertNull(routingEntries.get(NON_PAYMENT_AID_1).offHostSE); in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
443 Assert.assertNull(routingEntries.get(NON_PAYMENT_AID_1).offHostSE); in testOnServicesUpdated_walletRoleEnabled()
DRegisteredServicesCacheTest.java316 Assert.assertEquals(OFFHOST_SE_STRING+"1", walletHolderSettings.offHostSE); in testInitialize_filesExist()
328 Assert.assertEquals(OFFHOST_SE_STRING+"2", nonPaymentSettings.offHostSE); in testInitialize_filesExist()
621 Assert.assertEquals(newOffHostValue, dynamicSettings.offHostSE); in testSetOffhostSecureElement_existingService_correctUid_nonNullSE()
706 assertNull(dynamicSettings.offHostSE); in testResetOffhostSecureElement_existingService_correctUid()