Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPRequestManagerTest.java143 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1ANQPElementsWithoutRC()
146 verify(mHandler).requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC); in requestR1ANQPElementsWithoutRC()
158 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITH_RC)).thenReturn(true); in requestR1ANQPElementsWithRC()
161 verify(mHandler).requestANQP(TEST_BSSID, R1_ANQP_WITH_RC); in requestR1ANQPElementsWithRC()
173 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITHOUT_RC)).thenReturn(true); in requestR1R2ANQPElementsWithoutRC()
176 verify(mHandler).requestANQP(TEST_BSSID, R1R2_ANQP_WITHOUT_RC); in requestR1R2ANQPElementsWithoutRC()
188 when(mHandler.requestANQP(TEST_BSSID, R1R2_ANQP_WITH_RC)).thenReturn(true); in requestR1R2ANQPElementsWithRC()
191 verify(mHandler).requestANQP(TEST_BSSID, R1R2_ANQP_WITH_RC); in requestR1R2ANQPElementsWithRC()
204 when(mHandler.requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC)).thenReturn(false); in requestANQPElementsAfterRequestSendFailure()
208 verify(mHandler).requestANQP(TEST_BSSID, R1_ANQP_WITHOUT_RC); in requestANQPElementsAfterRequestSendFailure()
[all …]
DPasspointEventHandlerTest.java84 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement()
89 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement()
107 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement()
112 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement()
133 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements()
138 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointEventHandler.java81 public boolean requestANQP(long bssid, List<Constants.ANQPElementType> elements) { in requestANQP() method in PasspointEventHandler
DANQPRequestManager.java177 if (mPasspointHandler.requestANQP(request.mBssid, getRequestElementIDs(request.mRcOIs, in processNextRequest()