/frameworks/base/wifi/java/android/net/wifi/ |
D | WpsInfo.java | 59 public String BSSID; field in WpsInfo 70 BSSID = null; in WpsInfo() 80 sbuf.append(" BSSID: ").append(BSSID); in toString() 100 BSSID = source.BSSID; in WpsInfo() 110 dest.writeString(BSSID); in writeToParcel() 124 config.BSSID = in.readString();
|
D | ScanResult.java | 48 public String BSSID; field in ScanResult 461 public ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, in ScanResult() argument 465 this.BSSID = BSSID; in ScanResult() 491 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 495 this.BSSID = BSSID; in ScanResult() 513 public ScanResult(String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, in ScanResult() argument 518 this.BSSID = BSSID; in ScanResult() 542 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, in ScanResult() argument 546 this(Ssid, BSSID, hessid, anqpDomainId, caps, level, frequency, tsf, distCm, in ScanResult() 556 BSSID = source.BSSID; in ScanResult() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointEventHandlerTest.java | 49 private static final long BSSID = 0x112233445566L; field in PasspointEventHandlerTest 79 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement() 84 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR1AnqpElement() 102 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement() 107 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestR2AnqpElement() 128 assertTrue(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements() 133 assertFalse(mHandler.requestANQP(BSSID, elementToRequest)); in requestMixAnqpElements() 143 assertTrue(mHandler.requestIcon(BSSID, ICON_FILENAME)); in requestIconFile() 147 assertFalse(mHandler.requestIcon(BSSID, ICON_FILENAME)); in requestIconFile() 155 mHandler.notifyANQPDone(new AnqpEvent(BSSID, null)); in anqpRequestCompletedWithError() [all …]
|
D | ANQPNetworkKeyTest.java | 31 private static final long BSSID = 0x123456L; field in ANQPNetworkKeyTest 43 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, 0, ANQP_DOMAIN_ID); in buildStandardESSKey() 55 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, ANQP_DOMAIN_ID); in buildHessidKey() 66 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, BSSID, 0, 0); in buildAPKey() 67 ANQPNetworkKey actualKey = ANQPNetworkKey.buildKey(SSID, BSSID, HESSID, 0); in buildAPKey()
|
D | PasspointManagerTest.java | 109 private static final long BSSID = 0x112233445566L; field in PasspointManagerTest 300 scanResult.BSSID = TEST_BSSID_STRING; in createTestScanResult() 363 mCallbacks.onIconResponse(BSSID, ICON_FILENAME, iconData); in iconResponseSuccess() 364 verifyIconIntent(BSSID, ICON_FILENAME, iconData); in iconResponseSuccess() 374 mCallbacks.onIconResponse(BSSID, ICON_FILENAME, null); in iconResponseFailure() 375 verifyIconIntent(BSSID, ICON_FILENAME, null); in iconResponseFailure() 390 mCallbacks.onWnmFrameReceived(new WnmData(BSSID, reasonUrl, ess, delay)); in onDeauthImminentReceived() 397 assertEquals(BSSID, intent.getValue().getExtras().getLong(EXTRA_BSSID_LONG)); in onDeauthImminentReceived() 417 mCallbacks.onWnmFrameReceived(new WnmData(BSSID, serverUrl, serverMethod)); in onSubscriptionRemediationReceived() 424 assertEquals(BSSID, intent.getValue().getExtras().getLong(EXTRA_BSSID_LONG)); in onSubscriptionRemediationReceived() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | StateChangeResult.java | 29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, in StateChangeResult() argument 33 this.BSSID = BSSID; in StateChangeResult() 39 String BSSID; field in StateChangeResult 47 sb.append(" BSSID: ").append(BSSID); in toString()
|
D | SavedNetworkEvaluator.java | 159 sbuf.append("[ ").append(scanResult.SSID).append(" ").append(scanResult.BSSID) in calculateBssidScore() 199 && currentBssid != null && !currentBssid.equals(scanResult.BSSID)) { in calculateBssidScore() 206 if (currentBssid != null && currentBssid.equals(scanResult.BSSID)) { in calculateBssidScore() 266 } else if (network.BSSID != null && !network.BSSID.equals("any") in evaluateNetworks() 267 && !network.BSSID.equals(scanResult.BSSID)) { in evaluateNetworks() 271 + " has specified BSSID " + network.BSSID + ". Skip " in evaluateNetworks() 272 + scanResult.BSSID); in evaluateNetworks()
|
D | ScanDetail.java | 130 return mNetworkDetail == null ? mScanResult.BSSID : mNetworkDetail.getBSSIDString(); in getBSSIDString() 142 mScanResult.BSSID, in toKeyString() 143 Utils.parseMac(mScanResult.BSSID)); in toKeyString() 168 Utils.parseMac(mScanResult.BSSID)); in toString() 170 return String.format("'%s'/----", mScanResult.BSSID); in toString()
|
D | WifiNetworkSelector.java | 249 : String.format("%s:%s", scanResult.SSID, scanResult.BSSID); in toScanId() 283 noValidSsid.append(scanResult.BSSID).append(" / "); in filterScanResults() 288 if (scanResult.BSSID.equals(currentBssid)) { in filterScanResults() 294 if (bssidBlacklist.contains(scanResult.BSSID)) { in filterScanResults() 497 + scanResultCandidate.BSSID); in overrideCandidateWithUserConnectChoice() 562 + selectedNetwork.getNetworkSelectionStatus().getCandidate().BSSID); in selectNetwork()
|
D | ScanDetailCache.java | 163 return a.BSSID.compareTo(b.BSSID); in sort() 193 sbuf.append("{").append(result.BSSID).append(",").append(result.frequency); in toString()
|
D | WifiConnectivityManager.java | 710 String targetBssid = scanResultCandidate.BSSID; in connectToNetwork() 726 if (candidate.BSSID != null in connectToNetwork() 727 && !candidate.BSSID.equals(WifiStateMachine.SUPPLICANT_BSSID_ANY) in connectToNetwork() 728 && !candidate.BSSID.equals(targetBssid)) { in connectToNetwork() 730 + "config specified BSSID " + candidate.BSSID + ". Drop it!"); in connectToNetwork() 768 if (mConnectivityHelper.isFirmwareRoamingSupported() && (candidate.BSSID == null in connectToNetwork() 769 || candidate.BSSID.equals(WifiStateMachine.SUPPLICANT_BSSID_ANY))) { in connectToNetwork()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkScoreCacheTest.java | 59 public static final String BSSID = "AA:AA:AA:AA:AA:AA"; field in WifiNetworkScoreCacheTest 61 public static final WifiKey VALID_KEY = new WifiKey(FORMATTED_SSID, BSSID); 63 public static final ScanResult VALID_SCAN_RESULT = buildScanResult(SSID, BSSID); 135 WifiKey key2 = new WifiKey("\"ssid2\"", BSSID); in updateScoresShouldAddNewNetwork() 137 ScanResult result2 = buildScanResult("ssid2", BSSID); in updateScoresShouldAddNewNetwork() 152 ScanResult unscored = buildScanResult("fake", BSSID); in hasScoreCurveShouldReturnFalseWhenNoCachedNetwork() 212 new WifiKey(FORMATTED_SSID2, BSSID), mockRssiCurve); in leastRecentlyUsedScore_shouldBeEvictedFromCache() 214 new WifiKey(FORMATTED_SSID3, BSSID), mockRssiCurve); in leastRecentlyUsedScore_shouldBeEvictedFromCache() 221 assertThat(mScoreCache.hasScoreCurve(buildScanResult(SSID2, BSSID))).isTrue(); in leastRecentlyUsedScore_shouldBeEvictedFromCache() 222 assertThat(mScoreCache.hasScoreCurve(buildScanResult(SSID3, BSSID))).isTrue(); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
|
D | ScanResultTest.java | 176 result.BSSID = TEST_BSSID; in createScanResult() 186 assertEquals(expected.BSSID, actual.BSSID); in assertScanResultEquals()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkKeyTest.java | 94 scanResult.BSSID = VALID_BSSID; in createFromScanResult_nullWifiSsid() 103 scanResult.BSSID = VALID_BSSID; in createFromScanResult_emptyWifiSsid() 112 scanResult.BSSID = VALID_BSSID; in createFromScanResult_noneWifiSsid() 129 scanResult.BSSID = ""; in createFromScanResult_emptyBssid() 138 scanResult.BSSID = INVALID_BSSID; in createFromScanResult_invalidBssid() 147 scanResult.BSSID = VALID_BSSID; in createFromScanResult_validWifiSsid()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 87 private static final String BSSID = "fa:45:23:23:12:12"; field in SupplicantStaIfaceHalTest 1012 byte[] bssid = NativeUtil.macAddressToByteArray(BSSID); in testAnqpDoneCallback() 1034 byte[] bssid = NativeUtil.macAddressToByteArray(BSSID); in testIconDoneCallback() 1059 byte[] bssid = NativeUtil.macAddressToByteArray(BSSID); in testHs20SubscriptionRemediationCallback() 1101 NativeUtil.macAddressToByteArray(BSSID), SUPPLICANT_NETWORK_ID, in testStateChangeCallbackWithNoConfiguredNetwork() 1107 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.INACTIVE)); in testStateChangeCallbackWithNoConfiguredNetwork() 1122 NativeUtil.macAddressToByteArray(BSSID), SUPPLICANT_NETWORK_ID, in testStateChangeToAssociatedCallback() 1127 any(WifiSsid.class), eq(BSSID), eq(SupplicantState.ASSOCIATED)); in testStateChangeToAssociatedCallback() 1143 NativeUtil.macAddressToByteArray(BSSID), SUPPLICANT_NETWORK_ID, in testStateChangeToCompletedCallback() 1147 eq(WLAN0_IFACE_NAME), eq(frameworkNetworkId), eq(BSSID)); in testStateChangeToCompletedCallback() [all …]
|
D | ScanResultMatchInfoTest.java | 61 assertFalse(scan1.getScanResult().BSSID.equals(scan2.getScanResult().BSSID)); in testDifferentBssidScanResultsMatch()
|
D | WifiMonitorTest.java | 55 private static final String BSSID = "fe:45:23:12:12:0a"; field in WifiMonitorTest 387 String bssid = BSSID; in testBroadcastAssociationRejectionEvent() 406 String bssid = BSSID; in testBroadcastAssociatedBssidEvent() 424 String bssid = BSSID; in testBroadcastNetworkConnectionEvent() 444 String bssid = BSSID; in testBroadcastNetworkDisconnectionEvent() 465 String bssid = BSSID; in testBroadcastSupplicantStateChangeEvent() 477 assertEquals(bssid, result.BSSID); in testBroadcastSupplicantStateChangeEvent()
|
D | WifiConnectivityManagerTest.java | 275 candidate.BSSID = WifiStateMachine.SUPPLICANT_BSSID_ANY; in mockWifiNetworkSelector() 278 candidateScanResult.BSSID = CANDIDATE_BSSID; in mockWifiNetworkSelector() 1682 candidate.BSSID = CANDIDATE_BSSID; // config specified 1685 candidateScanResult.BSSID = CANDIDATE_BSSID; 1736 candidate.BSSID = CANDIDATE_BSSID; // config specified 1739 candidateScanResult.BSSID = CANDIDATE_BSSID; 1780 assertEquals(mCandidateScanResultCaptor.getValue().BSSID, CANDIDATE_BSSID); 1825 candidate.BSSID = CANDIDATE_BSSID; // config specified 1829 candidateScanResult.BSSID = INVALID_SCAN_RESULT_BSSID; 1865 candidate.BSSID = CANDIDATE_BSSID; // config specified [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 65 scan1.BSSID = "00:01:02:03:04:" + String.format("%02d", lastMacByte); in getDummyRangingRequest() 69 scan2.BSSID = "0A:0B:0C:0D:0E:" + String.format("%02d", lastMacByte); in getDummyRangingRequest() 87 scan1.BSSID = "00:01:02:03:04:" + String.format("%02d", lastMacByte); in getDummyRangingRequestNo80211mcSupport() 89 scan2.BSSID = "0A:0B:0C:0D:0E:" + String.format("%02d", lastMacByte); in getDummyRangingRequestNo80211mcSupport()
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 129 scanResult1.BSSID = "00:01:02:03:04:05"; in testRangingRequestParcel() 131 scanResult2.BSSID = "06:07:08:09:0A:0B"; in testRangingRequestParcel() 133 scanResult3.BSSID = "AA:BB:CC:DD:EE:FF"; in testRangingRequestParcel() 166 scanResult.BSSID = "AA:BB:CC:DD:EE:FF"; in testRangingRequestAtLimit() 191 scanResult.BSSID = "00:01:02:03:04:05"; in testRangingRequestPastLimit() 355 scan.BSSID = "00:01:02:03:04:05"; in testResponderPreambleSelection()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 176 stringBuilder.append(" \n{").append(result.BSSID); in verboseScanResultSummary() 177 if (result.BSSID.equals(bssid)) { in verboseScanResultSummary() 196 TimestampedScoredNetwork timedScore = scoredNetworkCache.get(result.BSSID); in getSpecificApSpeed()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 44 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail() 155 r.BSSID, in dumpScanResults()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilterUtils.java | 132 return firstNotEmpty(device.SSID, device.BSSID); in getDeviceDisplayNameInternal() 139 return ((ScanResult) device).BSSID; in getDeviceMacAddress()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 135 assertEquals("NetworkDetail BSSID", input.BSSID, in validateScanDetail() 137 assertEquals("getBSSIDString", input.BSSID, output.getBSSIDString()); in validateScanDetail()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 93 scanResult.BSSID = bssid; in createScanResult() 252 scanResult.BSSID = "bssid"; 282 wifiInfo.setBSSID(configuration.BSSID); 298 wifiInfo.setBSSID(configuration.BSSID); 331 wifiInfo.setBSSID(configuration.BSSID); 450 result.BSSID = "00:11:22:33:44:55"; 503 scanResult.BSSID = "00:11:22:33:44:55"; 549 configuration.BSSID = "bssid"; 870 scanResult.BSSID = "bssid";
|