/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ScanResultComparator.java | 56 if (result1.SSID.equals(mConnectedSSID) 60 if (result2.SSID.equals(mConnectedSSID) 69 if (result1.SSID.equals(result2.SSID)) { 72 return result1.SSID.compareTo(result2.SSID);
|
WifiConfigHelper.java | 64 public static void setConfigSsid(WifiConfiguration config, String ssid) { 66 if (!Pattern.matches(REGEX_HEX_BSSID, ssid)) { 67 config.SSID = enquoteSsid(ssid); 69 config.SSID = ssid; 74 // just enquote the SSID, if taken from a scan result, we assume that 76 config.SSID = enquoteSsid(scanResult.SSID); 107 if (scanResult.SSID == null || wifiInfo.getSSID() == null) [all...] |
WifiNetworksBrowseInfo.java | 139 Log.d(TAG, "Network " + itemId + " has SSID=" + network.SSID + 141 ", current connected SSID=" + currentConnection.getSSID() + 145 row.add(new MenuItem.Builder().id(itemId).title(network.SSID) 159 Pair<String, WifiSecurity> key = Pair.create(network.SSID, security); 311 if (TextUtils.isEmpty(result.SSID)) { 316 result.SSID, WifiSecurity.getSecurity(result));
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiLinkLayerStats.java | 43 * The network's SSID. Can either be an ASCII string, 50 public String SSID; 124 if (this.SSID != null) { 125 sbuf.append(" SSID: ").append(this.SSID).append('\n'); 163 if (SSID == null) return ""; 164 final int length = SSID.length(); 165 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { 166 return SSID.substring(1, length - 1) [all...] |
WifiConnectionStatistics.java | 38 * history of past connection to untrusted SSID 39 * Key = SSID 63 public void incrementOrAddUntrusted(String SSID, int connection, int usage) { 65 if (TextUtils.isEmpty(SSID)) 67 if (untrustedNetworkHistory.containsKey(SSID)) { 68 stats = untrustedNetworkHistory.get(SSID); 77 untrustedNetworkHistory.put(SSID, stats);
|
ScanResult.java | 32 public String SSID; 35 * Ascii encoded SSID. This will replace SSID when we deprecate it. @hide 230 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 244 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 258 SSID = source.SSID; 288 sb.append("SSID: ").
|
WifiConfiguration.java | 43 public static final String ssidVarName = "ssid"; 222 * The network's SSID. Can either be an ASCII string, 228 public String SSID; 277 * This is a network that does not broadcast its SSID, so an 278 * SSID-specific probe request must be used for scans. 840 * configKey is : "SSID"-WEP-WPA_PSK-WPA_EAP 854 * The linked configuration may or may not have same SSID, and may or may not have same 862 SSID = null; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowScanResult.java | 14 public static ScanResult newInstance(String SSID, String BSSID, String caps, int level, int frequency) { 16 scanResult.SSID = SSID; 27 .append("SSID: ").append(valueOrNone(realObject.SSID))
|
ShadowWifiConfiguration.java | 15 realObject.SSID = null; 35 config.SSID = realObject.SSID;
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiEnterpriseConfigTest.java | 31 private static final String SSID = "\"TestSSID\""; 102 config.SSID = SSID; 106 assertTrue(doesSsidExist(SSID)); 108 assertFalse(doesSsidExist(SSID)); 111 private boolean doesSsidExist(String ssid) { 113 if (w.SSID.equals(ssid))
|
WifiManagerTest.java | 197 private boolean existSSID(String ssid) { 199 if (w.SSID.equals(ssid)) 205 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { 207 if (w.SSID.equals(SSID)) 215 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) { 343 wifiConfiguration.SSID = SSID1; 365 wifiConfiguration.SSID = SSID2 [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 117 config.SSID = "\"TestSSID1\""; 128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 154 config.SSID = "\"TestSSID2\""; 204 config.SSID = "\"TestSSID3\""; 223 if (c.SSID.equals("TestSSID3")) { 289 if (c.SSID.contains(connectedSSID)) {
|
WifiSoftAPTest.java | 60 // Test case 1: Test the soft AP SSID with letters 64 config.SSID = "abcdefghijklmnopqrstuvwxyz";
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ScanResultTest.java | 18 ScanResult scanResult = ShadowScanResult.newInstance("SSID", "BSSID", "Caps", 11, 42); 19 assertThat(scanResult.SSID, equalTo("SSID"));
|
WifiConfigurationTest.java | 26 wifiConfiguration.SSID = "SSID"; 46 assertThat(copy.SSID, equalTo("SSID"));
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 73 logv("Start wifi connection test to: %s", config.SSID); 81 logv("End wifi connection test to: %s", config.SSID);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConfigStore.java | 116 * = SSID & security details that is pushed to the supplicant. 149 * that is generated from SSID and security type of the network. A mapping 166 * The SSIDs are encoded in a String as per definition of WifiConfiguration.SSID field. 183 private static final String SSID_KEY = "SSID: "; 621 && pskMap.containsKey(config.SSID)) { 622 newConfig.preSharedKey = pskMap.get(config.SSID); 648 * @return a map from Ssid to preSharedKey. 1869 String ssid = null; local [all...] |
WifiApConfigStore.java | 104 if (config.SSID != null) { 108 Log.e(TAG, "Try to setup AP config without SSID: " + message); 158 config.SSID = in.readUTF(); 187 out.writeUTF(config.SSID); 210 config.SSID = mContext.getString(R.string.wifi_tether_configure_ssid_default);
|
WifiAutoJoinController.java | 169 if (result.SSID == null) continue; 200 wkey = new WifiKey("\"" + result.SSID + "\"", result.BSSID); 202 logDbg("AutoJoinController: received badly encoded SSID=[" + result.SSID + 215 logDbg(result.SSID + " " + result.BSSID + " rssi=" 224 logDbg(result.SSID + " " + result.BSSID + " rssi=" 240 if (associatedConfig != null && associatedConfig.SSID != null) { 243 + associatedConfig.SSID + " with " + result.SSID 420 if (selected.SSID == null) [all...] |
WifiNetworkScoreCache.java | 46 // The key is of the form "<ssid>"<bssid> 145 String key = network.networkKey.wifiKey.ssid; 156 if (result.SSID == null) { 160 key.append(result.SSID);
|
/packages/apps/Settings/src/com/android/settings/net/ |
DataUsageMeteredSettings.java | 92 if (config.SSID != null) { 111 final String networkId = config.SSID; 199 if (config.SSID != null) { 200 final String networkId = config.SSID;
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcWifiProtectedSetup.java | 41 * ID into configuration record for SSID and Network Key in hex. 126 byte[] ssid = new byte[fieldSize]; 127 payload.get(ssid); 128 result.SSID = "\"" + new String(ssid) + "\""; 154 if (result.preSharedKey != null && result.SSID != null) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
SelectFromListWizardFragment.java | 77 return o1ScanResult.SSID.compareTo(o2ScanResult.SSID); 100 mName = scanResult.SSID; 219 Log.d(TAG, "Found " + lastSelection.getName() + " with ssid " 221 : mLastSelected.getScanResult().SSID) 320 Log.d(TAG, "Scrolled to " + mLastSelected.getName() + " with ssid " 322 : mLastSelected.getScanResult().SSID) + " and bssid "
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 315 * Associate the device to given SSID 319 protected boolean connectToWifi(String ssid, String password) { 322 config = WifiConfigurationHelper.createOpenConfig(ssid); 324 config = WifiConfigurationHelper.createPskConfig(ssid, password); 330 * Connect to Wi-Fi with the given configuration. Note the SSID in the configuration 481 assertTrue("failed to associate with " + config.SSID, 485 assertTrue("wifi state not connected with " + config.SSID, 489 // step 3: verify the current connected network is the given SSID 491 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AccessPointControllerImpl.java | 126 intent.putExtra(EXTRA_START_CONNECT_SSID, ap.ssid); 132 config.SSID = "\"" + ap.ssid + "\""; 168 rt.put(trimDoubleQuotes(config.SSID), config); 186 final String ssid = scanResult.SSID; local 187 if (TextUtils.isEmpty(ssid) || ssids.contains(ssid)) continue; 188 ssids.add(ssid); 189 final WifiConfiguration config = configured.get(ssid); [all...] |