Searched refs:mAfcClient (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | AfcManagerTest.java | 77 @Mock AfcClient mAfcClient; field in AfcManagerTest 95 when(mWifiInjector.getAfcClient()).thenReturn(mAfcClient); in setUp() 158 verify(mAfcClient).queryAfcServer(any(AfcLocation.class), any(Handler.class), any(AfcClient in testUpdateLastKnownLocationOnLocationChange() 188 verify(mAfcClient).queryAfcServer(any(AfcLocation.class), any(Handler.class), any(AfcClient in testGetLocationAfterCountryCodeChange() 281 verify(mAfcClient, never()).queryAfcServer(any(AfcLocation.class), any(Handler.class), in testNullLocationChange() 296 verify(mAfcClient).queryAfcServer(any(AfcLocation.class), any(Handler.class), in testQueryAfterExpiredTime() 309 verify(mAfcClient, times(1)).queryAfcServer(any(AfcLocation.class), in testQueryAfterExpiredTime() 317 verify(mAfcClient, times(2)).queryAfcServer(any(AfcLocation.class), in testQueryAfterExpiredTime() 331 verify(mAfcClient).queryAfcServer(any(AfcLocation.class), any(Handler.class), in testQueryAfterLocationChange() 346 verify(mAfcClient, times(1)).queryAfcServer(any(AfcLocation.class), in testQueryAfterLocationChange() [all …]
|
D | AfcClientTest.java | 68 private AfcClient mAfcClient; field in AfcClientTest 110 mAfcClient = new AfcClient(backgroundHandler); in setUp() 111 mAfcClient.setServerURL("https://testingURL"); in setUp() 140 mAfcClient.queryAfcServer(mAfcLocation, mWifiHandler, mCallback); in testHTTPRequestInitialization() 157 mAfcClient.queryAfcServer(mAfcLocation, mWifiHandler, mCallback); in testHTTPRequestInitialization() 175 mAfcClient.queryAfcServer(mAfcLocation, mWifiHandler, mCallback); in testSendRequestAndReceiveResponse() 177 assertThat(mAfcClient.getAfcHttpRequestObject(mAfcLocation).url()).isEqualTo( in testSendRequestAndReceiveResponse() 197 mAfcClient.queryAfcServer(mAfcLocation, mWifiHandler, mCallback); in testSendHTTPRequestFail()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | AfcManager.java | 54 private final AfcClient mAfcClient; field in AfcManager 78 mAfcClient = wifiInjector.getAfcClient(); in AfcManager() 250 mAfcClient.setServerURL(mServerUrlSetFromShellCommand); in queryServerAndInformDriver() 251 mAfcClient.setRequestPropertyPairs(mServerRequestPropertiesSetFromShellCommand); in queryServerAndInformDriver() 253 mAfcClient.setServerURL(mAfcServerUrl); in queryServerAndInformDriver() 259 mAfcClient.queryAfcServer(afcLocationForQuery, new Handler(mWifiHandlerThread.getLooper()), in queryServerAndInformDriver()
|
D | WifiInjector.java | 265 private final AfcClient mAfcClient; field in WifiInjector 612 mAfcClient = new AfcClient(BackgroundThread.getHandler()); in WifiInjector() 1240 return mAfcClient; in getAfcClient()
|