Home
last modified time | relevance | path

Searched refs:bssidPatternMatcher (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSpecifier.java453 public final Pair<MacAddress, MacAddress> bssidPatternMatcher; field in WifiNetworkSpecifier
487 @NonNull Pair<MacAddress, MacAddress> bssidPatternMatcher, in WifiNetworkSpecifier() argument
491 checkNotNull(bssidPatternMatcher); in WifiNetworkSpecifier()
496 this.bssidPatternMatcher = bssidPatternMatcher; in WifiNetworkSpecifier()
509 Pair<MacAddress, MacAddress> bssidPatternMatcher =
514 return new WifiNetworkSpecifier(ssidPatternMatcher, bssidPatternMatcher,
532 dest.writeParcelable(bssidPatternMatcher.first, flags); in writeToParcel()
533 dest.writeParcelable(bssidPatternMatcher.second, flags); in writeToParcel()
544 bssidPatternMatcher, in hashCode()
562 && Objects.equals(this.bssidPatternMatcher, in equals()
[all …]
DWifiNetworkAgentSpecifier.java131 checkNotNull(ns.bssidPatternMatcher); in satisfiesNetworkSpecifier()
144 final MacAddress matchBaseAddress = ns.bssidPatternMatcher.first; in satisfiesNetworkSpecifier()
145 final MacAddress matchMask = ns.bssidPatternMatcher.second; in satisfiesNetworkSpecifier()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java634 Pair<MacAddress, MacAddress> bssidPatternMatcher) { in validateBssidPattern() argument
635 if (bssidPatternMatcher == null) return true; in validateBssidPattern()
636 MacAddress baseAddress = bssidPatternMatcher.first; in validateBssidPattern()
637 MacAddress mask = bssidPatternMatcher.second; in validateBssidPattern()
656 Pair<MacAddress, MacAddress> bssidPatternMatcher = specifier.bssidPatternMatcher; in isValidNetworkSpecifier() local
657 if (ssidPatternMatcher == null || bssidPatternMatcher == null) { in isValidNetworkSpecifier()
660 if (ssidPatternMatcher.getPath() == null || bssidPatternMatcher.first == null in isValidNetworkSpecifier()
661 || bssidPatternMatcher.second == null) { in isValidNetworkSpecifier()
669 Pair<MacAddress, MacAddress> bssidPatternMatcher = specifier.bssidPatternMatcher; in isMatchNoneNetworkSpecifier() local
674 if (bssidPatternMatcher.equals(MATCH_NONE_BSSID_PATTERN)) { in isMatchNoneNetworkSpecifier()
[all …]
DWifiNetworkFactory.java591 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.wifiConfiguration, in needNetworkFor()
1100 MacAddress matchBaseAddress = wns.bssidPatternMatcher.first; in doesScanResultMatchWifiNetworkSpecifier()
1101 MacAddress matchMask = wns.bssidPatternMatcher.second; in doesScanResultMatchWifiNetworkSpecifier()
1203 mActiveSpecificNetworkRequestSpecifier.bssidPatternMatcher.second, in isActiveRequestForSingleAccessPoint()
1220 mActiveSpecificNetworkRequestSpecifier.bssidPatternMatcher.second, in isActiveRequestForSingleNetwork()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java68 assertEquals(MacAddress.ALL_ZEROS_ADDRESS, wifiNetworkSpecifier.bssidPatternMatcher.first); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
69 assertEquals(MacAddress.ALL_ZEROS_ADDRESS, wifiNetworkSpecifier.bssidPatternMatcher.second); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
93 wifiNetworkSpecifier.bssidPatternMatcher.first); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
95 wifiNetworkSpecifier.bssidPatternMatcher.second); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
126 wifiNetworkSpecifier.bssidPatternMatcher.first); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
128 wifiNetworkSpecifier.bssidPatternMatcher.second); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()