Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java204 @Mock AnqpCache mAnqpCache; field in PasspointManagerTest
254 when(mObjectFactory.makeAnqpCache(mClock)).thenReturn(mAnqpCache); in setUp()
528 verify(mAnqpCache).addOrUpdateEntry(TEST_ANQP_KEY, anqpElementMap); in anqpResponseSuccess()
547 verify(mAnqpCache, never()).addOrUpdateEntry(any(ANQPNetworkKey.class), anyMap()); in anqpResponseSuccessWithUnknownRequest()
559 verify(mAnqpCache, never()).addOrUpdateEntry(any(ANQPNetworkKey.class), anyMap()); in anqpResponseFailure()
1068 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(null); in matchProviderWithAnqpCacheMissed()
1098 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderAsHomeProvider()
1119 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderAsRoamingProvider()
1140 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderWithNoMatch()
1154 verify(mAnqpCache).sweep(); in sweepCache()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java128 private final AnqpCache mAnqpCache; field in PasspointManager
187 mAnqpCache.addOrUpdateEntry(anqpKey, anqpElements); in onANQPResponse()
382 mAnqpCache = objectFactory.makeAnqpCache(clock); in PasspointManager()
928 ANQPData anqpEntry = mAnqpCache.getEntry(anqpKey); in getAllMatchedProviders()
997 mAnqpCache.sweep(); in sweepCache()
1053 ANQPData anqpEntry = mAnqpCache.getEntry(ANQPNetworkKey.buildKey( in getANQPElements()
1341 mAnqpCache.dump(pw); in dump()
1470 mAnqpCache.flush(); in clearAnqpRequestsAndFlushCache()
1564 ANQPData anqpEntry = mAnqpCache.getEntry(anqpKey); in getVenueUrl()