Searched defs:SSID (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DANQPNetworkKeyTest.java30 private static final String SSID = "TestSSID"; field in class:ANQPNetworkKeyTest
36 * Verify that building a SSID based key works as expected.
42 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, 0, 0, ANQP_DOMAIN_ID);
43 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, 0, ANQP_DOMAIN_ID);
55 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, ANQP_DOMAIN_ID);
60 * Verify that building a key based on an AP (SSID + BSSID) works as expected.
66 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, BSSID, 0, 0);
67 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, 0);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConnectionStatistics.java38 * history of past connection to untrusted SSID
39 * Key = SSID
63 public void incrementOrAddUntrusted(String SSID, int connection, int usage) { argument
65 if (TextUtils.isEmpty(SSID))
67 if (untrustedNetworkHistory.containsKey(SSID)) {
68 stats = untrustedNetworkHistory.get(SSID);
77 untrustedNetworkHistory.put(SSID, stats);
H A DWifiLinkLayerStats.java39 * The network's SSID. Can either be an ASCII string,
46 public String SSID; field in class:WifiLinkLayerStats
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
[all...]
H A DScanResult.java36 public String SSID; field in class:ScanResult
39 * Ascii encoded SSID. This will replace SSID when we deprecate it. @hide
438 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE;
464 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE;
483 this.SSID = Ssid;
517 SSID = source.SSID;
555 sb.append("SSID: ").
596 dest.writeString(SSID);
[all...]
H A DWifiConfiguration.java241 * The network's SSID. Can either be an ASCII string,
247 public String SSID; field in class:WifiConfiguration
319 * This is a network that does not broadcast its SSID, so an
320 * SSID-specific probe request must be used for scans.
960 * configKey is : "SSID"-WEP-WPA_PSK-WPA_EAP
1396 * The linked configuration may or may not have same SSID, and may or may not have same
1404 SSID = null;
1479 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID).
1671 if (SSID
[all...]
H A DWifiManager.java947 * <li>SSID</li>
1816 * @param wifiConfig SSID, security and channel details as
1855 * @param wifiConfig SSID, security and channel details as
1896 * {@link WifiConfiguration} with the SSID, security type and credentials needed to connect
2875 * @param SSID, in the format of WifiConfiguration's SSID.
2878 public void disableEphemeralNetwork(String SSID) { argument
2879 if (SSID == null) throw new IllegalArgumentException("SSID cannot be null");
2881 mService.disableEphemeralNetwork(SSID);
[all...]
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DWifiNetworkScoreCacheTest.java56 public static final String SSID = "ssid"; field in class:WifiNetworkScoreCacheTest
57 public static final String FORMATTED_SSID = "\"" + SSID + "\"";
62 public static final ScanResult VALID_SCAN_RESULT = buildScanResult(SSID, BSSID);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiMonitorTest.java56 private static final String SSID = "\"test124\""; field in class:WifiMonitorTest
256 String ssid = SSID;
280 String ssid = SSID;
446 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(SSID);
H A DWifiMetricsTest.java610 private static final String SSID = "red"; field in class:WifiMetricsTest
623 when(networkDetail.getSSID()).thenReturn(SSID);
628 config.SSID = "\"" + SSID + "\"";
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkScoreServiceTest.java101 private static final String SSID = "ssid"; field in class:NetworkScoreServiceTest
111 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID), "00:00:00:00:00:00")),
164 configuration.SSID = "NetworkScoreServiceTest_SSID";
171 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid));
724 createScanResult(SSID, null),
725 createScanResult(SSID, INVALID_BSSID)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java809 * @param wifiConfig SSID, security and channel details as
926 * @param wifiConfig SSID, security and channel details as part of WifiConfiguration
1575 + " SSID " + config.SSID
2021 public void disableEphemeralNetwork(String SSID) { argument
2025 mWifiStateMachine.disableEphemeralNetwork(SSID);
H A DWifiStateMachine.java377 // SSID Once connected, it will be set to invalid
1786 public void disableEphemeralNetwork(String SSID) { argument
1787 if (SSID != null) {
1788 sendMessage(CMD_DISABLE_EPHEMERAL_NETWORK, SSID);
2874 // If debouncing, we dont re-select a SSID or BSSID hence
2877 // just try to reconnect to the same SSID by triggering a roam
3152 // Always indicate that SSID has changed
3188 // If we receive a supplicant state change with an empty SSID,
3380 // - in the case of a roaming event (intra-SSID), we probably trigger when L2 is
4940 && targetWificonfiguration.SSID !
[all...]

Completed in 755 milliseconds