Home
last modified time | relevance | path

Searched refs:PatternMatcher (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPatternMatcherTest.java15 PatternMatcher matcher = new PatternMatcher(".", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesAnyToken()
23 PatternMatcher matcher = new PatternMatcher("[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken()
27 matcher = new PatternMatcher("[.*+{}\\]\\\\[]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken()
40 PatternMatcher matcher = new PatternMatcher("[a-z]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken()
46 matcher = new PatternMatcher("[a-z][0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken()
51 matcher = new PatternMatcher("[z-a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken()
56 matcher = new PatternMatcher("[^0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken()
65 matcher = new PatternMatcher("[\\[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken()
72 PatternMatcher matcher = new PatternMatcher("\\.", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters()
77 matcher = new PatternMatcher("a\\+", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters()
[all …]
/frameworks/base/core/java/android/content/
DIntentFilter.java24 import android.os.PatternMatcher;
277 private ArrayList<PatternMatcher> mDataSchemeSpecificParts = null;
279 private ArrayList<PatternMatcher> mDataPaths = null;
461 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(o.mDataSchemeSpecificParts); in IntentFilter()
467 mDataPaths = new ArrayList<PatternMatcher>(o.mDataPaths); in IntentFilter()
1014 addDataSchemeSpecificPart(new PatternMatcher(ssp, type)); in addDataSchemeSpecificPart()
1018 public final void addDataSchemeSpecificPart(PatternMatcher ssp) { in addDataSchemeSpecificPart()
1020 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(); in addDataSchemeSpecificPart()
1035 public final PatternMatcher getDataSchemeSpecificPart(int index) { in getDataSchemeSpecificPart()
1055 final PatternMatcher pe = mDataSchemeSpecificParts.get(i); in hasDataSchemeSpecificPart()
[all …]
/frameworks/base/core/java/android/os/
DPatternMatcher.java28 public class PatternMatcher implements Parcelable { class
94 public PatternMatcher(String pattern, int type) { in PatternMatcher() method in PatternMatcher
145 public PatternMatcher(Parcel src) { in PatternMatcher() method in PatternMatcher
151 public static final Parcelable.Creator<PatternMatcher> CREATOR
152 = new Parcelable.Creator<PatternMatcher>() {
153 public PatternMatcher createFromParcel(Parcel source) {
154 return new PatternMatcher(source);
157 public PatternMatcher[] newArray(int size) {
158 return new PatternMatcher[size];
DPatternMatcher.aidl19 parcelable PatternMatcher;
/frameworks/base/core/java/android/content/pm/
DProviderInfo.java21 import android.os.PatternMatcher;
59 public PatternMatcher[] uriPermissionPatterns = null;
174 uriPermissionPatterns = in.createTypedArray(PatternMatcher.CREATOR); in ProviderInfo()
DPathPermission.java21 import android.os.PatternMatcher;
27 public class PathPermission extends PatternMatcher {
DPackageParser.java66 import android.os.PatternMatcher;
4962 PatternMatcher pa = null; in parseProviderTags()
4967 pa = new PatternMatcher(str, PatternMatcher.PATTERN_LITERAL); in parseProviderTags()
4973 pa = new PatternMatcher(str, PatternMatcher.PATTERN_PREFIX); in parseProviderTags()
4979 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SIMPLE_GLOB); in parseProviderTags()
4986 outInfo.info.uriPermissionPatterns = new PatternMatcher[1]; in parseProviderTags()
4990 PatternMatcher[] newp = new PatternMatcher[N+1]; in parseProviderTags()
5056 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
5063 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
5070 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java22 import android.os.PatternMatcher;
184 private final PatternMatcher mPattern;
188 mPattern = new PatternMatcher(attrValue, PatternMatcher.PATTERN_SIMPLE_GLOB); in PatternStringFilter()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java26 import android.os.PatternMatcher;
111 filter.addDataSchemeSpecificPart(provider.packageName, PatternMatcher.PATTERN_LITERAL); in onStart()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java35 import android.os.PatternMatcher;
404 alarmFilter.addDataPath(pathUri, PatternMatcher.PATTERN_LITERAL); in TrustAgentWrapper()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java45 import android.os.PatternMatcher;
694 Iterator<PatternMatcher> pIt = ri.filter.schemeSpecificPartsIterator(); in onTargetSelected()
698 PatternMatcher p = pIt.next(); in onTargetSelected()
721 PatternMatcher p = pIt.next(); in onTargetSelected()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java67 import android.os.PatternMatcher;
331 intentFilter.addDataSchemeSpecificPart(packageName, PatternMatcher.PATTERN_LITERAL); in maybeRegisterPackageChangeReceiverLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java61 import android.os.PatternMatcher;
3375 PatternMatcher ssp = tmpPa.getDataSchemeSpecificPart(issp); in applyDefaultPreferredActivityLPw()
3392 PatternMatcher path = tmpPa.getDataPath(ipath); in applyDefaultPreferredActivityLPw()
3454 Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, in applyDefaultPreferredActivityLPw()
3455 IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) { in applyDefaultPreferredActivityLPw()
/frameworks/base/
Dpreloaded-classes135 [Landroid.os.PatternMatcher;
1943 android.os.PatternMatcher
1944 android.os.PatternMatcher$1
DAndroid.mk673 frameworks/base/core/java/android/os/PatternMatcher.aidl \
Dcompiled-classes-phone3288 android.os.PatternMatcher
3289 android.os.PatternMatcher$1
/frameworks/base/services/
Dprofile-classes2110 Landroid/os/PatternMatcher;
2111 Landroid/os/PatternMatcher$1;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7875 method public final android.os.PatternMatcher getDataPath(int);
7877 method public final android.os.PatternMatcher getDataSchemeSpecificPart(int);
7893 method public final java.util.Iterator<android.os.PatternMatcher> pathsIterator();
7895 method public final java.util.Iterator<android.os.PatternMatcher> schemeSpecificPartsIterator();
8897 public class PathPermission extends android.os.PatternMatcher {
8956 field public android.os.PatternMatcher[] uriPermissionPatterns;
22127 public class PatternMatcher implements android.os.Parcelable {
22128 ctor public PatternMatcher(java.lang.String, int);
22129 ctor public PatternMatcher(android.os.Parcel);
22135 field public static final android.os.Parcelable.Creator<android.os.PatternMatcher> CREATOR;
/frameworks/base/api/
Dcurrent.txt9612 method public final android.os.PatternMatcher getDataPath(int);
9614 method public final android.os.PatternMatcher getDataSchemeSpecificPart(int);
9630 method public final java.util.Iterator<android.os.PatternMatcher> pathsIterator();
9632 method public final java.util.Iterator<android.os.PatternMatcher> schemeSpecificPartsIterator();
10804 public class PathPermission extends android.os.PatternMatcher {
10871 field public android.os.PatternMatcher[] uriPermissionPatterns;
31219 public class PatternMatcher implements android.os.Parcelable {
31220 ctor public PatternMatcher(java.lang.String, int);
31221 ctor public PatternMatcher(android.os.Parcel);
31227 field public static final android.os.Parcelable.Creator<android.os.PatternMatcher> CREATOR;
Dsystem-current.txt10190 method public final android.os.PatternMatcher getDataPath(int);
10192 method public final android.os.PatternMatcher getDataSchemeSpecificPart(int);
10209 method public final java.util.Iterator<android.os.PatternMatcher> pathsIterator();
10211 method public final java.util.Iterator<android.os.PatternMatcher> schemeSpecificPartsIterator();
11568 public class PathPermission extends android.os.PatternMatcher {
11637 field public android.os.PatternMatcher[] uriPermissionPatterns;
33961 public class PatternMatcher implements android.os.Parcelable {
33962 ctor public PatternMatcher(java.lang.String, int);
33963 ctor public PatternMatcher(android.os.Parcel);
33969 field public static final android.os.Parcelable.Creator<android.os.PatternMatcher> CREATOR;