/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;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiConfiguration.java | 33 public static final String ssidVarName = "ssid"; 200 * The network's SSID. Can either be an ASCII string, 206 public String SSID; 244 * This is a network that does not broadcast its SSID, so an 245 * SSID-specific probe request must be used for scans. 331 SSID = null; 382 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). 468 SSID = scannedAP.SSID; [all...] |
ScanResult.java | 30 public String SSID; 32 /** Ascii encoded SSID. This will replace SSID when we deprecate it. @hide */ 82 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 96 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 110 SSID = source.SSID; 126 sb.append("SSID: ").
|
WifiApConfigStore.java | 153 config.SSID = in.readUTF(); 182 out.writeUTF(config.SSID); 205 config.SSID = mContext.getString(R.string.wifi_tether_configure_ssid_default);
|
WifiConfigStore.java | 99 * = SSID & security details that is pushed to the supplicant. 131 * that is generated from SSID and security type of the network. A mapping 291 // A new network cannot have null SSID 293 config.SSID == null)) { 664 // network-id | ssid | bssid | flags 690 // That SSID is already known, just ignore this duplicate entry [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiEnterpriseConfigTest.java | 30 private static final String SSID = "\"TestSSID\""; 86 config.SSID = SSID; 90 assertTrue(doesSsidExist(SSID)); 92 assertFalse(doesSsidExist(SSID)); 95 private boolean doesSsidExist(String ssid) { 97 if (w.SSID.equals(ssid))
|
WifiManagerTest.java | 191 private boolean existSSID(String ssid) { 193 if (w.SSID.equals(ssid)) 199 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { 201 if (w.SSID.equals(SSID)) 209 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) { 295 wifiConfiguration.SSID = SSID1; 322 wifiConfiguration.SSID = SSID2 [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 85 assertTrue("failed to connect to " + config.SSID, 92 // step 3: verify the current connected network is the given SSID 95 log("config.SSID = " + config.SSID); 99 assertTrue(config.SSID.contains(mWifiManager.getConnectionInfo().getSSID())); 117 String ssid = networks.get(i).SSID; local 118 log("-- START Wi-Fi connection test to : " + ssid + " --"); 122 log("-- END Wi-Fi connection test to " + ssid + " -- ");
|
WifiAssociationTest.java | 40 * * adb shell am instrument -e ssid <ssid> -e password <password> \ 63 mSsid = arguments.getString("ssid"); 68 assertNotNull("Ssid is empty", mSsid); 98 assertTrue("failed to associate with " + config.SSID, 102 assertTrue("failed to connect with " + config.SSID, 106 // step 3: verify the current connected network is the given SSID 108 assertTrue(config.SSID.contains(mWifiManager.getConnectionInfo().getSSID())); 125 assertNotNull("no test ssid", mSsid); 127 config.SSID = mSsid [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 118 config.SSID = "\"TestSSID1\""; 129 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 155 config.SSID = "\"TestSSID2\""; 205 config.SSID = "\"TestSSID3\""; 224 if (c.SSID.equals("TestSSID3")) { 290 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/stress/ |
WifiStressTest.java | 148 int ssidAppearInScanResultsCount = 0; // count times of given ssid appear in scan results. 158 writeOutput(String.format("ssid appear %d out of %d scan iterations", 191 log(String.format("scan result for %s is: %s", sr.SSID, sr.toString())); 192 log(String.format("signal level for %s is %d ", sr.SSID, sr.level)); 193 if (sr.SSID.equals(mSsid)) { 206 writeOutput(String.format("ssid appear %d out of %d scan iterations", 227 config.SSID = mSsid;
|
WifiApStress.java | 77 config.SSID = NETWORK_ID;
|
/packages/apps/Settings/src/com/android/settings/net/ |
DataUsageMeteredSettings.java | 85 if (config.SSID != null) { 104 final String networkId = config.SSID;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 60 String ssid; field in class:AccessPoint 186 ssid = (config.SSID == null ? "" : removeDoubleQuotes(config.SSID)); 195 ssid = result.SSID; 246 // Sort by ssid. 247 return ssid.compareToIgnoreCase(other.ssid); 262 result += 29 * ssid.hashCode() [all...] |
WifiApDialog.java | 39 * Dialog to configure the SSID and security settings 84 * TODO: SSID in WifiConfiguration for soft ap 89 config.SSID = mSsid.getText().toString(); 130 mSsid = (TextView) mView.findViewById(R.id.ssid); 138 mSsid.setText(mWifiConfig.SSID);
|
WifiSettingsForSetupWizardXL.java | 356 mNetworkName = mWifiConfig.getController().getConfig().SSID; 369 mNetworkName = mWifiConfig.getController().getConfig().SSID; 382 mNetworkName = mWifiConfig.getController().getConfig().SSID; 521 mWifiConfig.requestFocusAndShowKeyboard(R.id.ssid); 594 config.SSID, config.networkId));
|
WifiStatusTest.java | 140 mSSID = (TextView) findViewById(R.id.ssid); 277 if (TextUtils.isEmpty(scanResult.SSID)) { 281 scanList.append(scanResult.SSID+" ");
|
WifiApEnabler.java | 152 (wifiConfig == null) ? s : wifiConfig.SSID));
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 90 public String mPowerSsid = "opennet"; //Default power SSID 548 * Associate the device to given SSID 554 config.SSID = knownSSID; 560 * Connect to Wi-Fi with the given configuration. Note the SSID in the configuration 566 String ssid = config.SSID; local 567 config.SSID = convertToQuotedString(ssid);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 532 * Associate the device to given SSID 538 config.SSID = knownSSID; 549 // The SSID in the configuration is a pure string, need to convert it to a quoted string. 550 String ssid = config.SSID; local 551 config.SSID = convertToQuotedString(ssid); 571 if (sr.SSID.equals(ssid)) { 572 Log.v(LOG_TAG, "Found " + ssid + " in the scan result list.") [all...] |
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 187 mWifiConfig.SSID, 585 mWifiConfig.SSID,
|