Home
last modified time | relevance | path

Searched refs:mServiceCache (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java105 final RegisteredServicesCache mServiceCache; field in CardEmulationManager
140 mServiceCache = new RegisteredServicesCache(context, this); in CardEmulationManager()
142 mPreferredServices = new PreferredServices(context, mServiceCache, mAidCache, in CardEmulationManager()
176 mServiceCache = registeredServicesCache; in CardEmulationManager()
188 mServiceCache.initialize(); in initialize()
266 mServiceCache.onUserSwitched(); in onUserSwitched()
277 mServiceCache.onManagedProfileChanged(); in onManagedProfileChanged()
305 mServiceCache.dump(fd, pw, args); in dump()
326 mServiceCache.dumpDebug(proto); in dumpDebug()
485 return mServiceCache.hasService(userId, service) ? service : null; in getDefaultServiceForCategory()
[all …]
DPreferredServices.java76 final RegisteredServicesCache mServiceCache; field in PreferredServices
125 mServiceCache = serviceCache; in PreferredServices()
171 List<ApduServiceInfo> serviceInfos = mServiceCache.getInstalledServices(userId); in onWalletRoleHolderChanged()
361 ApduServiceInfo serviceInfo = mServiceCache.getService( in isForegroundAllowedLocked()
382 ApduServiceInfo paymentServiceInfo = mServiceCache.getService( in isForegroundAllowedLocked()
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceRepository.java35 private final HashMap<Pair<ComponentName, UserHandle>, ConnectionServiceWrapper> mServiceCache = field in ConnectionServiceRepository
48 mServiceCache.remove(Pair.create(service.getComponentName(),
72 ConnectionServiceWrapper service = mServiceCache.get(cacheKey); in getService()
84 mServiceCache.put(cacheKey, service); in getService()
93 mServiceCache.put(cacheKey, service); in setService()
104 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) { in dump()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DPreferredServicesTest.java185 assertThat(services.mServiceCache).isEqualTo(mServicesCache); in testConstructorWhenWalletRoleFeatureIsNotEnabled()
202 assertThat(services.mServiceCache).isEqualTo(mServicesCache); in testConstructorWhenWalletRoleFeatureIsEnabled()