Searched refs:TEST_ANQP_KEY (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 49 private static final ANQPNetworkKey TEST_ANQP_KEY = field in ANQPRequestManagerTest 121 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestR1ANQPElementsWithoutRC() 135 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, true, in requestR1ANQPElementsWithRC() 149 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestR1R2ANQPElementsWithoutRC() 163 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, true, in requestR1R2ANQPElementsWithRC() 179 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestANQPElementsWithPendingRequest() 186 assertFalse(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestANQPElementsWithPendingRequest() 195 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestANQPElementsWithPendingRequest() 211 assertFalse(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestANQPElementsAfterRequestSendFailure() 218 assertTrue(mManager.requestANQPElements(TEST_BSSID, TEST_ANQP_KEY, false, in requestANQPElementsAfterRequestSendFailure() [all …]
|
D | PasspointManagerTest.java | 157 private static final ANQPNetworkKey TEST_ANQP_KEY = ANQPNetworkKey.buildKey( field in PasspointManagerTest 441 when(mAnqpRequestManager.onRequestCompleted(TEST_BSSID, true)).thenReturn(TEST_ANQP_KEY); in anqpResponseSuccess() 443 verify(mAnqpCache).addEntry(TEST_ANQP_KEY, anqpElementMap); in anqpResponseSuccess() 472 when(mAnqpRequestManager.onRequestCompleted(TEST_BSSID, false)).thenReturn(TEST_ANQP_KEY); in anqpResponseFailure() 949 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(null); in matchProviderWithAnqpCacheMissed() 979 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderAsHomeProvider() 1000 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderAsRoamingProvider() 1022 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchScanResultWithMultipleProviderAsHomeAndRoaming() 1062 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(entry); in matchProviderWithNoMatch() 1086 when(mAnqpCache.getEntry(TEST_ANQP_KEY)).thenReturn(null); in getANQPElementsWithNoMatchFound() [all …]
|