Searched refs:bssid (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/net/
H A DWifiKey.java53 public final String bssid; field in class:WifiKey
61 * @param bssid the basic service set identifier (BSSID) of this network's access point.
66 public WifiKey(String ssid, String bssid) { argument
70 if (!BSSID_PATTERN.matcher(bssid).matches()) {
71 throw new IllegalArgumentException("Invalid bssid: " + bssid);
74 this.bssid = bssid;
79 bssid = in.readString();
90 out.writeString(bssid);
[all...]
H A DWifiLinkQualityInfo.java101 public void setBssid(String bssid) { argument
102 mBssid = bssid;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DAnqpCache.java31 private CacheKey(String ssid, long bssid, long hessid) { argument
33 mBSSID = bssid;
55 long bssid;
59 bssid = network.getBSSID();
64 bssid = 0L;
69 bssid = 0L;
73 return new CacheKey(ssid, bssid, hessid);
H A DSupplicantBridge.java98 public void notifyANQPDone(Long bssid, boolean success) { argument
101 scanDetail = mRequestMap.remove(bssid);
105 success ? "successful" : "failed", bssid));
113 success ? "successful" : "failed", bssid, elements));
254 commands.add(String.format("SET_NETWORK %s bssid %s",
H A DNetworkDetail.java125 public NetworkDetail(String bssid, String infoElements, List<String> anqpLines, int freq) { argument
135 mBSSID = Utils.parseMac(bssid);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java50 ScanResult get(String bssid) { argument
51 ScanDetail scanDetail = getScanDetail(bssid);
55 ScanDetail getScanDetail(String bssid) { argument
56 return mMap.get(bssid);
59 void remove(String bssid) { argument
60 mMap.remove(bssid);
H A DWifiNetworkScoreCache.java46 // The key is of the form "<ssid>"<bssid>
147 if (network.networkKey.wifiKey.bssid != null) {
148 key = key + network.networkKey.wifiKey.bssid;
H A DWifiNative.java394 * bssid=68:7f:74:d7:1b:6e
434 * bssid=00:03:7f:40:84:10
460 public String scanResult(String bssid) { argument
461 return doStringCommand("BSS " + bssid);
631 public boolean addToBlacklist(String bssid) { argument
632 if (TextUtils.isEmpty(bssid)) return false;
633 return doBooleanCommand("BLACKLIST " + bssid);
720 public boolean startWpsPbc(String bssid) { argument
721 if (TextUtils.isEmpty(bssid)) {
724 return doBooleanCommand("WPS_PBC " + bssid);
728 startWpsPbc(String iface, String bssid) argument
751 startWpsPinDisplay(String bssid) argument
759 startWpsPinDisplay(String iface, String bssid) argument
791 startWpsRegistrar(String bssid, String pin) argument
1215 fetchAnqp(String bssid, String subtypes) argument
[all...]
H A DWifiWatchdogStateMachine.java552 loge("Ignore, wifiinfo " + mWifiInfo +" bssid " + mCurrentBssid);
880 private void updateCurrentBssid(String bssid) { argument
881 if (DBG) logd("Update current BSSID to " + (bssid != null ? bssid : "null"));
884 if (bssid == null) {
893 if (mCurrentBssid != null && bssid.equals(mCurrentBssid.mBssid)) return;
896 mCurrentBssid = mBssidCache.get(bssid);
898 mCurrentBssid = new BssidStatistics(bssid);
899 mBssidCache.put(bssid, mCurrentBssid);
1050 * @param bssid i
1052 BssidStatistics(String bssid) argument
[all...]
H A DWifiStateMachine.java461 public void autoRoamSetBSSID(int netId, String bssid) { argument
462 autoRoamSetBSSID(mWifiConfigStore.getWifiConfiguration(netId), bssid);
465 public boolean autoRoamSetBSSID(WifiConfiguration config, String bssid) { argument
468 if (bssid == null) bssid = "any";
471 if (mTargetRoamBSSID != null && bssid == mTargetRoamBSSID && bssid == config.BSSID) {
474 if (!mTargetRoamBSSID.equals("any") && bssid.equals("any")) {
481 logd("autoRoamSetBSSID " + bssid + " key=" + config.configKey());
483 config.autoJoinBSSID = bssid;
2375 addToBlacklist(String bssid) argument
4784 sendNetworkStateChangeBroadcast(String bssid) argument
[all...]
H A DWifiMonitor.java247 * CTRL-EVENT-DISCONNECTED - bssid=ac:22:0b:24:70:74 reason=3 locally_generated=1
256 * CTRL-EVENT-ASSOC-REJECT - bssid=ac:22:0b:24:70:74 status_code=1
353 bssid=fa:7b:7a:42:82:13 unknown-network */
1230 long bssid = Utils.parseMac(eventStr.substring(addrPos + ADDR_STRING.length(), eoaddr));
1234 mStateMachine.sendMessage(ANQP_DONE_EVENT, result, 0, bssid);
1251 String bssid = null;
1259 bssid = nameValue[1];
1267 mStateMachine2.sendMessage(GAS_QUERY_DONE_EVENT, success, 0, bssid);
H A DWifiScanningServiceImpl.java815 if (result.BSSID.equalsIgnoreCase(BssidInfo.bssid)) {
831 if (result.BSSID.equalsIgnoreCase(BssidInfo.bssid)) {
1700 BssidInfo.bssid = brightest[i].BSSID;
1706 if (DBG) localLog("Setting bssid=" + BssidInfo.bssid + ", " +
1729 result.BSSID = settings.bssidInfos[i].bssid;
H A DWifiConfigStore.java1009 /* need to slap on the SSID of selected bssid to work */
1021 loge("Could not find bssid for " + config);
1816 // network-id | ssid | bssid | flags
2303 String bssid = null;
2471 bssid = null;
2498 if ((bssid != null) && (ssid != null)) {
2502 ScanDetail scanDetail = new ScanDetail(wssid, bssid,
3309 public void notifyANQPDone(Long bssid, boolean success) { argument
3310 mSupplicantBridge.notifyANQPDone(bssid, success);
4187 for (String bssid
[all...]
H A DWifiServiceImpl.java1238 public void addToBlacklist(String bssid) { argument
1241 mWifiStateMachine.addToBlacklist(bssid);
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp265 char bssid[32]; local
266 sprintf(bssid, "%02x:%02x:%02x:%02x:%02x:%02x", result->bssid[0], result->bssid[1],
267 result->bssid[2], result->bssid[3], result->bssid[4], result->bssid[5]);
269 helper.setStringField(scanResult, "BSSID", bssid);
694 ALOGE("invalid character in bssid
729 const char *bssid = chars.c_str(); local
831 const char *bssid = chars.c_str(); local
894 char bssid[32]; local
949 const char *bssid = chars.c_str(); local
1119 char bssid[32]; local
2000 const char *bssid = chars.c_str(); local
[all...]
/frameworks/base/wifi/java/android/net/wifi/passpoint/
H A DWifiPasspointPolicy.java68 String bssid, WifiPasspointCredential pc,
78 mBssid = bssid;
88 public void setBssid(String bssid) { argument
89 mBssid = bssid;
147 Log.d(TAG, "create bssid:" + mBssid);
67 WifiPasspointPolicy(String name, String ssid, String bssid, WifiPasspointCredential pc, int restriction, boolean ishomesp) argument
H A DWifiPasspointInfo.java210 public String bssid; field in class:WifiPasspointInfo
289 sb.append("BSSID: ").append("(").append(bssid).append(")");
356 out.writeString(bssid);
460 p.bssid = in.readString();
H A DWifiPasspointManager.java253 Log.d(TAG, "anqpRequestStart sr.bssid=" + sr.BSSID);
260 Log.d(TAG, "anqpRequestFinish pi.bssid=" + result.bssid);
263 if (sr.BSSID.equals(result.bssid)) {
264 Log.d(TAG, "find hit " + result.bssid);
274 Log.d(TAG, "anqpRequestFinish sr.bssid=" + sr.BSSID);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java483 String bssid = null;
488 bssid = mInfo.getBSSID();
489 if (bssid != null) {
490 visibility.append(" ").append(bssid);
539 if (bssid != null && result.BSSID.equals(bssid)) scans5GHz.append("*");
559 if (bssid != null && result.BSSID.equals(bssid)) scans24GHz.append("*");
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl127 void addToBlacklist(String bssid);
H A DRttManager.java321 public String bssid; field in class:RttManager.RttParams
472 dest.writeString(params.bssid);
509 params[i].bssid = in.readString();
544 public String bssid; field in class:RttManager.RttResult
706 dest.writeString(result.bssid);
756 results[i].bssid = in.readString();
831 } else if(params.bssid == null || params.bssid.isEmpty()) {
H A DWifiScanner.java486 /** bssid of the access point; in XX:XX:XX:XX:XX:XX format */
487 public String bssid; field in class:WifiScanner.BssidInfo
522 dest.writeString(info.bssid);
546 info.bssid = in.readString();
665 dest.writeString(info.bssid);
685 info.bssid = in.readString();
H A DWifiManager.java333 public static final String EXTRA_BSSID = "bssid";
1656 * Add a bssid to the supplicant blacklist
1663 public boolean addToBlacklist(String bssid) { argument
1665 mService.addToBlacklist(bssid);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java2403 // network-id | ssid | bssid | flags
2406 String bssid = result[2];
2440 if (bssid.equalsIgnoreCase(mThisDevice.deviceAddress)) {
2444 device.deviceAddress = bssid;

Completed in 291 milliseconds