/frameworks/base/core/tests/coretests/src/android/os/ |
D | PatternMatcherTest.java | 33 PatternMatcher matcher = new PatternMatcher(".", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesAnyToken() 41 PatternMatcher matcher = new PatternMatcher("[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() 45 matcher = new PatternMatcher("[.*+{}\\]\\\\[]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() 58 PatternMatcher matcher = new PatternMatcher("[a-z]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 64 matcher = new PatternMatcher("[a-z][0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 69 matcher = new PatternMatcher("[z-a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 74 matcher = new PatternMatcher("[^0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 83 matcher = new PatternMatcher("[\\[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 90 PatternMatcher matcher = new PatternMatcher("\\.", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() 95 matcher = new PatternMatcher("a\\+", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 26 import android.os.PatternMatcher; 197 PatternMatcher ssidPattern = in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern() 198 new PatternMatcher(TEST_SSID_PATTERN, PatternMatcher.PATTERN_PREFIX); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern() 225 PatternMatcher ssidPattern = in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 226 new PatternMatcher(".*", PatternMatcher.PATTERN_SIMPLE_GLOB); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 254 PatternMatcher ssidPattern = in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 255 new PatternMatcher(TEST_SSID_PATTERN, PatternMatcher.PATTERN_PREFIX); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 288 PatternMatcher ssidPattern = in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 289 new PatternMatcher(TEST_SSID_PATTERN, PatternMatcher.PATTERN_PREFIX); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 321 PatternMatcher ssidPattern = in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() [all …]
|
D | WifiNetworkSpecifierTest.java | 19 import static android.os.PatternMatcher.PATTERN_LITERAL; 20 import static android.os.PatternMatcher.PATTERN_PREFIX; 21 import static android.os.PatternMatcher.PATTERN_SIMPLE_GLOB; 31 import android.os.PatternMatcher; 59 .setSsidPattern(new PatternMatcher(TEST_SSID, PATTERN_PREFIX)) in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern() 180 .setSsidPattern(new PatternMatcher(".*", PATTERN_SIMPLE_GLOB)) in testWifiNetworkSpecifierBuilderWithMatchAllSsidPattern1() 191 .setSsidPattern(new PatternMatcher(".*", PatternMatcher.PATTERN_ADVANCED_GLOB)) in testWifiNetworkSpecifierBuilderWithMatchAllSsidPattern2() 202 .setSsidPattern(new PatternMatcher("", PATTERN_PREFIX)) in testWifiNetworkSpecifierBuilderWithMatchAllSsidPattern3() 224 .setSsidPattern(new PatternMatcher("", PatternMatcher.PATTERN_LITERAL)) in testWifiNetworkSpecifierBuilderWithMatchNoneSsidPattern1() 294 .setSsidPattern(new PatternMatcher(TEST_SSID, PATTERN_LITERAL)) in testWifiNetworkSpecifierBuilderWithBothWpa2PasphraseAndEnterpriseConfig() [all …]
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 26 import android.os.PatternMatcher; 280 private ArrayList<PatternMatcher> mDataSchemeSpecificParts = null; 282 private ArrayList<PatternMatcher> mDataPaths = null; 464 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(o.mDataSchemeSpecificParts); in IntentFilter() 470 mDataPaths = new ArrayList<PatternMatcher>(o.mDataPaths); in IntentFilter() 1029 addDataSchemeSpecificPart(new PatternMatcher(ssp, type)); in addDataSchemeSpecificPart() 1033 public final void addDataSchemeSpecificPart(PatternMatcher ssp) { in addDataSchemeSpecificPart() 1035 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(); in addDataSchemeSpecificPart() 1050 public final PatternMatcher getDataSchemeSpecificPart(int index) { in getDataSchemeSpecificPart() 1070 final PatternMatcher pe = mDataSchemeSpecificParts.get(i); in hasDataSchemeSpecificPart() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkSpecifier.java | 30 import android.os.PatternMatcher; 63 private @Nullable PatternMatcher mSsidPatternMatcher; 118 public @NonNull Builder setSsidPattern(@NonNull PatternMatcher ssidPattern) { in setSsidPattern() 142 mSsidPatternMatcher = new PatternMatcher(ssid, PatternMatcher.PATTERN_LITERAL); in setSsid() 305 if (mSsidPatternMatcher.getType() == PatternMatcher.PATTERN_LITERAL) { in buildWifiConfiguration() 322 mSsidPatternMatcher = new PatternMatcher(MATCH_ALL_SSID_PATTERN_PATH, in setMatchAnyPatternIfUnset() 323 PatternMatcher.PATTERN_SIMPLE_GLOB); in setMatchAnyPatternIfUnset() 331 if (mSsidPatternMatcher.getType() != PatternMatcher.PATTERN_PREFIX in hasSetMatchNonePattern() 427 if (mIsHiddenSSID && mSsidPatternMatcher.getType() != PatternMatcher.PATTERN_LITERAL) { in build() 446 public final PatternMatcher ssidPatternMatcher; [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 56 import android.os.PatternMatcher; 711 PatternMatcher ssidPatternMatch = in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 712 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_LITERAL); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 754 PatternMatcher ssidPatternMatch = in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() 755 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_PREFIX); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() 798 PatternMatcher ssidPatternMatch = in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 799 new PatternMatcher(".*", PatternMatcher.PATTERN_SIMPLE_GLOB); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 841 PatternMatcher ssidPatternMatch = in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch() 842 new PatternMatcher(".*", PatternMatcher.PATTERN_SIMPLE_GLOB); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch() 887 PatternMatcher ssidPatternMatch = in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() [all …]
|
D | WifiConfigurationUtilTest.java | 28 import android.os.PatternMatcher; 595 new PatternMatcher(TEST_SSID, PatternMatcher.PATTERN_LITERAL), in testValidateNetworkSpecifierPositiveCases_SsidPattern() 609 new PatternMatcher(".*", PatternMatcher.PATTERN_SIMPLE_GLOB), in testValidateNetworkSpecifierPositiveCases_BssidPattern() 623 new PatternMatcher(TEST_SSID, PatternMatcher.PATTERN_LITERAL), in testValidateNetworkSpecifierPositiveCases_BothSsidPatternAndBssidPattern() 637 new PatternMatcher(".*", PatternMatcher.PATTERN_SIMPLE_GLOB), in testValidateNetworkSpecifierNegativeCases_NoSsidBssid() 651 new PatternMatcher("", PatternMatcher.PATTERN_LITERAL), in testValidateNetworkSpecifierNegativeCases_MatchNoneSsidPattern() 665 new PatternMatcher(TEST_SSID, PatternMatcher.PATTERN_LITERAL), in testValidateNetworkSpecifierNegativeCases_MatchNoneBssidPattern() 679 new PatternMatcher(TEST_SSID, PatternMatcher.PATTERN_LITERAL), in testValidateNetworkSpecifierNegativeCases_InvalidBssidPattern() 693 new PatternMatcher(TEST_SSID, PatternMatcher.PATTERN_PREFIX), in testValidateNetworkSpecifierNegativeCases_NoSsidPatternForHiddenNetwork()
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 28 public class PatternMatcher implements Parcelable { class 94 public PatternMatcher(String pattern, int type) { in PatternMatcher() method in PatternMatcher 155 public PatternMatcher(Parcel src) { in PatternMatcher() method in PatternMatcher 161 public static final @android.annotation.NonNull Parcelable.Creator<PatternMatcher> CREATOR 162 = new Parcelable.Creator<PatternMatcher>() { 163 public PatternMatcher createFromParcel(Parcel source) { 164 return new PatternMatcher(source); 167 public PatternMatcher[] newArray(int size) { 168 return new PatternMatcher[size];
|
D | PatternMatcher.aidl | 19 parcelable PatternMatcher;
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerIntentHelperImpl.java | 26 import android.os.PatternMatcher; 57 updaterAppPackageName, PatternMatcher.PATTERN_LITERAL); in initialize() 59 dataAppPackageName, PatternMatcher.PATTERN_LITERAL); in initialize()
|
/frameworks/base/core/java/android/content/pm/ |
D | ProviderInfo.java | 21 import android.os.PatternMatcher; 65 public PatternMatcher[] uriPermissionPatterns = null; 183 uriPermissionPatterns = in.createTypedArray(PatternMatcher.CREATOR); in ProviderInfo()
|
D | PathPermission.java | 21 import android.os.PatternMatcher; 27 public class PathPermission extends PatternMatcher {
|
D | PackageParser.java | 74 import android.os.PatternMatcher; 5271 PatternMatcher pa = null; in parseProviderTags() 5276 pa = new PatternMatcher(str, PatternMatcher.PATTERN_LITERAL); in parseProviderTags() 5282 pa = new PatternMatcher(str, PatternMatcher.PATTERN_PREFIX); in parseProviderTags() 5288 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SIMPLE_GLOB); in parseProviderTags() 5295 outInfo.info.uriPermissionPatterns = new PatternMatcher[1]; in parseProviderTags() 5299 PatternMatcher[] newp = new PatternMatcher[N+1]; in parseProviderTags() 5365 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags() 5372 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags() 5379 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags() [all …]
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | StringFilter.java | 22 import android.os.PatternMatcher; 184 private final PatternMatcher mPattern; 188 mPattern = new PatternMatcher(attrValue, PatternMatcher.PATTERN_SIMPLE_GLOB); in PatternStringFilter()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 29 import android.os.PatternMatcher; 655 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isValidNetworkSpecifier() 668 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchNoneNetworkSpecifier() 670 if (ssidPatternMatcher.getType() != PatternMatcher.PATTERN_PREFIX in isMatchNoneNetworkSpecifier() 681 PatternMatcher ssidPatternMatcher = specifier.ssidPatternMatcher; in isMatchAllNetworkSpecifier() 724 if (specifier.ssidPatternMatcher.getType() == PatternMatcher.PATTERN_LITERAL) { in validateNetworkSpecifier()
|
D | WifiNetworkFactory.java | 49 import android.os.PatternMatcher; 1199 != PatternMatcher.PATTERN_LITERAL) { in isActiveRequestForSingleAccessPoint() 1216 == PatternMatcher.PATTERN_LITERAL) { in isActiveRequestForSingleNetwork()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 26 import android.os.PatternMatcher; 111 filter.addDataSchemeSpecificPart(provider.packageName, PatternMatcher.PATTERN_LITERAL); in onStart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationModeController.java | 45 import android.os.PatternMatcher; 160 overlayFilter.addDataSchemeSpecificPart("android", PatternMatcher.PATTERN_LITERAL); in NavigationModeController()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 35 import android.os.PatternMatcher; 420 alarmFilter.addDataPath(pathUri, PatternMatcher.PATTERN_LITERAL); in TrustAgentWrapper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 50 import android.os.PatternMatcher; 496 PatternMatcher.PATTERN_LITERAL); in OverviewProxyService()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 56 import android.os.PatternMatcher; 1027 Iterator<PatternMatcher> pIt = ri.filter.schemeSpecificPartsIterator(); 1031 PatternMatcher p = pIt.next(); 1054 PatternMatcher p = pIt.next();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 60 import android.os.PatternMatcher; 3260 PatternMatcher ssp = tmpPa.getDataSchemeSpecificPart(issp); in applyDefaultPreferredActivityLPw() 3279 PatternMatcher path = tmpPa.getDataPath(ipath); in applyDefaultPreferredActivityLPw() 3341 int flags, ComponentName cn, String scheme, PatternMatcher ssp, in applyDefaultPreferredActivityLPw() 3342 IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) { in applyDefaultPreferredActivityLPw()
|
D | PackageManagerService.java | 220 import android.os.PatternMatcher; 7381 intent.getData().getPath(), PatternMatcher.PATTERN_LITERAL);
|
/frameworks/base/config/ |
D | preloaded-classes | 2851 android.os.PatternMatcher$1 2852 android.os.PatternMatcher
|
D | boot-image-profile.txt | 3822 HSPLandroid/content/IntentFilter;->getDataPath(I)Landroid/os/PatternMatcher; 3824 HPLandroid/content/IntentFilter;->getDataSchemeSpecificPart(I)Landroid/os/PatternMatcher; 3832 HSPLandroid/content/IntentFilter;->hasDataPath(Landroid/os/PatternMatcher;)Z 3835 HPLandroid/content/IntentFilter;->hasDataSchemeSpecificPart(Landroid/os/PatternMatcher;)Z 11975 HSPLandroid/os/PatternMatcher$1;-><init>()V 11976 HSPLandroid/os/PatternMatcher$1;->createFromParcel(Landroid/os/Parcel;)Landroid/os/PatternMatcher; 11977 HSPLandroid/os/PatternMatcher$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 11978 HSPLandroid/os/PatternMatcher$1;->newArray(I)[Landroid/os/PatternMatcher; 11979 HSPLandroid/os/PatternMatcher$1;->newArray(I)[Ljava/lang/Object; 11980 HSPLandroid/os/PatternMatcher;-><init>(Landroid/os/Parcel;)V [all …]
|