Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/
DWifiLinkLayerStats.java50 public String SSID; field in WifiLinkLayerStats
124 if (this.SSID != null) { in toString()
125 sbuf.append(" SSID: ").append(this.SSID).append('\n'); in toString()
163 if (SSID == null) return ""; in getPrintableSsid()
164 final int length = SSID.length(); in getPrintableSsid()
165 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { in getPrintableSsid()
166 return SSID.substring(1, length - 1); in getPrintableSsid()
173 if (length > 3 && (SSID.charAt(0) == 'P') && (SSID.charAt(1) == '"') && in getPrintableSsid()
174 (SSID.charAt(length-1) == '"')) { in getPrintableSsid()
176 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()
DWifiConfiguration.java228 public String SSID; field in WifiConfiguration
862 SSID = null; in WifiConfiguration()
1044 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). in toString()
1274 if (SSID == null) return ""; in getPrintableSsid()
1275 final int length = SSID.length(); in getPrintableSsid()
1276 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { in getPrintableSsid()
1277 return SSID.substring(1, length - 1); in getPrintableSsid()
1284 if (length > 3 && (SSID.charAt(0) == 'P') && (SSID.charAt(1) == '"') && in getPrintableSsid()
1285 (SSID.charAt(length-1) == '"')) { in getPrintableSsid()
1287 SSID.substring(2, length - 1)); in getPrintableSsid()
[all …]
DScanResult.java32 public String SSID; field in ScanResult
230 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
244 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
258 SSID = source.SSID; in ScanResult()
DIWifiManager.aidl158 void disableEphemeralNetwork(String SSID); in disableEphemeralNetwork() argument
DWifiManager.java1989 public void disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
1990 if (SSID == null) throw new IllegalArgumentException("SSID cannot be null"); in disableEphemeralNetwork()
1992 mService.disableEphemeralNetwork(SSID); in disableEphemeralNetwork()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java621 && pskMap.containsKey(config.SSID)) { in getConfiguredNetworks()
622 newConfig.preSharedKey = pskMap.get(config.SSID); in getConfiguredNetworks()
854 config.SSID == null)) { in saveNetwork()
860 + " SSID=" + config.SSID in saveNetwork()
865 if (mDeletedEphemeralSSIDs.remove(config.SSID)) { in saveNetwork()
867 loge("WifiConfigStore: removed from ephemeral blacklist: " + config.SSID); in saveNetwork()
892 if (VDBG) localLog("WifiConfigStore: re-enabling: " + conf.SSID); in saveNetwork()
954 config.SSID == null)) { in saveWifiConfigBSSID()
1015 WifiConfiguration disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
1016 if (SSID == null) { in disableEphemeralNetwork()
[all …]
DWifiApConfigStore.java104 if (config.SSID != null) { in processMessage()
158 config.SSID = in.readUTF(); in loadApConfiguration()
187 out.writeUTF(config.SSID); in writeApConfiguration()
210 config.SSID = mContext.getString(R.string.wifi_tether_configure_ssid_default); in setDefaultApConfiguration()
DWifiAutoJoinController.java169 if (result.SSID == null) continue; in addToScanCache()
200 wkey = new WifiKey("\"" + result.SSID + "\"", result.BSSID); in addToScanCache()
202 logDbg("AutoJoinController: received badly encoded SSID=[" + result.SSID + in addToScanCache()
215 logDbg(result.SSID + " " + result.BSSID + " rssi=" in addToScanCache()
224 logDbg(result.SSID + " " + result.BSSID + " rssi=" in addToScanCache()
240 if (associatedConfig != null && associatedConfig.SSID != null) { in addToScanCache()
243 + associatedConfig.SSID + " with " + result.SSID in addToScanCache()
420 if (selected.SSID == null) { in updateConfigurationHistory()
466 logDbg("updateConfigurationHistory got " + config.SSID + " nid=" in updateConfigurationHistory()
1215 logDbg("Current network has no score curve, giving up: " + config.SSID); in haveRecentlySeenScoredBssid()
[all …]
DWifiNetworkScoreCache.java156 if (result.SSID == null) { in buildNetworkKey()
160 key.append(result.SSID); in buildNetworkKey()
DWifiServiceImpl.java881 + " SSID " + config.SSID in addOrUpdateNetwork()
1319 public void disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
1322 mWifiStateMachine.disableEphemeralNetwork(SSID); in disableEphemeralNetwork()
1427 r.SSID == null ? "" : r.SSID, in dump()
DWifiMonitor.java1192 String SSID = null; in handleRequests() local
1201 SSID = match.group(2); in handleRequests()
1210 mStateMachine.sendMessage(SUP_REQUEST_IDENTITY, eventLogCounter, reason, SSID); in handleRequests()
DWifiScanningServiceImpl.java391 if (DBG) Log.d(TAG, "reporting fullscan result for " + result.SSID); in processMessage()
547 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(result.SSID); in reportScanResults()
578 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(result.SSID); in reportFullScanResult()
DWifiStateMachine.java2077 public void disableEphemeralNetwork(String SSID) { in disableEphemeralNetwork() argument
2078 if (SSID != null) { in disableEphemeralNetwork()
2079 sendMessage(CMD_DISABLE_EPHEMERAL_NETWORK, SSID); in disableEphemeralNetwork()
3419 scanResult.SSID = (wifiSsid != null) ? wifiSsid.toString() : in setScanResults()
6423 && targetWificonfiguration.SSID != null in processMessage()
6424 && targetWificonfiguration.SSID.equals("\"" + ssid + "\"")) { in processMessage()
6510 loge("CMD_AUTO_CONNECT will save config -> " + config.SSID in processMessage()
6598 + " config=" + config.SSID in processMessage()
6687 + " config=" + config.SSID in processMessage()
6920 loge(dbg + " " + config.SSID in clearConfigBSSID()
DWifiNative.java1284 if (DBG) Log.i(TAG, "Got a full scan results event, ssid = " + result.SSID + ", " + in onFullScanResult()
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java132 config.SSID = "\"" + ap.ssid + "\""; in connect()
168 rt.put(trimDoubleQuotes(config.SSID), config); in getConfiguredNetworksBySsid()
186 final String ssid = scanResult.SSID; in updateAccessPoints()
/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/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java79 config.SSID = NETWORK_ID; in testWifiHotSpot()
DWifiStressTest.java175 if (mSsid.equals(sr.SSID)) { in testWifiScanning()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1355 mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID, in startAccessPoint()
1405 mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID, in setAccessPoint()

12