Home
last modified time | relevance | path

Searched refs:ssidPatternMatcher (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSpecifier.java446 public final PatternMatcher ssidPatternMatcher; field in WifiNetworkSpecifier
486 public WifiNetworkSpecifier(@NonNull PatternMatcher ssidPatternMatcher, in WifiNetworkSpecifier() argument
490 checkNotNull(ssidPatternMatcher); in WifiNetworkSpecifier()
495 this.ssidPatternMatcher = ssidPatternMatcher; in WifiNetworkSpecifier()
506 PatternMatcher ssidPatternMatcher = in.readParcelable(/* classLoader */null);
514 return new WifiNetworkSpecifier(ssidPatternMatcher, bssidPatternMatcher,
531 dest.writeParcelable(ssidPatternMatcher, flags); in writeToParcel()
542 ssidPatternMatcher.getPath(), in hashCode()
543 ssidPatternMatcher.getType(), in hashCode()
558 return Objects.equals(this.ssidPatternMatcher.getPath(), in equals()
[all …]
DWifiNetworkAgentSpecifier.java130 checkNotNull(ns.ssidPatternMatcher); in satisfiesNetworkSpecifier()
140 if (!ns.ssidPatternMatcher.match(ssidWithoutQuotes)) { in satisfiesNetworkSpecifier()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java655 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isValidNetworkSpecifier() local
657 if (ssidPatternMatcher == null || bssidPatternMatcher == null) { in isValidNetworkSpecifier()
660 if (ssidPatternMatcher.getPath() == null || bssidPatternMatcher.first == null in isValidNetworkSpecifier()
668 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchNoneNetworkSpecifier() local
670 if (ssidPatternMatcher.getType() != PatternMatcher.PATTERN_PREFIX in isMatchNoneNetworkSpecifier()
671 && ssidPatternMatcher.getPath().equals(MATCH_EMPTY_SSID_PATTERN_PATH)) { in isMatchNoneNetworkSpecifier()
681 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchAllNetworkSpecifier() local
683 if (ssidPatternMatcher.match(MATCH_EMPTY_SSID_PATTERN_PATH) in isMatchAllNetworkSpecifier()
724 if (specifier.ssidPatternMatcher.getType() == PatternMatcher.PATTERN_LITERAL) { in validateNetworkSpecifier()
727 if (!validateSsid(addEnclosingQuotes(specifier.ssidPatternMatcher.getPath()), true)) { in validateNetworkSpecifier()
DWifiNetworkFactory.java591 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.wifiConfiguration, in needNetworkFor()
1056 addEnclosingQuotes(wns.ssidPatternMatcher.getPath())); in startPeriodicScans()
1096 if (!wns.ssidPatternMatcher.match(scanResult.SSID)) { in doesScanResultMatchWifiNetworkSpecifier()
1198 if (mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getType() in isActiveRequestForSingleAccessPoint()
1215 if (mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getType() in isActiveRequestForSingleNetwork()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java66 assertEquals(TEST_SSID, wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
67 assertEquals(PATTERN_PREFIX, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
90 assertEquals(".*", wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
91 assertEquals(PATTERN_SIMPLE_GLOB, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
123 assertEquals(TEST_SSID, wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
124 assertEquals(PATTERN_LITERAL, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java560 validateScanSettings(specifier.ssidPatternMatcher.getPath()); in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
580 validateScanSettings(specifier.ssidPatternMatcher.getPath()); in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()