/frameworks/base/core/java/android/net/ |
D | WifiKey.java | 45 public final String ssid; field in WifiKey 65 public WifiKey(String ssid, String bssid) { in WifiKey() argument 66 if (!SSID_PATTERN.matcher(ssid).matches()) { in WifiKey() 67 throw new IllegalArgumentException("Invalid ssid: " + ssid); in WifiKey() 72 this.ssid = ssid; in WifiKey() 77 ssid = in.readString(); in WifiKey() 88 out.writeString(ssid); in writeToParcel() 99 return Objects.equals(ssid, wifiKey.ssid) && Objects.equals(bssid, wifiKey.bssid); in equals() 104 return Objects.hash(ssid, bssid); in hashCode() 109 return "WifiKey[SSID=" + ssid + ",BSSID=" + bssid + "]"; in toString()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 57 public static WifiConfiguration createOpenConfig(String ssid) { in createOpenConfig() argument 58 WifiConfiguration config = createGenericConfig(ssid); in createOpenConfig() 71 public static WifiConfiguration createWepConfig(String ssid, String password) { in createWepConfig() argument 72 WifiConfiguration config = createGenericConfig(ssid); in createWepConfig() 93 public static WifiConfiguration createPskConfig(String ssid, String password) { in createPskConfig() argument 94 WifiConfiguration config = createGenericConfig(ssid); in createPskConfig() 118 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig() argument 122 config.SSID = quotedString(ssid); in createEapConfig() 147 private static WifiConfiguration createGenericConfig(String ssid) { in createGenericConfig() argument 149 config.SSID = quotedString(ssid); in createGenericConfig() [all …]
|
D | ConnectivityManagerTestRunner.java | 58 String ssid = icicle.getString("ssid"); in onCreate() local 59 if (ssid != null) { in onCreate() 60 mSsid = ssid; in onCreate()
|
D | ConnectivityManagerTestBase.java | 319 protected boolean connectToWifi(String ssid, String password) { in connectToWifi() argument 322 config = WifiConfigurationHelper.createOpenConfig(ssid); in connectToWifi() 324 config = WifiConfigurationHelper.createPskConfig(ssid, password); in connectToWifi()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiAssociationTest.java | 57 String ssid = arguments.getString("ssid"); in testWifiAssociation() local 58 assertNotNull("ssid is empty", ssid); in testWifiAssociation() 76 WifiConfiguration config = getConfig(ssid, securityType, password); in testWifiAssociation() 107 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { in getConfig() argument 113 config = WifiConfigurationHelper.createOpenConfig(ssid); in getConfig() 119 config = WifiConfigurationHelper.createWepConfig(ssid, password); in getConfig() 126 config = WifiConfigurationHelper.createWepConfig(ssid, password); in getConfig() 131 config = WifiConfigurationHelper.createPskConfig(ssid, password); in getConfig() 139 config = WifiConfigurationHelper.createPskConfig(ssid, password); in getConfig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | WifiAccessPointController.java | 140 final String ssid = scanResult.SSID; in updateAccessPoints() local 141 if (TextUtils.isEmpty(ssid) || ssids.contains(ssid)) continue; in updateAccessPoints() 142 if (!configured.containsKey(ssid)) continue; in updateAccessPoints() 143 ssids.add(ssid); in updateAccessPoints() 144 final WifiConfiguration config = configured.get(ssid); in updateAccessPoints() 148 ap.ssid = ssid; in updateAccessPoints()
|
D | NetworkController.java | 57 public String ssid; field in NetworkController.AccessPoint
|
D | NetworkControllerImpl.java | 1002 String ssid = info.getSSID(); in huntForSsid() local 1003 if (ssid != null) { in huntForSsid() 1004 return ssid; in huntForSsid()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 153 public int getNetworkId(String deviceAddress, String ssid) { in getNetworkId() argument 154 if (deviceAddress == null || ssid == null) { in getNetworkId() 161 ssid.equals(grp.getNetworkName())) { in getNetworkId()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 226 WifiSsid ssid = new WifiSsid(); 230 ssid.octets.write(b, 0, length); 231 return ssid;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 138 String ssid = ""; // equals() and hashCode() need these to be non-null field in SettingsBackupAgent.Network 168 ssid = line; in rememberLine() 207 return ssid.equals(other.ssid) && key_mgmt.equals(other.key_mgmt); in equals() 213 result = 31 * result + ssid.hashCode(); in hashCode() 237 Log.v(TAG, "Adding " + net.ssid + " / " + net.key_mgmt); in readNetworks() 243 Log.v(TAG, "Dupe; skipped " + net.ssid + " / " + net.key_mgmt); in readNetworks()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 550 String ssid = config.SSID; in connectToWifiWithConfiguration() local 551 config.SSID = convertToQuotedString(ssid); in connectToWifiWithConfiguration() 571 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration() 572 Log.v(LOG_TAG, "Found " + ssid + " in the scan result list."); in connectToWifiWithConfiguration()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 275 public boolean setDeviceWifiAndAirplaneMode(String ssid) { in setDeviceWifiAndAirplaneMode() argument 277 assertTrue(mConnectionUtil.connectToWifi(ssid)); in setDeviceWifiAndAirplaneMode()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkScoreCache.java | 137 String key = network.networkKey.wifiKey.ssid; in buildNetworkKey()
|
D | WifiConfigStore.java | 1510 private String readNetworkVariableFromSupplicantFile(String ssid, String key) { in readNetworkVariableFromSupplicantFile() argument 1512 if (VDBG) loge("readNetworkVariableFromSupplicantFile ssid=[" + ssid + "] key=" + key); in readNetworkVariableFromSupplicantFile() 1513 return data.get(ssid); in readNetworkVariableFromSupplicantFile() 1773 String ssid = null; in readNetworkHistory() local 1804 ssid = null; in readNetworkHistory() 1813 ssid = key.replace(SSID_KEY, ""); in readNetworkHistory() 1814 ssid = ssid.replace(SEPARATOR_KEY, ""); in readNetworkHistory() 1815 if (config.SSID != null && !config.SSID.equals(ssid)) { in readNetworkHistory() 1818 ssid = null; in readNetworkHistory() 1820 config.SSID = ssid; in readNetworkHistory() [all …]
|
D | WifiStateMachine.java | 755 String ssid; field in WifiStateMachine.SimAuthRequestData 3265 String ssid = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in setScanResults() local 3266 String key = bssid + ssid; in setScanResults() 5996 String ssid; in processMessage() local 6172 ssid = (String) message.obj; in processMessage() 6174 if (targetWificonfiguration != null && ssid != null in processMessage() 6176 && targetWificonfiguration.SSID.equals("\"" + ssid + "\"")) { in processMessage()
|
D | WifiMonitor.java | 1201 data.ssid = match.group(4); in handleRequests()
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 180 setStringField(env, scanResult, "SSID", result->ssid); in createScanResult() 448 setStringField(env, scanResult, "SSID", results[i].ssid); in android_net_wifi_getScanResults() 581 setStringField(env, scanResult, "SSID", results[i].ssid); in onHotlistApFound() 595 ALOGD("Found AP %32s %s", results[i].ssid, bssid); in onHotlistApFound()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | WifiTile.java | 307 item.line1 = ap.ssid; in updateItems()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 2393 String ssid = result[1]; in updatePersistentNetworks() local 2423 group.setNetworkName(ssid); in updatePersistentNetworks() 2494 String ssid = mWifiNative.p2pGetSsid(dev.deviceAddress); in reinvokePersistentGroup() local 2495 if (DBG) logd("target ssid is " + ssid + " join:" + join); in reinvokePersistentGroup() 2504 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid); in reinvokePersistentGroup()
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
D | halutil.cpp | 196 printMsg("%-32s\t", result.ssid); in printScanResult()
|