Home
last modified time | relevance | path

Searched refs:WifiInfo (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiInfo.java8 import android.net.wifi.WifiInfo;
17 @Implements(WifiInfo.class)
20 public static WifiInfo newInstance() { in newInstance()
21 return ReflectionHelpers.callConstructor(WifiInfo.class); in newInstance()
25 WifiInfo realObject;
29 directlyOn(realObject, WifiInfo.class).setInetAddress(address); in setInetAddress()
33 WifiInfo.class, in setInetAddress()
41 directlyOn(realObject, WifiInfo.class).setMacAddress(newMacAddress); in setMacAddress()
43 directlyOn(realObject, WifiInfo.class, in setMacAddress()
50 directlyOn(realObject, WifiInfo.class, in setSSID()
[all …]
DShadowWifiManager.java13 import android.net.wifi.WifiInfo;
41 private WifiInfo wifiInfo;
75 protected WifiInfo getConnectionInfo() { in getConnectionInfo()
78 wifiInfo = ReflectionHelpers.callConstructor(WifiInfo.class); in getConnectionInfo()
96 public void setConnectionInfo(WifiInfo wifiInfo) { in setConnectionInfo()
210 WifiInfo wifiInfo = getConnectionInfo(); in connect()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWifiInfoTest.java9 import android.net.wifi.WifiInfo;
38 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnIpAddress()
46 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnMacAddress()
56 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnSSID()
66 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnBSSID()
77 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnRssi()
87 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnLinkSpeed()
98 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnFrequency()
109 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in shouldReturnNetworkId()
DShadowWifiManagerTest.java15 import android.net.wifi.WifiInfo;
42 assertThat(wifiManager.getConnectionInfo().getClass()).isEqualTo(WifiInfo.class); in shouldReturnWifiInfo()
47 WifiInfo wifiInfo = new WifiInfo(); in setWifiInfo_shouldUpdateWifiInfo()
/external/autotest/frontend/client/src/autotest/moblab/wizard/
DWifiCard.java10 import autotest.moblab.rpc.WifiInfo;
23 private WifiInfo wifiInfo;
40 layoutTable.setWidget(row, 1, createValueFieldWidget(WifiInfo.JSON_FIELD_AP_NAME, in updateModeUI()
47 WifiInfo.JSON_FIELD_AP_PASS, wifiInfo.getApPass(), true)); in updateModeUI()
52 public void onWifiInfoFetched(WifiInfo info) { in updateModeUI()
62 wifiInfo.setApName(getStringValueFieldValue(WifiInfo.JSON_FIELD_AP_NAME)); in validate()
63 wifiInfo.setApPass(getStringValueFieldValue(WifiInfo.JSON_FIELD_AP_PASS)); in validate()
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DWifiInfo.java10 public class WifiInfo extends JsonRpcEntity { class
24 public WifiInfo() { in WifiInfo() method in WifiInfo
DMoblabRpcCallbacks.java81 public void onWifiInfoFetched(WifiInfo info); in onWifiInfoFetched()
DMoblabRpcHelper.java425 WifiInfo info = new WifiInfo(); in fetchWifiInfo()
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java26 import android.net.wifi.WifiInfo;
514 final WifiInfo wifiInfo = intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO); in getWifiSSID()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java55 import android.net.wifi.WifiInfo;
443 private WifiInfo getInternetConnectivityWifiInfo() { in getInternetConnectivityWifiInfo()
451 public WifiInfo wifiInfo; in getInternetConnectivityWifiInfo()
459 answerBox.wifiInfo = (WifiInfo) networkCapabilities.getTransportInfo(); in getInternetConnectivityWifiInfo()
492 WifiInfo wInfo = getInternetConnectivityWifiInfo(); in onReceive()
1348 public WifiInfo wifiGetConnectionInfo() { in wifiGetConnectionInfo()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java52 import android.net.wifi.WifiInfo;
239 if (data instanceof WifiInfo) { in build()
240 return buildJsonWifiInfo((WifiInfo) data); in build()
726 private static JSONObject buildJsonWifiInfo(WifiInfo data) in buildJsonWifiInfo()