Home
last modified time | relevance | path

Searched refs:bssid (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/net/
DWifiKey.java53 public final String bssid; field in WifiKey
66 public WifiKey(String ssid, String bssid) { in WifiKey() argument
70 if (!BSSID_PATTERN.matcher(bssid).matches()) { in WifiKey()
71 throw new IllegalArgumentException("Invalid bssid: " + bssid); in WifiKey()
74 this.bssid = bssid; in WifiKey()
79 bssid = in.readString(); in WifiKey()
90 out.writeString(bssid); in writeToParcel()
100 return Objects.equals(ssid, wifiKey.ssid) && Objects.equals(bssid, wifiKey.bssid); in equals()
105 return Objects.hash(ssid, bssid); in hashCode()
110 return "WifiKey[SSID=" + ssid + ",BSSID=" + bssid + "]"; in toString()
DWifiLinkQualityInfo.java101 public void setBssid(String bssid) { in setBssid() argument
102 mBssid = bssid; in setBssid()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DAnqpCache.java31 private CacheKey(String ssid, long bssid, long hessid) { in CacheKey() argument
33 mBSSID = bssid; in CacheKey()
55 long bssid; in buildKey() local
59 bssid = network.getBSSID(); in buildKey()
64 bssid = 0L; in buildKey()
69 bssid = 0L; in buildKey()
73 return new CacheKey(ssid, bssid, hessid); in buildKey()
DSupplicantBridge.java98 public void notifyANQPDone(Long bssid, boolean success) { in notifyANQPDone() argument
101 scanDetail = mRequestMap.remove(bssid); in notifyANQPDone()
105 success ? "successful" : "failed", bssid)); in notifyANQPDone()
113 success ? "successful" : "failed", bssid, elements)); in notifyANQPDone()
DNetworkDetail.java125 public NetworkDetail(String bssid, String infoElements, List<String> anqpLines, int freq) { in NetworkDetail() argument
135 mBSSID = Utils.parseMac(bssid); in NetworkDetail()
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp260 char bssid[32]; in createScanResult() local
261 sprintf(bssid, "%02x:%02x:%02x:%02x:%02x:%02x", result->bssid[0], result->bssid[1], in createScanResult()
262 result->bssid[2], result->bssid[3], result->bssid[4], result->bssid[5]); in createScanResult()
264 helper.setStringField(scanResult, "BSSID", bssid); in createScanResult()
724 const char *bssid = chars.c_str(); in parseMacAddress() local
725 if (bssid == NULL) { in parseMacAddress()
730 parseMacAddress(bssid, addr); in parseMacAddress()
826 const char *bssid = chars.c_str(); in android_net_wifi_setHotlist() local
827 if (bssid == NULL) { in android_net_wifi_setHotlist()
831 parseMacAddress(bssid, params.ap[i].bssid); in android_net_wifi_setHotlist()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java458 public String scanResult(String bssid) { in scanResult() argument
459 return doStringCommand("BSS " + bssid); in scanResult()
629 public boolean addToBlacklist(String bssid) { in addToBlacklist() argument
630 if (TextUtils.isEmpty(bssid)) return false; in addToBlacklist()
631 return doBooleanCommand("BLACKLIST " + bssid); in addToBlacklist()
710 public boolean startWpsPbc(String bssid) { in startWpsPbc() argument
711 if (TextUtils.isEmpty(bssid)) { in startWpsPbc()
714 return doBooleanCommand("WPS_PBC " + bssid); in startWpsPbc()
718 public boolean startWpsPbc(String iface, String bssid) { in startWpsPbc() argument
720 if (TextUtils.isEmpty(bssid)) { in startWpsPbc()
[all …]
DScanDetailCache.java50 ScanResult get(String bssid) { in get() argument
51 ScanDetail scanDetail = getScanDetail(bssid); in get()
55 ScanDetail getScanDetail(String bssid) { in getScanDetail() argument
56 return mMap.get(bssid); in getScanDetail()
59 void remove(String bssid) { in remove() argument
60 mMap.remove(bssid); in remove()
DWifiWatchdogStateMachine.java880 private void updateCurrentBssid(String bssid) { in updateCurrentBssid() argument
881 if (DBG) logd("Update current BSSID to " + (bssid != null ? bssid : "null")); in updateCurrentBssid()
884 if (bssid == null) { in updateCurrentBssid()
893 if (mCurrentBssid != null && bssid.equals(mCurrentBssid.mBssid)) return; in updateCurrentBssid()
896 mCurrentBssid = mBssidCache.get(bssid); in updateCurrentBssid()
898 mCurrentBssid = new BssidStatistics(bssid); in updateCurrentBssid()
899 mBssidCache.put(bssid, mCurrentBssid); in updateCurrentBssid()
1052 public BssidStatistics(String bssid) { in BssidStatistics() argument
1053 this.mBssid = bssid; in BssidStatistics()
DWifiNetworkScoreCache.java147 if (network.networkKey.wifiKey.bssid != null) { in buildNetworkKey()
148 key = key + network.networkKey.wifiKey.bssid; in buildNetworkKey()
DWifiStateMachine.java427 public void autoRoamSetBSSID(int netId, String bssid) { in autoRoamSetBSSID() argument
428 autoRoamSetBSSID(mWifiConfigStore.getWifiConfiguration(netId), bssid); in autoRoamSetBSSID() local
431 public boolean autoRoamSetBSSID(WifiConfiguration config, String bssid) { in autoRoamSetBSSID() argument
434 if (bssid == null) bssid = "any"; in autoRoamSetBSSID()
437 if (mTargetRoamBSSID != null && bssid == mTargetRoamBSSID && bssid == config.BSSID) { in autoRoamSetBSSID()
440 if (!mTargetRoamBSSID.equals("any") && bssid.equals("any")) { in autoRoamSetBSSID()
447 logd("autoRoamSetBSSID " + bssid + " key=" + config.configKey()); in autoRoamSetBSSID()
449 config.autoJoinBSSID = bssid; in autoRoamSetBSSID()
450 mTargetRoamBSSID = bssid; in autoRoamSetBSSID()
2259 public void addToBlacklist(String bssid) { in addToBlacklist() argument
[all …]
DWifiMonitor.java1223 long bssid = Utils.parseMac(eventStr.substring(addrPos + ADDR_STRING.length(), eoaddr)); in handleAnqpResult() local
1227 mStateMachine.sendMessage(ANQP_DONE_EVENT, result, 0, bssid); in handleAnqpResult()
1244 String bssid = null; in handleGasQueryEvents() local
1252 bssid = nameValue[1]; in handleGasQueryEvents()
1260 mStateMachine2.sendMessage(GAS_QUERY_DONE_EVENT, success, 0, bssid); in handleGasQueryEvents()
DWifiScanningServiceImpl.java802 if (result.BSSID.equalsIgnoreCase(BssidInfo.bssid)) { in reportHotlistResults()
818 if (result.BSSID.equalsIgnoreCase(BssidInfo.bssid)) { in reportHotlistResults()
1678 BssidInfo.bssid = brightest[i].BSSID; in reconfigureScan()
1684 if (DBG) localLog("Setting bssid=" + BssidInfo.bssid + ", " + in reconfigureScan()
1707 result.BSSID = settings.bssidInfos[i].bssid; in reconfigureScan()
DWifiConfigStore.java2287 String bssid = null; in readNetworkHistory() local
2455 bssid = null; in readNetworkHistory()
2482 if ((bssid != null) && (ssid != null)) { in readNetworkHistory()
2486 ScanDetail scanDetail = new ScanDetail(wssid, bssid, in readNetworkHistory()
3293 public void notifyANQPDone(Long bssid, boolean success) {
3294 mSupplicantBridge.notifyANQPDone(bssid, success);
4171 for (String bssid : mBssidBlacklist) { in blackListBssid()
4172 list[count++] = bssid; in blackListBssid()
DWifiServiceImpl.java1217 public void addToBlacklist(String bssid) { in addToBlacklist() argument
1220 mWifiStateMachine.addToBlacklist(bssid); in addToBlacklist()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java321 public String bssid; field in RttManager.RttParams
472 dest.writeString(params.bssid); in writeToParcel()
509 params[i].bssid = in.readString();
544 public String bssid; field in RttManager.RttResult
706 dest.writeString(result.bssid); in writeToParcel()
756 results[i].bssid = in.readString();
831 } else if(params.bssid == null || params.bssid.isEmpty()) { in rttParamSanity()
DWifiScanner.java487 public String bssid; field in WifiScanner.BssidInfo
522 dest.writeString(info.bssid); in writeToParcel()
546 info.bssid = in.readString();
665 dest.writeString(info.bssid); in writeToParcel()
685 info.bssid = in.readString();
DIWifiManager.aidl127 void addToBlacklist(String bssid); in addToBlacklist() argument
DWifiManager.java1663 public boolean addToBlacklist(String bssid) {
1665 mService.addToBlacklist(bssid);
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointPolicy.java68 String bssid, WifiPasspointCredential pc, in WifiPasspointPolicy() argument
78 mBssid = bssid; in WifiPasspointPolicy()
88 public void setBssid(String bssid) { in setBssid() argument
89 mBssid = bssid; in setBssid()
DWifiPasspointInfo.java210 public String bssid; field in WifiPasspointInfo
289 sb.append("BSSID: ").append("(").append(bssid).append(")"); in toString()
356 out.writeString(bssid); in writeToParcel()
460 p.bssid = in.readString();
DWifiPasspointManager.java260 Log.d(TAG, "anqpRequestFinish pi.bssid=" + result.bssid); in anqpRequestFinish()
263 if (sr.BSSID.equals(result.bssid)) { in anqpRequestFinish()
264 Log.d(TAG, "find hit " + result.bssid); in anqpRequestFinish()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java483 String bssid = null; in getVisibilityStatus() local
488 bssid = mInfo.getBSSID(); in getVisibilityStatus()
489 if (bssid != null) { in getVisibilityStatus()
490 visibility.append(" ").append(bssid); in getVisibilityStatus()
539 if (bssid != null && result.BSSID.equals(bssid)) scans5GHz.append("*"); in getVisibilityStatus()
559 if (bssid != null && result.BSSID.equals(bssid)) scans24GHz.append("*"); in getVisibilityStatus()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2406 String bssid = result[2]; in updatePersistentNetworks() local
2440 if (bssid.equalsIgnoreCase(mThisDevice.deviceAddress)) { in updatePersistentNetworks()
2444 device.deviceAddress = bssid; in updatePersistentNetworks()
/frameworks/base/api/
Dsystem-current.txt20282 field public final java.lang.String bssid;
20765 field public java.lang.String bssid;
20787 field public java.lang.String bssid;
21084 field public static final java.lang.String EXTRA_BSSID = "bssid";
21196 field public java.lang.String bssid;

12