Home
last modified time | relevance | path

Searched refs:wifiInfo (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java192 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiIpAddress() local
193 int ip = wifiInfo.getIpAddress(); in getWifiIpAddress()
206 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiMacAddress() local
207 return wifiInfo.getMacAddress(); in getWifiMacAddress()
249 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiSignalStrength() local
250 return WifiManager.calculateSignalLevel(wifiInfo.getRssi(), maxLevel); in getWifiSignalStrength()
261 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiNetworkId() local
262 if (wifiInfo != null) { in getWifiNetworkId()
263 return wifiInfo.getNetworkId(); in getWifiNetworkId()
270 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiConfiguration() local
[all …]
DWifiConfigurationActivity.java155 WifiInfo wifiInfo = getWifiInfo(); in refreshActionList() local
156 if (wifiInfo != null) { in refreshActionList()
174 int ip = wifiInfo.getIpAddress(); in refreshActionList()
181 toInfo(mResources, wifiInfo.getMacAddress())); in refreshActionList()
187 calculateSignalLevel(wifiInfo.getRssi(), signalLevels.length); in refreshActionList()
194 WifiInfo wifiInfo = getWifiInfo(); in refreshActionList() local
195 if (wifiInfo != null) { in refreshActionList()
198 mWifiManager, wifiInfo.getNetworkId()); in refreshActionList()
248 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getNetworkName() local
249 if (wifiInfo != null) { in getNetworkName()
[all …]
DWifiConfigHelper.java103 WifiInfo wifiInfo) { in areSameNetwork() argument
104 if (scanResult == null || wifiInfo == null) { in areSameNetwork()
107 if (scanResult.SSID == null || wifiInfo.getSSID() == null) { in areSameNetwork()
110 if (scanResult.BSSID == null || wifiInfo.getBSSID() == null) { in areSameNetwork()
113 String wifiInfoSSID = WifiInfo.removeDoubleQuotes(wifiInfo.getSSID()); in areSameNetwork()
114 String wifiInfoBSSID = wifiInfo.getBSSID(); in areSameNetwork()
116 WifiSecurity wifiInfoSecurity = getCurrentConnectionSecurity(wifiManager, wifiInfo); in areSameNetwork()
279 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in forgetWifiNetwork() local
280 if (wifiInfo != null) { in forgetWifiNetwork()
281 int networkId = wifiInfo.getNetworkId(); in forgetWifiNetwork()
DConnectivityStatusIconUriGetter.java91 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiDrawableResourceId() local
92 boolean isOpen = isOpenNetwork(mWifiManager, wifiInfo); in getWifiDrawableResourceId()
93 int strength = WifiManager.calculateSignalLevel(wifiInfo.getRssi(), 4); in getWifiDrawableResourceId()
112 private boolean isOpenNetwork(WifiManager wifiMan, WifiInfo wifiInfo) { in isOpenNetwork() argument
114 wifiInfo.getNetworkId()); in isOpenNetwork()
DConnectivityStatusTextGetter.java85 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiString() local
86 if (wifiInfo != null) { in getWifiString()
87 String ssid = wifiInfo.getSSID(); in getWifiString()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DMessageParser.java200 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, params.wifiInfo.ssid); in addProvisioningParamsToBundle()
201 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, params.wifiInfo.securityType); in addProvisioningParamsToBundle()
202 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, params.wifiInfo.password); in addProvisioningParamsToBundle()
203 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, params.wifiInfo.proxyHost); in addProvisioningParamsToBundle()
204 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_BYPASS, params.wifiInfo.proxyBypassHosts); in addProvisioningParamsToBundle()
205 bundle.putString(EXTRA_PROVISIONING_WIFI_PAC_URL, params.wifiInfo.pacUrl); in addProvisioningParamsToBundle()
206 bundle.putInt(EXTRA_PROVISIONING_WIFI_PROXY_PORT, params.wifiInfo.proxyPort); in addProvisioningParamsToBundle()
207 bundle.putBoolean(EXTRA_PROVISIONING_WIFI_HIDDEN, params.wifiInfo.hidden); in addProvisioningParamsToBundle()
287 params.wifiInfo.ssid = props.getProperty(EXTRA_PROVISIONING_WIFI_SSID); in parseProperties()
288 params.wifiInfo.securityType = props.getProperty(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE); in parseProperties()
[all …]
DProvisioningParams.java79 public WifiInfo wifiInfo = new WifiInfo(); field in ProvisioningParams
166 wifiInfo.writeToParcel(out); in writeToParcel()
187 params.wifiInfo.readFromParcel(in);
DDeviceOwnerPreProvisioningActivity.java134 && TextUtils.isEmpty(mParams.wifiInfo.ssid) in onCreate()
DDeviceOwnerProvisioningService.java161 mAddWifiNetworkTask = new AddWifiNetworkTask(this, params.wifiInfo, in startDeviceOwnerProvisioning()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java180 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo();
183 mBSSID.setText(wifiInfo.getBSSID());
184 mHiddenSSID.setText(String.valueOf(wifiInfo.getHiddenSSID()));
185 int ipAddr = wifiInfo.getIpAddress();
193 mLinkSpeed.setText(String.valueOf(wifiInfo.getLinkSpeed())+" Mbps");
194 mMACAddr.setText(wifiInfo.getMacAddress());
195 mNetworkId.setText(String.valueOf(wifiInfo.getNetworkId()));
196 mRSSI.setText(String.valueOf(wifiInfo.getRssi()));
197 mSSID.setText(wifiInfo.getSSID());
199 SupplicantState supplicantState = wifiInfo.getSupplicantState();
DWpsDialog.java269 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in handleEvent() local
270 if (wifiInfo != null) { in handleEvent()
272 R.string.wifi_wps_connected), wifiInfo.getSSID()); in handleEvent()
DAdvancedWifiSettings.java315 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in refreshWifiInfo() local
318 String macAddress = wifiInfo == null ? null : wifiInfo.getMacAddress(); in refreshWifiInfo()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java304 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in setWifiStatus() local
305 String macAddress = wifiInfo == null ? null : wifiInfo.getMacAddress(); in setWifiStatus()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java63 public AddWifiNetworkTask(Context context, WifiInfo wifiInfo, Callback callback) { in AddWifiNetworkTask() argument
66 mWifiInfo = wifiInfo; in AddWifiNetworkTask()