/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
SoftApManager.java | 134 if (config == null || config.SSID == null) { 165 // Note that localConfig.SSID is intended to be either a hex string or "double quoted". 169 localConfig.SSID.getBytes(StandardCharsets.UTF_8), false,
|
WifiStateMachinePrime.java | 341 if (config != null && config.SSID != null) { 413 if (config != null && config.SSID != null) {
|
ScanDetailCache.java | 194 Log.e("getVisibilityByRssi", " considering " + result.SSID + " " + result.BSSID
|
WifiConnectivityManager.java | 268 localLog(listenerName + ": WNS candidate-" + candidate.SSID); 344 localLog("AllSingleScanListener onFullResult: " + fullScanResult.SSID 659 String targetAssociationId = candidate.SSID + " : " + targetBssid; 719 localLog("connectToNetwork: Connect to " + candidate.SSID + ":" + targetBssid [all...] |
SupplicantStaNetworkHal.java | 154 /** SSID */ 155 config.SSID = null; 157 config.SSID = NativeUtil.encodeSsid(mSsid); 159 Log.e(TAG, "failed to read ssid"); 176 /** Scan SSID (Is Hidden Network?) */ 236 return loadWifiEnterpriseConfig(config.SSID, config.enterpriseConfig); 248 /** SSID */ 249 if (config.SSID != null) { 250 if (!setSsid(NativeUtil.decodeSsid(config.SSID))) { 251 Log.e(TAG, "failed to set SSID: " + config.SSID) [all...] |
/tools/test/connectivity/acts/tests/google/tel/config/ |
README.md | 10 - **wifi_network_ssid** - The SSID of a wifi network for test use. This network must have internet access.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkScoreServiceTest.java | 101 private static final String SSID = "ssid"; 111 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID), "00:00:00:00:00:00")), 154 when(mWifiInfo.getSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.ssid); 164 configuration.SSID = "NetworkScoreServiceTest_SSID"; 171 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); 176 private ScanResult createScanResult(String ssid, String bssid) { 178 result.wifiSsid = WifiSsid.createFromAsciiEncoded(ssid); 724 createScanResult(SSID, null), 725 createScanResult(SSID, INVALID_BSSID [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPoint.java | 88 * for that SSID. 132 private String ssid; field in class:AccessPoint 171 ssid = savedState.getString(KEY_SSID); 238 this.ssid = that.ssid; 266 * 6. SSID alphabetically 296 // Sort by ssid. 312 result += 29 * ssid.hashCode(); 319 .append(ssid); 421 return ssid.equals(result.SSID) && security == getSecurity(result) [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
WifiTrackerTest.java | 331 configuration.SSID = SSID_1; 363 configuration.SSID = "test123"; 410 validConfig.SSID = SSID_1; 417 selfAddedNoAssociation.SSID = SSID_2; 579 String ssid = "ssid3"; local 582 WifiSsid.createFromAsciiEncoded(ssid), 599 assertTrue(mRequestedKeys.contains(new NetworkKey(new WifiKey('"' + ssid + '"', bssid)))); 688 configuration.SSID = SSID_1;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationTestUtil.java | 94 * @param ssid the configuration's ssid 101 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 104 config.SSID = ssid; 119 * @param ssid the configuration's ssid 127 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 130 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, 214 * Create a new SSID for the the network being created 217 String ssid = TEST_SSID + sNetworkIndex++; local [all...] |
WifiConfigManagerTest.java | 2802 final String ssid = "test_blah"; local 2838 final String ssid = "test_blah"; local 3835 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); local [all...] |
WifiConfigStoreTest.java | 72 + "<string name=\"SSID\">%s</string>\n" 358 * deleted ephemeral SSID list) using the predefined test XML data is read and parsed 374 // Setup deleted ephemeral SSID list. 378 String testSsid = "Test SSID"; 385 openNetwork.SSID.replaceAll("\"", """), 398 * ephemeral SSID list are serialized correctly, matches the predefined test XML data. 417 // Setup deleted ephemeral SSID list store data. 421 String testSsid = "Test SSID"; 429 openNetwork.SSID.replaceAll("\"", """),
|
WifiScoreReportTest.java | 104 config.SSID = "nooooooooooo";
|
WifiConnectivityManagerTest.java | 247 candidateScanResult.SSID = CANDIDATE_SSID; [all...] |
SupplicantStaIfaceHalTest.java | 220 * Fills up only the SSID field of configs and uses it as a configKey as well. 237 config.SSID = NETWORK_ID_TO_SSID.get(networkId); 240 SupplicantStaNetworkHal.ID_STRING_KEY_CONFIG_KEY, config.SSID); 261 assertEquals(network.getValue(), config.SSID); 270 * Fills up only the SSID field of configs and uses it as a configKey as well. 295 config.SSID = NETWORK_ID_TO_SSID.get(networkId); 337 assertEquals(network.getValue(), config.SSID); 469 // Make this network different by changing SSID. 470 config.SSID = "AnDifferentSSID"; [all...] |
ScanTestUtil.java | 122 mSettings.hiddenNetworks[i].ssid = networkSSIDs[i]; 215 return new ScanResult(WifiSsid.createFromAsciiEncoded("AN SSID"), "00:00:00:00:00:00", 0L, 242 assertEquals(prefix + "SSID", expected.SSID, actual.SSID); 376 assertEquals("networkList[" + i + "].ssid", 377 expected.networkList[i].ssid, actual.networkList[i].ssid);
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 54 SSID_KEY = "SSID" 521 E.g { 'SSID': 'wh_ap1_5g', 'BSSID': '30:b5:c2:33:e4:47' } 664 net_ssid: ssid of network to be forget 745 def start_wifi_tethering(ad, ssid, password, band=None): 750 ssid: The SSID the soft AP should broadcast. 758 config = {WifiEnums.SSID_KEY: ssid} 814 5. Wait for the "connected" event, then confirm the connected ssid is the 820 dictionary must have the key "SSID". 849 5. Wait for the "connected" event, then confirm the connected ssid is th [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
SelectFromListWizardFragment.java | 104 return o1ScanResult.SSID.compareTo(o2ScanResult.SSID); 127 mName = scanResult.SSID;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiStatusTest.java | 140 mSSID = (TextView) findViewById(R.id.ssid); 276 if (TextUtils.isEmpty(scanResult.SSID)) { 280 scanList.append(scanResult.SSID+" ");
|
WifiApEnabler.java | 117 (wifiConfig == null) ? s : wifiConfig.SSID));
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/ |
WifiWakeupController.java | 247 String ssid = WifiConfigurationUtil.removeDoubleQuotes(wifiConfiguration); local 248 if (TextUtils.isEmpty(ssid)) { 251 if (WideAreaNetworks.contains(ssid)) { 255 mSavedNetworks.put(ssid, wifiConfiguration); 256 mSavedSsids.add(ssid); 281 for (String ssid : mSavedSsidsInLastScan) { 282 mSavedSsidsOnDisable.put(ssid, NUM_SCANS_TO_CONFIRM_AP_LOSS); 286 Blog.d(TAG, "Disabled ssid set: %s", mSavedSsidsOnDisable); 296 for (String ssid : mSavedSsids) { 297 if (ssidsOnDisable.contains(HashUtil.getSsidHash(ssid))) { 323 String ssid = scanResults.get(i).SSID; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 146 int ssidAppearInScanResultsCount = 0; // count times of given ssid appear in scan results. 152 writeOutput(String.format("ssid appear %d out of %d scan iterations", 175 if (mSsid.equals(sr.SSID)) { 189 writeOutput(String.format("ssid appear %d out of %d scan iterations",
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
WifiSettingsUiTest.java | 81 private static final String TEST_SSID = "\"Test Ssid\""; 82 private static final String TEST_UNQUOTED_SSID = "Test Ssid"; 106 config.SSID = TEST_SSID;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectToWifiFragment.java | 271 && currentConnection.getSSID().equals(mWifiConfiguration.SSID)) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 585 result.put("SSID", scanResult.SSID); 644 String ssid = data.getSSID(); local 645 if (ssid.charAt(0) == '"' 646 && ssid.charAt(ssid.length() - 1) == '"') { 647 result.put("SSID", ssid.substring(1, ssid.length() - 1)); 649 result.put("SSID", ssid) [all...] |