/frameworks/base/wifi/java/android/net/wifi/ |
WifiInfo.aidl | 19 parcelable WifiInfo;
|
WifiInfo.java | 35 public class WifiInfo implements Parcelable { 36 private static final String TAG = "WifiInfo"; 238 public WifiInfo() { 277 public WifiInfo(WifiInfo source) { 596 public static final Creator<WifiInfo> CREATOR = 597 new Creator<WifiInfo>() { 598 public WifiInfo createFromParcel(Parcel in) { 599 WifiInfo info = new WifiInfo(); [all...] |
IWifiManager.aidl | 22 import android.net.wifi.WifiInfo; 77 WifiInfo getConnectionInfo();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiInfo.java | 3 import android.net.wifi.WifiInfo; 7 @Implements(WifiInfo.class)
|
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/ |
WifiInfo.java | 28 public class WifiInfo extends PreferenceActivity {
|
/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"));
|
WifiManagerTest.java | 5 import android.net.wifi.WifiInfo; 43 assertEquals(wifiManager.getConnectionInfo().getClass(), WifiInfo.class);
|
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
AccessPointTest.java | 20 import android.net.wifi.WifiInfo; 67 WifiInfo wifiInfo = Mockito.mock(WifiInfo.class); 68 Mockito.when(wifiInfo.getNetworkId()).thenReturn(NETWORK_ID); 70 mAccessPoint.update(wifiInfo, null);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityStatusTextGetter.java | 25 import android.net.wifi.WifiInfo; 85 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); 86 if (wifiInfo != null) { 87 String ssid = wifiInfo.getSSID(); 89 return WifiInfo.removeDoubleQuotes(ssid);
|
ConnectivityStatusIconUriGetter.java | 27 import android.net.wifi.WifiInfo; 91 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); 92 boolean isOpen = isOpenNetwork(mWifiManager, wifiInfo); 93 int strength = WifiManager.calculateSignalLevel(wifiInfo.getRssi(), 4); 112 private boolean isOpenNetwork(WifiManager wifiMan, WifiInfo wifiInfo) { 114 wifiInfo.getNetworkId());
|
ConnectivityListener.java | 32 import android.net.wifi.WifiInfo; 192 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); 193 int ip = wifiInfo.getIpAddress(); 206 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); 207 return wifiInfo.getMacAddress(); 244 // IPv6 address will not be shown like WifiInfo internally does. 249 WifiInfo wifiInfo = mWifiManager.getConnectionInfo() [all...] |
WifiConfigurationActivity.java | 27 import android.net.wifi.WifiInfo; 134 private WifiInfo getWifiInfo() { 155 WifiInfo wifiInfo = getWifiInfo(); 156 if (wifiInfo != null) { 174 int ip = wifiInfo.getIpAddress(); 181 toInfo(mResources, wifiInfo.getMacAddress())); 187 calculateSignalLevel(wifiInfo.getRssi(), signalLevels.length); 194 WifiInfo wifiInfo = getWifiInfo() [all...] |
WifiConfigHelper.java | 24 import android.net.wifi.WifiInfo; 103 WifiInfo wifiInfo) { 104 if (scanResult == null || wifiInfo == null) { 107 if (scanResult.SSID == null || wifiInfo.getSSID() == null) { 110 if (scanResult.BSSID == null || wifiInfo.getBSSID() == null) { 113 String wifiInfoSSID = WifiInfo.removeDoubleQuotes(wifiInfo.getSSID()); 114 String wifiInfoBSSID = wifiInfo.getBSSID(); 116 WifiSecurity wifiInfoSecurity = getCurrentConnectionSecurity(wifiManager, wifiInfo); [all...] |
WifiNetworksBrowseInfo.java | 22 import android.net.wifi.WifiInfo; 109 WifiInfo currentConnection = mWifiManager.getConnectionInfo(); 288 private List<ScanResult> getAvailableNetworks(WifiInfo connectedWifiInfo) { 290 currentConnectedSSID = WifiInfo.removeDoubleQuotes(currentConnectedSSID);
|
/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...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
AddWifiNetworkTask.java | 32 import com.android.managedprovisioning.ProvisioningParams.WifiInfo; 47 private final WifiInfo mWifiInfo; 63 public AddWifiNetworkTask(Context context, WifiInfo wifiInfo, Callback callback) { 66 mWifiInfo = wifiInfo;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
WifiSignalController.java | 23 import android.net.wifi.WifiInfo; 107 WifiInfo info = intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO) != null 108 ? (WifiInfo) intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO) 128 private String getSsid(WifiInfo info) {
|
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ |
ProvisioningValuesLoader.java | 22 import android.net.wifi.WifiInfo; 144 WifiInfo info = wifiManager.getConnectionInfo(); 150 * {@link WifiInfo#getSSID} returns the WiFi SSID surrounded by double quotation marks. This
|
/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ |
ProvisioningValuesLoader.java | 22 import android.net.wifi.WifiInfo; 144 WifiInfo info = wifiManager.getConnectionInfo(); 150 * {@link WifiInfo#getSSID} returns the WiFi SSID surrounded by double quotation marks. This
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
ProvisioningValuesLoader.java | 22 import android.net.wifi.WifiInfo; 144 WifiInfo info = wifiManager.getConnectionInfo(); 150 * {@link WifiInfo#getSSID} returns the WiFi SSID surrounded by double quotation marks. This
|
/frameworks/base/core/java/android/net/ |
NetworkIdentity.java | 24 import android.net.wifi.WifiInfo; 180 final WifiInfo info = wifi.getConnectionInfo();
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiAssociationTest.java | 24 import android.net.wifi.WifiInfo; 72 WifiInfo wi = mWifiManager.getConnectionInfo();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerWifiTest.java | 6 import android.net.wifi.WifiInfo; 128 WifiInfo wifiInfo = Mockito.mock(WifiInfo.class); 129 Mockito.when(wifiInfo.getSSID()).thenReturn(ssid); 132 i.putExtra(WifiManager.EXTRA_WIFI_INFO, wifiInfo);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProvisioningParams.java | 47 public static class WifiInfo { 79 public WifiInfo wifiInfo = new WifiInfo(); 166 wifiInfo.writeToParcel(out); 187 params.wifiInfo.readFromParcel(in);
|