/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 = AccessPoint.convertToQuotedString(ssid); 69 config.SSID = ssid; 152 * Return the configured network that matches the ssid/security pair, or create one. 154 public static WifiConfiguration getConfiguration(Context context, String ssid, 156 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security); 159 // No configured network found; populate a new one with the provided ssid / security [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiLinkLayerStats.java | 39 * The network's SSID. Can either be an ASCII string, 46 public String SSID; 122 if (this.SSID != null) { 123 sbuf.append(" SSID: ").append(this.SSID).append('\n'); 162 if (SSID == null) return ""; 163 final int length = SSID.length(); 164 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { 165 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);
|
WifiConfiguration.java | 50 public static final String ssidVarName = "ssid"; 226 * The network's SSID. Can either be an ASCII string, 232 public String SSID; 299 * This is a network that does not broadcast its SSID, so an 300 * SSID-specific probe request must be used for scans. 920 * configKey is : "SSID"-WEP-WPA_PSK-WPA_EAP [all...] |
ScanResult.java | 35 public String SSID; 38 * Ascii encoded SSID. This will replace SSID when we deprecate it. @hide 356 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 382 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 397 public ScanResult(String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, 401 this.SSID = Ssid; 422 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, 426 this(Ssid, BSSID, hessid, anqpDomainId, caps, level, frequency, tsf, distCm [all...] |
/external/robolectric/v1/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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
WifiConfigLockdownTest.java | 71 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 72 areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID) || 73 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID) || 74 areMatchingSsids(CHANGED_REGULAR_SSID, config.SSID)) { 85 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 90 if (areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 104 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 105 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 118 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 131 assertFalse(areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID)); [all...] |
/external/autotest/client/site_tests/network_RoamWifiEndToEnd/ |
network_RoamWifiEndToEnd.py | 21 2. Tests the DUT can Roam/Failover between networks with same SSID. 36 if service['Name'] == self.SSID: 47 raise error.TestFail('Network with ssid=%s is not found', self.SSID) 63 raise error.TestFail('Network with ssid=%s is not found', self.SSID) 73 def run_once(self, ssid, test): 76 @param ssid: SSID of the APs. 81 self.SSID = ssi [all...] |
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
AccessPointTest.java | 44 wifiConfig.SSID = TEST_SSID; 53 result.SSID = TEST_SSID; 78 result.SSID = TEST_SSID;
|
/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/v1/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiApConfigStoreTest.java | 83 String ssid, String preSharedKey, int keyManagement, int band, int channel) { 85 config.SSID = ssid; 101 assertEquals(config1.SSID, config2.SSID); 109 assertEquals(TEST_DEFAULT_AP_SSID, config.SSID); 131 "ConfiguredAP", /* SSID */ 151 "ConfiguredAP", /* SSID */ 178 "ConfiguredAP", /* SSID */
|
ConfigurationMapTest.java | 142 assertNull(mConfigs.getEphemeralForCurrentUser(config.SSID)); 144 assertEquals(config, mConfigs.getEphemeralForCurrentUser(config.SSID)); 158 assertNull(mConfigs.getEphemeralForCurrentUser(config.SSID)); 160 assertNull(mConfigs.getEphemeralForCurrentUser(config.SSID));
|
WifiConfigurationTestUtil.java | 39 * @param ssid the configuration's ssid 46 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 49 config.SSID = ssid; 67 * @param ssid the configuration's ssid 75 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
|
WifiConfigManagerTest.java | 245 return new BigInteger(1, config.SSID.substring(1, config.SSID.length() - 1) 265 assertEquals(expectedConfig.SSID, actualConfig.SSID); 449 * - In the wpa_supplicant: "ssid", "id_str" 559 * - In the wpa_supplicant: "ssid", "id_str" 565 final String header = "network id / ssid / bssid / flags"; 568 networks += "\n" + Integer.toString(config.networkId) + "\t" + config.SSID + "\tany"; 654 final String header = "network id / ssid / bssid / flags"; 656 header + "\n0\t" + config.SSID + "\tany\n1\t" + config.SSID + "\tany" [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ScanDetailUtilTest.java | 43 final String ssid = "SOME SsId"; local 45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 49 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) 59 final String ssid = "SOME SsId"; local 61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 65 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8) 76 final String ssid = "Another SSid"; local [all...] |
/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);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 200 private boolean existSSID(String ssid) { 202 if (w.SSID.equals(ssid)) 208 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { 210 if (w.SSID.equals(SSID)) 218 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) { 368 wifiConfiguration.SSID = SSID1; 390 wifiConfiguration.SSID = SSID2 [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUCache.java | 63 return mScanResult.SSID + " @ " + mInstant; 129 Log.d("ZXZ", "Add OSU " + entry.getKey() + " from " + entry.getValue().SSID); 132 entry.getValue().SSID + " to " + current);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiApConfigStore.java | 137 config.SSID = in.readUTF(); 172 out.writeUTF(config.SSID); 193 config.SSID = mContext.getResources().getString(
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
DataUsageMeteredSettings.java | 98 if (config.SSID != null) { 117 final String networkId = config.SSID; 207 if (config.SSID != null) { 208 final String networkId = config.SSID;
|