Home
last modified time | relevance | path

Searched refs:SSID (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
DWifiLinkLayerStats.java44 public String SSID; field in WifiLinkLayerStats
118 if (this.SSID != null) { in toString()
119 sbuf.append(" SSID: ").append(this.SSID).append('\n'); in toString()
157 if (SSID == null) return ""; in getPrintableSsid()
158 final int length = SSID.length(); in getPrintableSsid()
159 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { in getPrintableSsid()
160 return SSID.substring(1, length - 1); in getPrintableSsid()
167 if (length > 3 && (SSID.charAt(0) == 'P') && (SSID.charAt(1) == '"') && in getPrintableSsid()
168 (SSID.charAt(length-1) == '"')) { in getPrintableSsid()
170 SSID.substring(2, length - 1)); in getPrintableSsid()
[all …]
DWifiConfiguration.java233 public String SSID; field in WifiConfiguration
907 SSID = null; in WifiConfiguration()
989 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). in toString()
1198 if (SSID == null) return ""; in getPrintableSsid()
1199 final int length = SSID.length(); in getPrintableSsid()
1200 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { in getPrintableSsid()
1201 return SSID.substring(1, length - 1); in getPrintableSsid()
1208 if (length > 3 && (SSID.charAt(0) == 'P') && (SSID.charAt(1) == '"') && in getPrintableSsid()
1209 (SSID.charAt(length-1) == '"')) { in getPrintableSsid()
1211 SSID.substring(2, length - 1)); in getPrintableSsid()
[all …]
DWifiConnectionStatistics.java63 public void incrementOrAddUntrusted(String SSID, int connection, int usage) { in incrementOrAddUntrusted() argument
65 if (TextUtils.isEmpty(SSID)) in incrementOrAddUntrusted()
67 if (untrustedNetworkHistory.containsKey(SSID)) { in incrementOrAddUntrusted()
68 stats = untrustedNetworkHistory.get(SSID); in incrementOrAddUntrusted()
77 untrustedNetworkHistory.put(SSID, stats); in incrementOrAddUntrusted()
DScanResult.java33 public String SSID; field in ScanResult
333 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
351 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
369 this.SSID = Ssid; in ScanResult()
400 SSID = source.SSID; in ScanResult()
480 dest.writeString(SSID); in writeToParcel()
DIWifiManager.aidl169 void disableEphemeralNetwork(String SSID); in disableEphemeralNetwork() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java751 && pskMap.containsKey(config.SSID)) { in getConfiguredNetworks()
752 newConfig.preSharedKey = pskMap.get(config.SSID); in getConfiguredNetworks()
1017 config.SSID = result.getSSID(); in selectNetwork()
1052 config.SSID == null)) { in saveNetwork()
1058 + " SSID=" + config.SSID in saveNetwork()
1063 if (mDeletedEphemeralSSIDs.remove(config.SSID)) { in saveNetwork()
1065 loge("WifiConfigStore: removed from ephemeral blacklist: " + config.SSID); in saveNetwork()
1090 if (VDBG) localLog("WifiConfigStore: re-enabling: " + conf.SSID); in saveNetwork()
1152 config.SSID == null)) { in saveWifiConfigBSSID()
1213 WifiConfiguration disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
[all …]
DWifiApConfigStore.java117 if (config.SSID != null) { in processMessage()
171 config.SSID = in.readUTF(); in loadApConfiguration()
207 out.writeUTF(config.SSID); in writeApConfiguration()
232 config.SSID = mContext.getString(R.string.wifi_tether_configure_ssid_default); in setDefaultApConfiguration()
DWifiAutoJoinController.java199 wkey = new WifiKey("\"" + result.SSID + "\"", result.BSSID); in addToUnscoredNetworks()
201 logDbg("AutoJoinController: received badly encoded SSID=[" + result.SSID + in addToUnscoredNetworks()
214 logDbg(result.SSID + " " + result.BSSID + " rssi=" in addToUnscoredNetworks()
229 if (result.SSID == null) continue; in addToScanCache()
232 logDbg(" addToScanCache " + result.SSID + " " + result.BSSID in addToScanCache()
251 logDbg(result.SSID + " " + result.BSSID + " rssi=" in addToScanCache()
433 if (selected.SSID == null) { in updateConfigurationHistory()
479 logDbg("updateConfigurationHistory got " + config.SSID + " nid=" in updateConfigurationHistory()
813 if (TextUtils.isEmpty(config.SSID) == false) { in getSecurityScore()
1245 logDbg("Current network has no score curve, giving up: " + config.SSID); in haveRecentlySeenScoredBssid()
[all …]
DScanDetail.java65 mScanResult.SSID = ssid; in updateResults()
108 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); in getSSID()
151 mScanResult.SSID, Utils.parseMac(mScanResult.BSSID)); in toString()
DWifiNative.java1444 result.SSID = ssidConvert(rawSsid); in setSsid()
1549 Log.d(TAG, dbg + "SSID: " + result.SSID + " ChannelWidth is: " + result.channelWidth + in populateScanResult()
1559 if (DBG) Log.i(TAG, "Got a full scan results event, ssid = " + result.SSID + ", " + in onFullScanResult()
2217 String SSID; field in WifiNative.WifiPnoNetwork
2224 if (config.SSID == null) { in WifiPnoNetwork()
2225 this.SSID = ""; in WifiPnoNetwork()
2228 this.SSID = config.SSID; in WifiPnoNetwork()
2249 sbuf.append(this.SSID); in toString()
2299 Log.e(TAG, "onPnoNetworkFound SSID " + results[i].SSID in onPnoNetworkFound()
2303 results[i].wifiSsid = WifiSsid.createFromAsciiEncoded(results[i].SSID); in onPnoNetworkFound()
DWifiNetworkScoreCache.java156 if (result == null || result.SSID == null) { in buildNetworkKey()
160 key.append(result.SSID); in buildNetworkKey()
DConfigurationMap.java39 Log.d(WifiConfigStore.TAG, "Testing " + config.SSID); in populatePasspointData()
136 if (ssid.equals(config.SSID) && config.ephemeral) { in getEphemeral()
DWifiServiceImpl.java855 + " SSID " + config.SSID in addOrUpdateNetwork()
1340 public void disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
1343 mWifiStateMachine.disableEphemeralNetwork(SSID); in disableEphemeralNetwork()
1484 r.SSID == null ? "" : r.SSID, in dump()
2001 if (!TextUtils.isEmpty(config.SSID)) { in checkPasspointValidity()
2002 return "SSID not expected for Passpoint: '" + config.SSID + in checkPasspointValidity()
DWifiStateMachine.java255 sb.append(results[i].SSID).append(" "); in processPnoNetworkFound()
2071 public void disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
2072 if (SSID != null) { in disableEphemeralNetwork()
2073 sendMessage(CMD_DISABLE_EPHEMERAL_NETWORK, SSID); in disableEphemeralNetwork()
2615 sb.append(" ").append(results[i].SSID).append(" "); in getLogRecString()
3308 sb.append("[").append(network.SSID).append(" auth=").append(network.auth); in configurePno()
4816 String SSID = stateChangeResult.wifiSsid.toString(); in handleSupplicantStateChange() local
4818 if (SSID != null in handleSupplicantStateChange()
4820 && !SSID.equals(WifiSsid.NONE)) { in handleSupplicantStateChange()
4822 if (SSID.length() >= 2 && SSID.charAt(0) == '"' in handleSupplicantStateChange()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java117 config.SSID = "\"TestSSID1\""; in testAddRemoveNetwork()
128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { in testAddRemoveNetwork()
154 config.SSID = "\"TestSSID2\""; in testEnableDisableNetwork()
204 config.SSID = "\"TestSSID3\""; in testSaveConfig()
223 if (c.SSID.equals("TestSSID3")) { in testSaveConfig()
289 if (c.SSID.contains(connectedSSID)) { in testWifiConfiguredNetworkStatus()
DWifiSoftAPTest.java64 config.SSID = "abcdefghijklmnopqrstuvwxyz"; in testApSsidWithAlphabet()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DAccessPointTest.java44 wifiConfig.SSID = TEST_SSID; in setUp()
53 result.SSID = TEST_SSID; in testOnLevelChanged()
78 result.SSID = TEST_SSID; in testOnAccessPointChangedCallback()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiConnectionTest.java73 logv("Start wifi connection test to: %s", config.SSID); in testWifiConnections()
81 logv("End wifi connection test to: %s", config.SSID); in testWifiConnections()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java481 assertTrue("failed to associate with " + config.SSID, in connectToWifi()
485 assertTrue("wifi state not connected with " + config.SSID, in connectToWifi()
491 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()); in connectToWifi()
DWifiConfigurationHelper.java122 config.SSID = quotedString(ssid); in createEapConfig()
149 config.SSID = quotedString(ssid); in createGenericConfig()
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointDmTree.java490 public String SSID; field in WifiPasspointDmTree.SPExclusionList
494 SSID = s; in SPExclusionList()
510 out.writeString(SSID); in writeToParcel()
518 SSID = in.readString(); in readFromParcel()
940 public String SSID; field in WifiPasspointDmTree.NetworkID
945 SSID = s; in NetworkID()
962 out.writeString(SSID); in writeToParcel()
971 SSID = in.readString(); in readFromParcel()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java538 config.SSID = knownSSID; in connectToWifi()
550 String ssid = config.SSID; in connectToWifiWithConfiguration()
551 config.SSID = convertToQuotedString(ssid); in connectToWifiWithConfiguration()
571 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java273 if (DBG) Log.d(TAG, "Removing " + e.getKey() + ":(" + result.SSID + ")"); in fetchScanResults()
347 if (result.SSID == null || result.SSID.length() == 0 || in updateAccessPoints()
353 for (AccessPoint accessPoint : apMap.getAll(result.SSID)) { in updateAccessPoints()
DAccessPoint.java233 return ssid.equals(result.SSID) && security == getSecurity(result); in matches()
240 return ssid.equals(removeDoubleQuotes(config.SSID)) && security == getSecurity(config); in matches()
673 mConfig.SSID = AccessPoint.convertToQuotedString(ssid); in generateOpenNetworkConfig()
681 ssid = (config.SSID == null ? "" : removeDoubleQuotes(config.SSID)); in loadConfig()
689 ssid = result.SSID; in initWithScanResult()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java79 config.SSID = NETWORK_ID; in testWifiHotSpot()

12