Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java695 public final PatternMatcher ssidPatternMatcher; field in WifiNetworkSpecifier
728 public WifiNetworkSpecifier(@NonNull PatternMatcher ssidPatternMatcher, in WifiNetworkSpecifier() argument
733 checkNotNull(ssidPatternMatcher); in WifiNetworkSpecifier()
737 this.ssidPatternMatcher = ssidPatternMatcher; in WifiNetworkSpecifier()
763 PatternMatcher ssidPatternMatcher = in.readParcelable(/* classLoader */null);
771 return new WifiNetworkSpecifier(ssidPatternMatcher, bssidPatternMatcher, band,
788 dest.writeParcelable(ssidPatternMatcher, flags); in writeToParcel()
799 ssidPatternMatcher.getPath(), ssidPatternMatcher.getType(), bssidPatternMatcher, in hashCode()
812 return Objects.equals(this.ssidPatternMatcher.getPath(), in equals()
813 lhs.ssidPatternMatcher.getPath()) in equals()
[all …]
DWifiNetworkAgentSpecifier.java127 checkNotNull(ns.ssidPatternMatcher); in satisfiesNetworkSpecifier()
152 if (!ns.ssidPatternMatcher.match(ssidWithoutQuotes)) { in satisfiesNetworkSpecifier()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java821 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isValidNetworkSpecifier() local
823 if (ssidPatternMatcher == null || bssidPatternMatcher == null) { in isValidNetworkSpecifier()
826 if (ssidPatternMatcher.getPath() == null || bssidPatternMatcher.first == null in isValidNetworkSpecifier()
834 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchNoneNetworkSpecifier() local
836 if (ssidPatternMatcher.getType() != PatternMatcher.PATTERN_PREFIX in isMatchNoneNetworkSpecifier()
837 && ssidPatternMatcher.getPath().equals(MATCH_EMPTY_SSID_PATTERN_PATH)) { in isMatchNoneNetworkSpecifier()
852 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchAllNetworkSpecifier() local
854 if (ssidPatternMatcher.match(MATCH_EMPTY_SSID_PATTERN_PATH) in isMatchAllNetworkSpecifier()
910 if (specifier.ssidPatternMatcher.getType() == PatternMatcher.PATTERN_LITERAL) { in validateNetworkSpecifier()
913 if (!validateSsid(addEnclosingQuotes(specifier.ssidPatternMatcher.getPath()), true)) { in validateNetworkSpecifier()
DWifiNetworkFactory.java906 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.getBand(), in needNetworkFor()
1584 addEnclosingQuotes(wns.ssidPatternMatcher.getPath()))); in startPeriodicScans()
1650 if (!wns.ssidPatternMatcher.match(scanResult.SSID)) { in doesScanResultMatchWifiNetworkSpecifier()
1754 if (mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getType() in isActiveRequestForSingleAccessPoint()
1771 if (mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getType() in isActiveRequestForSingleNetwork()
1949 String ssid = mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getPath(); in triggerConnectIfUserApprovedMatchFound()
2016 + mActiveSpecificNetworkRequestSpecifier.ssidPatternMatcher.getPath() + "\""; in handleScanResults()
DMultiInternetWifiNetworkFactory.java184 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.getBand(), in needNetworkFor()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java73 assertEquals(TEST_SSID, wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
74 assertEquals(PATTERN_PREFIX, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
99 assertEquals(".*", wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
100 assertEquals(PATTERN_SIMPLE_GLOB, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
132 assertEquals(TEST_SSID, wifiNetworkSpecifier.ssidPatternMatcher.getPath()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
133 assertEquals(PATTERN_LITERAL, wifiNetworkSpecifier.ssidPatternMatcher.getType()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java778 .ssidPatternMatcher.getPath(), new int[0]); in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
799 .ssidPatternMatcher.getPath(), new int[0]); in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()