Home
last modified time | relevance | path

Searched refs:ANQPNetworkKey (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPNetworkKeyTest.java42 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, 0, 0, ANQP_DOMAIN_ID); in buildStandardESSKey()
43 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, 0, ANQP_DOMAIN_ID); in buildStandardESSKey()
54 ANQPNetworkKey expectedKey = new ANQPNetworkKey(null, 0, HESSID, ANQP_DOMAIN_ID); in buildHessidKey()
55 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, ANQP_DOMAIN_ID); in buildHessidKey()
66 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, BSSID, 0, 0); in buildAPKey()
67 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, 0); in buildAPKey()
DAnqpCacheTest.java43 private static final ANQPNetworkKey ENTRY_KEY = new ANQPNetworkKey("test", 0L, 0L, 1);
DANQPRequestManagerTest.java48 private static final ANQPNetworkKey TEST_ANQP_KEY =
49 new ANQPNetworkKey("TestSSID", TEST_BSSID, 0, 0);
DPasspointManagerTest.java157 private static final ANQPNetworkKey TEST_ANQP_KEY = ANQPNetworkKey.buildKey(
159 private static final ANQPNetworkKey TEST_ANQP_KEY2 = ANQPNetworkKey.buildKey(
487 verify(mAnqpCache, never()).addEntry(any(ANQPNetworkKey.class), anyMap()); in anqpResponseSuccessWithUnknownRequest()
499 verify(mAnqpCache, never()).addEntry(any(ANQPNetworkKey.class), anyMap()); in anqpResponseFailure()
854 verify(mAnqpRequestManager).requestANQPElements(eq(TEST_BSSID), any(ANQPNetworkKey.class), in matchProviderWithAnqpCacheMissed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPNetworkKey.java31 public class ANQPNetworkKey { class
37 public ANQPNetworkKey(String ssid, long bssid, long hessid, int anqpDomainID) { in ANQPNetworkKey() method in ANQPNetworkKey
59 public static ANQPNetworkKey buildKey(String ssid, long bssid, long hessid, int anqpDomainId) { in buildKey()
61 return new ANQPNetworkKey(ssid, bssid, 0, 0); in buildKey()
63 return new ANQPNetworkKey(null, 0, hessid, anqpDomainId); in buildKey()
65 return new ANQPNetworkKey(ssid, 0, 0, anqpDomainId); in buildKey()
84 if (!(thatObject instanceof ANQPNetworkKey)) { in equals()
87 ANQPNetworkKey that = (ANQPNetworkKey) thatObject; in equals()
DAnqpCache.java41 private final Map<ANQPNetworkKey, ANQPData> mANQPCache;
55 public void addEntry(ANQPNetworkKey key, in addEntry()
67 public ANQPData getEntry(ANQPNetworkKey key) { in getEntry()
82 List<ANQPNetworkKey> expiredKeys = new ArrayList<>(); in sweep()
83 for (Map.Entry<ANQPNetworkKey, ANQPData> entry : mANQPCache.entrySet()) { in sweep()
90 for (ANQPNetworkKey key : expiredKeys) { in sweep()
99 for (Map.Entry<ANQPNetworkKey, ANQPData> entry : mANQPCache.entrySet()) { in dump()
DANQPRequestManager.java45 private final Map<Long, ANQPNetworkKey> mPendingQueries;
119 public boolean requestANQPElements(long bssid, ANQPNetworkKey anqpNetworkKey, boolean rcOIs, in requestANQPElements()
146 public ANQPNetworkKey onRequestCompleted(long bssid, boolean success) { in onRequestCompleted()
DPasspointManager.java153 ANQPNetworkKey anqpKey = in onANQPResponse()
492 ANQPNetworkKey anqpKey = ANQPNetworkKey.buildKey(scanResult.SSID, bssid, in findEapMethodFromNAIRealmMatchedWithCarrier()
782 ANQPNetworkKey anqpKey = ANQPNetworkKey.buildKey(scanResult.SSID, bssid, scanResult.hessid, in getAllMatchedProviders()
898 ANQPData anqpEntry = mAnqpCache.getEntry(ANQPNetworkKey.buildKey( in getANQPElements()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java52 import com.android.server.wifi.hotspot2.ANQPNetworkKey;
2088 Map<ANQPNetworkKey, Integer> passpointR1UniqueEss = new HashMap<>(); in incrementAvailableNetworksHistograms()
2089 Map<ANQPNetworkKey, Integer> passpointR2UniqueEss = new HashMap<>(); in incrementAvailableNetworksHistograms()
2124 ANQPNetworkKey uniqueEss = ANQPNetworkKey.buildKey(scanResult.SSID, bssid, in incrementAvailableNetworksHistograms()