Home
last modified time | relevance | path

Searched refs:AfcClient (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAfcManagerTest.java65 @Captor ArgumentCaptor<AfcClient.Callback> mAfcClientCallbackCaptor;
77 @Mock AfcClient mAfcClient;
87 mAfcClientCallbackCaptor = ArgumentCaptor.forClass(AfcClient.Callback.class); 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()
282 any(AfcClient.Callback.class)); in testNullLocationChange()
298 AfcClient.Callback afcClientCallback = mAfcClientCallbackCaptor.getValue(); in testQueryAfterExpiredTime()
310 any(Handler.class), any(AfcClient.Callback.class)); in testQueryAfterExpiredTime()
318 any(Handler.class), any(AfcClient.Callback.class)); in testQueryAfterExpiredTime()
333 AfcClient.Callback afcClientCallback = mAfcClientCallbackCaptor.getValue(); in testQueryAfterLocationChange()
[all …]
DAfcClientTest.java67 @Mock AfcClient.Callback mCallback;
68 private AfcClient mAfcClient;
110 mAfcClient = new AfcClient(backgroundHandler); in setUp()
199 verify(mCallback).onFailure(AfcClient.REASON_SERVICE_ENTITLEMENT_FAILURE, in testSendHTTPRequestFail()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcClient.java43 public class AfcClient { class
75 AfcClient(Handler backgroundHandler) { in AfcClient() method in AfcClient
171 deviceDescriptor.put("serialNumber", AfcClient.SERIAL_NUMBER); in getAfcRequestJSONObject()
173 certificationId.put("nra", AfcClient.NRA); in getAfcRequestJSONObject()
174 certificationId.put("id", AfcClient.ID); in getAfcRequestJSONObject()
176 deviceDescriptor.put("rulesetIds", AfcClient.RULE_SET_ID); in getAfcRequestJSONObject()
184 range.put("lowFrequency", AfcClient.LOW_FREQUENCY); in getAfcRequestJSONObject()
185 range.put("highFrequency", AfcClient.HIGH_FREQUENCY); in getAfcRequestJSONObject()
191 requestObject.put("version", AfcClient.VERSION); in getAfcRequestJSONObject()
DAfcManager.java54 private final AfcClient mAfcClient;
56 private final AfcClient.Callback mCallback;
87 mCallback = new AfcClient.Callback() { in AfcManager()
DWifiInjector.java265 private final AfcClient mAfcClient;
612 mAfcClient = new AfcClient(BackgroundThread.getHandler()); in WifiInjector()
1239 public AfcClient getAfcClient() { in getAfcClient()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp101 "com.android.server.wifi.AfcClient",
102 "com.android.server.wifi.AfcClient$*",
103 "com.android.server.wifi.AfcClient.**",