Home
last modified time | relevance | path

Searched refs:dynamicSettings (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java146 final HashMap<ComponentName, DynamicSettings> dynamicSettings = field in RegisteredServicesCache.UserServices
241 RegisteredServicesCache(Context context, Callback callback, SettingsFile dynamicSettings, in RegisteredServicesCache() argument
311 mDynamicSettingsFile = dynamicSettings; in RegisteredServicesCache()
500 userServices.dynamicSettings.entrySet()) { in invalidateCache()
503 DynamicSettings dynamicSettings = entry.getValue(); in invalidateCache() local
505 if (serviceInfo == null || (serviceInfo.getUid() != dynamicSettings.uid)) { in invalidateCache()
509 for (AidGroup group : dynamicSettings.aidGroups.values()) { in invalidateCache()
512 if (dynamicSettings.offHostSE != null) { in invalidateCache()
513 serviceInfo.setOffHostSecureElement(dynamicSettings.offHostSE); in invalidateCache()
515 if (dynamicSettings.shouldDefaultToObserveModeStr != null) { in invalidateCache()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredServicesCacheTest.java307 Assert.assertEquals(3, userServices.dynamicSettings.size()); in testInitialize_filesExist()
309 Assert.assertTrue(userServices.dynamicSettings in testInitialize_filesExist()
311 Assert.assertTrue(userServices.dynamicSettings.containsKey(NON_PAYMENT_SERVICE_COMPONENT)); in testInitialize_filesExist()
315 userServices.dynamicSettings.get(WALLET_HOLDER_SERVICE_COMPONENT); in testInitialize_filesExist()
327 userServices.dynamicSettings.get(NON_PAYMENT_SERVICE_COMPONENT); in testInitialize_filesExist()
396 Assert.assertTrue(userServices.dynamicSettings.isEmpty()); in testInitialize_filesDontExist()
617 RegisteredServicesCache.DynamicSettings dynamicSettings in testSetOffhostSecureElement_existingService_correctUid_nonNullSE() local
621 Assert.assertEquals(newOffHostValue, dynamicSettings.offHostSE); in testSetOffhostSecureElement_existingService_correctUid_nonNullSE()
702 RegisteredServicesCache.DynamicSettings dynamicSettings in testResetOffhostSecureElement_existingService_correctUid() local
706 assertNull(dynamicSettings.offHostSE); in testResetOffhostSecureElement_existingService_correctUid()
[all …]