1{
2  "methods": {
3    "addNetwork(android.net.wifi.WifiConfiguration)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "config"
10      ],
11      "returnType": "int",
12      "exceptions": [],
13      "name": "addNetwork(android.net.wifi.WifiConfiguration)"
14    },
15    "calculateSignalLevel(int,int)": {
16      "isImplementation": true,
17      "modifiers": [
18        "protected",
19        "static"
20      ],
21      "params": [
22        "rssi",
23        "numLevels"
24      ],
25      "returnType": "int",
26      "exceptions": [],
27      "name": "calculateSignalLevel(int,int)"
28    },
29    "checkAccessWifiStatePermission()": {
30      "isImplementation": false,
31      "modifiers": [
32        "private"
33      ],
34      "params": [],
35      "returnType": "void",
36      "exceptions": [],
37      "name": "checkAccessWifiStatePermission()"
38    },
39    "connect(android.net.wifi.WifiConfiguration,android.net.wifi.WifiManager.ActionListener)": {
40      "isImplementation": true,
41      "modifiers": [
42        "protected"
43      ],
44      "params": [
45        "wifiConfiguration",
46        "listener"
47      ],
48      "returnType": "void",
49      "exceptions": [],
50      "minSdk": 19,
51      "name": "connect(android.net.wifi.WifiConfiguration,android.net.wifi.WifiManager.ActionListener)"
52    },
53    "connect(int,android.net.wifi.WifiManager.ActionListener)": {
54      "isImplementation": true,
55      "modifiers": [
56        "protected"
57      ],
58      "params": [
59        "networkId",
60        "listener"
61      ],
62      "returnType": "void",
63      "exceptions": [],
64      "minSdk": 19,
65      "name": "connect(int,android.net.wifi.WifiManager.ActionListener)"
66    },
67    "createMulticastLock(java.lang.String)": {
68      "isImplementation": true,
69      "modifiers": [
70        "protected"
71      ],
72      "params": [
73        "tag"
74      ],
75      "returnType": "android.net.wifi.WifiManager.MulticastLock",
76      "exceptions": [],
77      "name": "createMulticastLock(java.lang.String)"
78    },
79    "createWifiLock(int,java.lang.String)": {
80      "isImplementation": true,
81      "modifiers": [
82        "protected"
83      ],
84      "params": [
85        "lockType",
86        "tag"
87      ],
88      "returnType": "android.net.wifi.WifiManager.WifiLock",
89      "exceptions": [],
90      "name": "createWifiLock(int,java.lang.String)"
91    },
92    "createWifiLock(java.lang.String)": {
93      "isImplementation": true,
94      "modifiers": [
95        "protected"
96      ],
97      "params": [
98        "tag"
99      ],
100      "returnType": "android.net.wifi.WifiManager.WifiLock",
101      "exceptions": [],
102      "name": "createWifiLock(java.lang.String)"
103    },
104    "enableNetwork(int,boolean)": {
105      "isImplementation": true,
106      "modifiers": [
107        "protected"
108      ],
109      "params": [
110        "netId",
111        "disableOthers"
112      ],
113      "returnType": "boolean",
114      "exceptions": [],
115      "name": "enableNetwork(int,boolean)"
116    },
117    "getActiveLockCount()": {
118      "isImplementation": false,
119      "modifiers": [
120        "public"
121      ],
122      "params": [],
123      "returnType": "int",
124      "exceptions": [],
125      "name": "getActiveLockCount()",
126      "documentation": "Returns the number of WifiLocks and MulticastLocks that are currently acquired. "
127    },
128    "getConfiguredNetworks()": {
129      "isImplementation": true,
130      "modifiers": [
131        "protected"
132      ],
133      "params": [],
134      "returnType": "java.util.List\u003candroid.net.wifi.WifiConfiguration\u003e",
135      "exceptions": [],
136      "name": "getConfiguredNetworks()"
137    },
138    "getConnectionInfo()": {
139      "isImplementation": true,
140      "modifiers": [
141        "protected"
142      ],
143      "params": [],
144      "returnType": "android.net.wifi.WifiInfo",
145      "exceptions": [],
146      "name": "getConnectionInfo()"
147    },
148    "getDhcpInfo()": {
149      "isImplementation": true,
150      "modifiers": [
151        "protected"
152      ],
153      "params": [],
154      "returnType": "android.net.DhcpInfo",
155      "exceptions": [],
156      "name": "getDhcpInfo()"
157    },
158    "getLastEnabledNetwork()": {
159      "isImplementation": false,
160      "modifiers": [
161        "public"
162      ],
163      "params": [],
164      "returnType": "android.util.Pair\u003cjava.lang.Integer,java.lang.Boolean\u003e",
165      "exceptions": [],
166      "name": "getLastEnabledNetwork()"
167    },
168    "getMostRecentNetwork()": {
169      "isImplementation": false,
170      "modifiers": [
171        "private"
172      ],
173      "params": [],
174      "returnType": "android.net.wifi.WifiConfiguration",
175      "exceptions": [],
176      "name": "getMostRecentNetwork()"
177    },
178    "getPrivilegedConfiguredNetworks()": {
179      "isImplementation": true,
180      "modifiers": [
181        "protected"
182      ],
183      "params": [],
184      "returnType": "java.util.List\u003candroid.net.wifi.WifiConfiguration\u003e",
185      "exceptions": [],
186      "minSdk": 21,
187      "name": "getPrivilegedConfiguredNetworks()"
188    },
189    "getScanResults()": {
190      "isImplementation": true,
191      "modifiers": [
192        "protected"
193      ],
194      "params": [],
195      "returnType": "java.util.List\u003candroid.net.wifi.ScanResult\u003e",
196      "exceptions": [],
197      "name": "getScanResults()"
198    },
199    "getWifiConfiguration(int)": {
200      "isImplementation": false,
201      "modifiers": [
202        "public"
203      ],
204      "params": [
205        "netId"
206      ],
207      "returnType": "android.net.wifi.WifiConfiguration",
208      "exceptions": [],
209      "name": "getWifiConfiguration(int)"
210    },
211    "getWifiState()": {
212      "isImplementation": true,
213      "modifiers": [
214        "protected"
215      ],
216      "params": [],
217      "returnType": "int",
218      "exceptions": [],
219      "name": "getWifiState()"
220    },
221    "is5GHzBandSupported()": {
222      "isImplementation": true,
223      "modifiers": [
224        "protected"
225      ],
226      "params": [],
227      "returnType": "boolean",
228      "exceptions": [],
229      "minSdk": 21,
230      "name": "is5GHzBandSupported()"
231    },
232    "isQuoted(java.lang.String)": {
233      "isImplementation": false,
234      "modifiers": [
235        "private",
236        "static"
237      ],
238      "params": [
239        "str"
240      ],
241      "returnType": "boolean",
242      "exceptions": [],
243      "name": "isQuoted(java.lang.String)"
244    },
245    "isScanAlwaysAvailable()": {
246      "isImplementation": true,
247      "modifiers": [
248        "protected"
249      ],
250      "params": [],
251      "returnType": "boolean",
252      "exceptions": [],
253      "minSdk": 18,
254      "name": "isScanAlwaysAvailable()"
255    },
256    "isWifiEnabled()": {
257      "isImplementation": true,
258      "modifiers": [
259        "protected"
260      ],
261      "params": [],
262      "returnType": "boolean",
263      "exceptions": [],
264      "name": "isWifiEnabled()"
265    },
266    "makeCopy(android.net.wifi.WifiConfiguration,int)": {
267      "isImplementation": false,
268      "modifiers": [
269        "private"
270      ],
271      "params": [
272        "config",
273        "networkId"
274      ],
275      "returnType": "android.net.wifi.WifiConfiguration",
276      "exceptions": [],
277      "name": "makeCopy(android.net.wifi.WifiConfiguration,int)"
278    },
279    "reconnect()": {
280      "isImplementation": true,
281      "modifiers": [
282        "protected"
283      ],
284      "params": [],
285      "returnType": "boolean",
286      "exceptions": [],
287      "name": "reconnect()"
288    },
289    "removeNetwork(int)": {
290      "isImplementation": true,
291      "modifiers": [
292        "protected"
293      ],
294      "params": [
295        "netId"
296      ],
297      "returnType": "boolean",
298      "exceptions": [],
299      "name": "removeNetwork(int)"
300    },
301    "saveConfiguration()": {
302      "isImplementation": true,
303      "modifiers": [
304        "protected"
305      ],
306      "params": [],
307      "returnType": "boolean",
308      "exceptions": [],
309      "name": "saveConfiguration()"
310    },
311    "setAccessWifiStatePermission(boolean)": {
312      "isImplementation": false,
313      "modifiers": [
314        "public"
315      ],
316      "params": [
317        "accessWifiStatePermission"
318      ],
319      "returnType": "void",
320      "exceptions": [],
321      "name": "setAccessWifiStatePermission(boolean)"
322    },
323    "setConnectionInfo(android.net.wifi.WifiInfo)": {
324      "isImplementation": false,
325      "modifiers": [
326        "public"
327      ],
328      "params": [
329        "wifiInfo"
330      ],
331      "returnType": "void",
332      "exceptions": [],
333      "name": "setConnectionInfo(android.net.wifi.WifiInfo)",
334      "documentation": "Sets the connection info as the provided {@link WifiInfo}.\n"
335    },
336    "setDhcpInfo(android.net.DhcpInfo)": {
337      "isImplementation": false,
338      "modifiers": [
339        "public"
340      ],
341      "params": [
342        "dhcpInfo"
343      ],
344      "returnType": "void",
345      "exceptions": [],
346      "name": "setDhcpInfo(android.net.DhcpInfo)"
347    },
348    "setIs5GHzBandSupported(boolean)": {
349      "isImplementation": false,
350      "modifiers": [
351        "public"
352      ],
353      "params": [
354        "is5GHzBandSupported"
355      ],
356      "returnType": "void",
357      "exceptions": [],
358      "name": "setIs5GHzBandSupported(boolean)",
359      "documentation": "Sets whether 5ghz band is supported. "
360    },
361    "setIsScanAlwaysAvailable(boolean)": {
362      "isImplementation": false,
363      "modifiers": [
364        "public"
365      ],
366      "params": [
367        "isScanAlwaysAvailable"
368      ],
369      "returnType": "void",
370      "exceptions": [],
371      "name": "setIsScanAlwaysAvailable(boolean)"
372    },
373    "setScanResults(java.util.List\u003candroid.net.wifi.ScanResult\u003e)": {
374      "isImplementation": false,
375      "modifiers": [
376        "public"
377      ],
378      "params": [
379        "scanResults"
380      ],
381      "returnType": "void",
382      "exceptions": [],
383      "name": "setScanResults(java.util.List\u003candroid.net.wifi.ScanResult\u003e)"
384    },
385    "setSignalLevelInPercent(float)": {
386      "isImplementation": false,
387      "modifiers": [
388        "public",
389        "static"
390      ],
391      "params": [
392        "level"
393      ],
394      "returnType": "void",
395      "exceptions": [],
396      "name": "setSignalLevelInPercent(float)"
397    },
398    "setStartScanSucceeds(boolean)": {
399      "isImplementation": false,
400      "modifiers": [
401        "public"
402      ],
403      "params": [
404        "succeeds"
405      ],
406      "returnType": "void",
407      "exceptions": [],
408      "name": "setStartScanSucceeds(boolean)",
409      "documentation": "Sets the return value of {@link #startScan}. "
410    },
411    "setWifiEnabled(boolean)": {
412      "isImplementation": true,
413      "modifiers": [
414        "protected"
415      ],
416      "params": [
417        "wifiEnabled"
418      ],
419      "returnType": "boolean",
420      "exceptions": [],
421      "name": "setWifiEnabled(boolean)"
422    },
423    "shadowOf(android.net.wifi.WifiManager)": {
424      "isImplementation": false,
425      "modifiers": [
426        "private",
427        "static"
428      ],
429      "params": [
430        "o"
431      ],
432      "returnType": "org.robolectric.shadows.ShadowWifiManager",
433      "exceptions": [],
434      "name": "shadowOf(android.net.wifi.WifiManager)"
435    },
436    "shadowOf(android.net.wifi.WifiManager.MulticastLock)": {
437      "isImplementation": false,
438      "modifiers": [
439        "private",
440        "static"
441      ],
442      "params": [
443        "o"
444      ],
445      "returnType": "org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock",
446      "exceptions": [],
447      "name": "shadowOf(android.net.wifi.WifiManager.MulticastLock)"
448    },
449    "shadowOf(android.net.wifi.WifiManager.WifiLock)": {
450      "isImplementation": false,
451      "modifiers": [
452        "private",
453        "static"
454      ],
455      "params": [
456        "o"
457      ],
458      "returnType": "org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock",
459      "exceptions": [],
460      "name": "shadowOf(android.net.wifi.WifiManager.WifiLock)"
461    },
462    "startScan()": {
463      "isImplementation": true,
464      "modifiers": [
465        "protected"
466      ],
467      "params": [],
468      "returnType": "boolean",
469      "exceptions": [],
470      "name": "startScan()",
471      "documentation": "Does nothing and returns the configured success status.\n\n\u003cp\u003eThat is different from the Android implementation which always returns {@code true} up to\nand including Android 8, and either {@code true} or {@code false} on Android 9+.\n\n@return the value configured by {@link #setStartScanSucceeds}, or {@code true} if that method\n    was never called.\n"
472    },
473    "stripQuotes(java.lang.String)": {
474      "isImplementation": false,
475      "modifiers": [
476        "private",
477        "static"
478      ],
479      "params": [
480        "str"
481      ],
482      "returnType": "java.lang.String",
483      "exceptions": [],
484      "name": "stripQuotes(java.lang.String)"
485    },
486    "updateNetwork(android.net.wifi.WifiConfiguration)": {
487      "isImplementation": true,
488      "modifiers": [
489        "protected"
490      ],
491      "params": [
492        "config"
493      ],
494      "returnType": "int",
495      "exceptions": [],
496      "name": "updateNetwork(android.net.wifi.WifiConfiguration)"
497    },
498    "wasConfigurationSaved()": {
499      "isImplementation": false,
500      "modifiers": [
501        "public"
502      ],
503      "params": [],
504      "returnType": "boolean",
505      "exceptions": [],
506      "name": "wasConfigurationSaved()"
507    }
508  },
509  "imports": [
510    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2",
511    "android.os.Build.VERSION_CODES.KITKAT",
512    "android.os.Build.VERSION_CODES.LOLLIPOP",
513    "android.content.Context",
514    "android.net.ConnectivityManager",
515    "android.net.DhcpInfo",
516    "android.net.NetworkInfo",
517    "android.net.wifi.ScanResult",
518    "android.net.wifi.WifiConfiguration",
519    "android.net.wifi.WifiInfo",
520    "android.net.wifi.WifiManager",
521    "android.net.wifi.WifiManager.MulticastLock",
522    "android.util.Pair",
523    "java.util.ArrayList",
524    "java.util.LinkedHashMap",
525    "java.util.List",
526    "java.util.Map",
527    "java.util.concurrent.atomic.AtomicInteger",
528    "org.robolectric.RuntimeEnvironment",
529    "org.robolectric.annotation.HiddenApi",
530    "org.robolectric.annotation.Implementation",
531    "org.robolectric.annotation.Implements",
532    "org.robolectric.annotation.RealObject",
533    "org.robolectric.shadow.api.Shadow",
534    "org.robolectric.util.ReflectionHelpers",
535    "org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock",
536    "org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock"
537  ],
538  "name": "org.robolectric.shadows.ShadowWifiManager",
539  "documentation": "Shadow for {@link android.net.wifi.WifiManager}.\n"
540}