OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wifiInfo
(Results
1 - 10
of
10
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
WifiInfoTest.java
3
import android.net.wifi.
WifiInfo
;
21
WifiInfo
wifiInfo
= wifiManager.getConnectionInfo();
22
shadowOf(
wifiInfo
).setMacAddress("mac address");
25
wifiInfo
= wifiManager.getConnectionInfo();
26
assertThat(
wifiInfo
.getMacAddress(), equalTo("mac address"));
/cts/tests/tests/net/src/android/net/wifi/cts/
WifiInfoTest.java
26
import android.net.wifi.
WifiInfo
;
119
WifiInfo
wifiInfo
= mWifiManager.getConnectionInfo();
121
assertNotNull(
wifiInfo
);
122
assertNotNull(
wifiInfo
.toString());
123
SupplicantState.isValidState(
wifiInfo
.getSupplicantState());
124
WifiInfo
.getDetailedStateOf(SupplicantState.DISCONNECTED);
125
String ssid =
wifiInfo
.getSSID();
132
wifiInfo
.getBSSID();
133
wifiInfo
.getIpAddress()
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowWifiManager.java
5
import android.net.wifi.
WifiInfo
;
25
private
WifiInfo
wifiInfo
;
45
public
WifiInfo
getConnectionInfo() {
47
if (
wifiInfo
== null) {
48
wifiInfo
= Robolectric.newInstanceOf(
WifiInfo
.class);
50
return
wifiInfo
;
/packages/apps/Settings/src/com/android/settings/wifi/
WifiStatusTest.java
33
import android.net.wifi.
WifiInfo
;
177
final
WifiInfo
wifiInfo
= mWifiManager.getConnectionInfo();
180
mBSSID.setText(
wifiInfo
.getBSSID());
181
mHiddenSSID.setText(String.valueOf(
wifiInfo
.getHiddenSSID()));
182
int ipAddr =
wifiInfo
.getIpAddress();
190
mLinkSpeed.setText(String.valueOf(
wifiInfo
.getLinkSpeed())+" Mbps");
191
mMACAddr.setText(
wifiInfo
.getMacAddress());
192
mNetworkId.setText(String.valueOf(
wifiInfo
.getNetworkId()));
193
mRSSI.setText(String.valueOf(
wifiInfo
.getRssi()))
[
all
...]
AdvancedWifiSettings.java
21
import android.net.wifi.
WifiInfo
;
229
WifiInfo
wifiInfo
= mWifiManager.getConnectionInfo();
232
String macAddress =
wifiInfo
== null ? null :
wifiInfo
.getMacAddress();
WpsDialog.java
25
import android.net.wifi.
WifiInfo
;
243
WifiInfo
wifiInfo
= mWifiManager.getConnectionInfo();
244
if (
wifiInfo
!= null) {
246
R.string.wifi_wps_connected),
wifiInfo
.getSSID());
/external/chromium_org/net/android/java/src/org/chromium/net/
NetworkChangeNotifierAutoDetect.java
12
import android.net.wifi.
WifiInfo
;
74
WifiInfo
wifiInfo
= mWifiManager.getConnectionInfo();
75
if (
wifiInfo
== null)
77
String ssid =
wifiInfo
.getSSID();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
Uploader.java
103
final NetworkInfo
wifiInfo
= manager.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
104
return
wifiInfo
.isConnected();
/cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java
22
import android.net.wifi.
WifiInfo
;
306
WifiInfo
wifiInfo
= wifiManager.getConnectionInfo();
307
return
wifiInfo
.getMacAddress();
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
27
import android.net.wifi.
WifiInfo
;
493
WifiInfo
wifiInfo
= wifiManager.getConnectionInfo();
497
String macAddress =
wifiInfo
== null ? null :
wifiInfo
.getMacAddress();
Completed in 369 milliseconds