Searched refs:wifiInfo (Results 1 - 13 of 13) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowWifiInfoTest.java22 WifiInfo wifiInfo = wifiManager.getConnectionInfo();
23 assertThat(wifiInfo.getMacAddress())
26 shadowOf(wifiInfo).setMacAddress("mac address");
29 wifiInfo = wifiManager.getConnectionInfo();
30 assertThat(wifiInfo.getMacAddress()).isEqualTo("mac address");
36 WifiInfo wifiInfo = wifiManager.getConnectionInfo();
37 assertThat(wifiInfo.getSSID()).isEqualTo("<unknown ssid>"); // WifiSsid.NONE
39 shadowOf(wifiInfo).setSSID("SSID");
42 wifiInfo = wifiManager.getConnectionInfo();
43 assertThat(wifiInfo
[all...]
H A DShadowWifiManagerTest.java35 WifiInfo wifiInfo = new WifiInfo();
36 shadowWifiManager.setConnectionInfo(wifiInfo);
37 assertThat(wifiManager.getConnectionInfo()).isSameAs(wifiInfo);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DWifiInfoTest.java21 WifiInfo wifiInfo = wifiManager.getConnectionInfo();
22 shadowOf(wifiInfo).setMacAddress("mac address");
25 wifiInfo = wifiManager.getConnectionInfo();
26 assertThat(wifiInfo.getMacAddress(), equalTo("mac address"));
/external/autotest/frontend/client/src/autotest/moblab/wizard/
H A DWifiCard.java23 private WifiInfo wifiInfo; field in class:WifiCard
33 if (wifiInfo != null) {
41 wifiInfo.getApName()));
47 WifiInfo.JSON_FIELD_AP_PASS, wifiInfo.getApPass(), true));
53 wifiInfo = info;
62 wifiInfo.setApName(getStringValueFieldValue(WifiInfo.JSON_FIELD_AP_NAME));
63 wifiInfo.setApPass(getStringValueFieldValue(WifiInfo.JSON_FIELD_AP_PASS));
89 wifiInfo = null;
95 if (map != null && wifiInfo != null) {
96 map.put(MoblabRpcHelper.RPC_PARAM_WIFI_INFO, wifiInfo
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowWifiManager.java30 private WifiInfo wifiInfo; field in class:ShadowWifiManager
62 if (wifiInfo == null) {
63 wifiInfo = ReflectionHelpers.callConstructor(WifiInfo.class);
65 return wifiInfo;
71 public void setConnectionInfo(WifiInfo wifiInfo) { argument
72 this.wifiInfo = wifiInfo;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowWifiManager.java25 private WifiInfo wifiInfo; field in class:ShadowWifiManager
47 if (wifiInfo == null) {
48 wifiInfo = Robolectric.newInstanceOf(WifiInfo.class);
50 return wifiInfo;
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DNetworkMonitorAutoDetect.java244 final WifiInfo wifiInfo = intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO);
245 if (wifiInfo != null) {
246 final String ssid = wifiInfo.getSSID();
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...

Completed in 307 milliseconds