Searched refs:serviceCache (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceCacheTest.kt | 125 serviceCache: MdnsServiceCache, in <lambda>() 128 ): Unit = runningOnHandlerAndReturn { serviceCache.addOrUpdateService(cacheKey, service) } in <lambda>() 131 serviceCache: MdnsServiceCache, in <lambda>() 134 ): Unit = runningOnHandlerAndReturn { serviceCache.removeService(serviceName, cacheKey) } in <lambda>() 137 serviceCache: MdnsServiceCache, in <lambda>() 141 serviceCache.getCachedService(serviceName, cacheKey) in <lambda>() 145 serviceCache: MdnsServiceCache, in <lambda>() 147 ): List<MdnsResponse> = runningOnHandlerAndReturn { serviceCache.getCachedServices(cacheKey) } in <lambda>() 150 serviceCache: MdnsServiceCache, in <lambda>() 154 serviceCache.registerServiceExpiredCallback(cacheKey, callback) in <lambda>() [all …]
|
D | MdnsServiceTypeClientTests.java | 143 private MdnsServiceCache serviceCache; field in MdnsServiceTypeClientTests 222 serviceCache = new MdnsServiceCache( in setUp() 253 serviceCache, featureFlags); in makeMdnsServiceTypeClient() 1937 serviceCache, in testSendQueryWithKnownAnswers() 2001 serviceCache, in testSendQueryWithSubTypeWithKnownAnswers()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsServiceTypeClient.java | 80 @NonNull private final MdnsServiceCache serviceCache; field in MdnsServiceTypeClient 263 @NonNull MdnsServiceCache serviceCache, in MdnsServiceTypeClient() argument 266 new Dependencies(), serviceCache, featureFlags); in MdnsServiceTypeClient() 279 @NonNull MdnsServiceCache serviceCache, in MdnsServiceTypeClient() argument 291 this.serviceCache = serviceCache; in MdnsServiceTypeClient() 303 serviceCache.unregisterServiceExpiredCallback(cacheKey); in shutDown() 359 ? serviceCache.getCachedServices(cacheKey) : Collections.emptyList(); in getExistingServices() 381 for (MdnsResponse existingResponse : serviceCache.getCachedServices(cacheKey)) { in startSendAndReceive() 431 serviceCache.registerServiceExpiredCallback(cacheKey, serviceExpiredCallback); in startSendAndReceive() 503 final List<MdnsResponse> cachedList = serviceCache.getCachedServices(cacheKey); in processResponse() [all …]
|
D | MdnsDiscoveryManager.java | 61 private MdnsServiceCache serviceCache; field in MdnsDiscoveryManager 378 if (serviceCache == null) { in createServiceTypeClient() 379 serviceCache = new MdnsServiceCache(looper, mdnsFeatureFlags); in createServiceTypeClient() 384 sharedLog.forSubComponent(tag), looper, serviceCache, mdnsFeatureFlags); in createServiceTypeClient()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 118 public PreferredServices(Context context, RegisteredServicesCache serviceCache, in PreferredServices() argument 125 mServiceCache = serviceCache; in PreferredServices()
|