/frameworks/base/core/tests/coretests/src/android/os/ |
D | PatternMatcherTest.java | 34 PatternMatcher matcher = new PatternMatcher(".", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesAnyToken() 42 PatternMatcher matcher = new PatternMatcher("[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() 46 matcher = new PatternMatcher("[.*+{}\\]\\\\[]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetToken() 59 PatternMatcher matcher = new PatternMatcher("[a-z]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 65 matcher = new PatternMatcher("[a-z][0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 70 matcher = new PatternMatcher("[z-a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 75 matcher = new PatternMatcher("[^0-9]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 84 matcher = new PatternMatcher("[\\[a]", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesSetCharacterClassToken() 91 PatternMatcher matcher = new PatternMatcher("\\.", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() 96 matcher = new PatternMatcher("a\\+", PatternMatcher.PATTERN_ADVANCED_GLOB); in testAdvancedPatternMatchesEscapedCharacters() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedProviderTest.kt | 20 import android.os.PatternMatcher in <lambda>() 47 PatternMatcher("testPattern", PatternMatcher.PATTERN_LITERAL), in <lambda>() 52 PatternMatcher::getPath, in <lambda>() 53 PatternMatcher::getType in <lambda>() 62 PatternMatcher.PATTERN_LITERAL, in <lambda>() 70 PatternMatcher::getPath, in <lambda>() 71 PatternMatcher::getType, in <lambda>()
|
D | ParsedIntentInfoTest.kt | 22 import android.os.PatternMatcher 54 addDataPath("testPath", PatternMatcher.PATTERN_LITERAL) in initialObject()
|
/frameworks/base/core/java/android/content/ |
D | UriRelativeFilter.java | 26 import android.os.PatternMatcher; 72 private final @PatternMatcher.PatternType int mPatternType; 92 @PatternMatcher.PatternType int patternType, in UriRelativeFilter() 99 PatternMatcher.PatternType.class, null, mPatternType); in UriRelativeFilter() 115 public @PatternMatcher.PatternType int getPatternType() { in getPatternType() 137 PatternMatcher pe = new PatternMatcher(mFilter, mPatternType); in matchData() 150 private boolean matchQuery(PatternMatcher pe, String query) { in matchQuery() 196 case PatternMatcher.PATTERN_LITERAL: in patternTypeToString() 198 case PatternMatcher.PATTERN_PREFIX: in patternTypeToString() 200 case PatternMatcher.PATTERN_SIMPLE_GLOB: in patternTypeToString() [all …]
|
D | IntentFilter.java | 34 import android.os.PatternMatcher; 342 private ArrayList<PatternMatcher> mDataSchemeSpecificParts = null; 344 private ArrayList<PatternMatcher> mDataPaths = null; 534 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(o.mDataSchemeSpecificParts); in IntentFilter() 540 mDataPaths = new ArrayList<PatternMatcher>(o.mDataPaths); in IntentFilter() 1324 addDataSchemeSpecificPart(new PatternMatcher(ssp, type)); in addDataSchemeSpecificPart() 1328 public final void addDataSchemeSpecificPart(PatternMatcher ssp) { in addDataSchemeSpecificPart() 1330 mDataSchemeSpecificParts = new ArrayList<PatternMatcher>(); in addDataSchemeSpecificPart() 1345 public final PatternMatcher getDataSchemeSpecificPart(int index) { in getDataSchemeSpecificPart() 1377 final PatternMatcher pe = mDataSchemeSpecificParts.get(i); in hasDataSchemeSpecificPart() [all …]
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedIntentInfoUtils.java | 33 import android.os.PatternMatcher; 240 PatternMatcher.PATTERN_LITERAL, str)); in parseRelRefGroupData() 247 PatternMatcher.PATTERN_PREFIX, str)); in parseRelRefGroupData() 258 PatternMatcher.PATTERN_SIMPLE_GLOB, str)); in parseRelRefGroupData() 269 PatternMatcher.PATTERN_ADVANCED_GLOB, str)); in parseRelRefGroupData() 276 PatternMatcher.PATTERN_SUFFIX, str)); in parseRelRefGroupData() 283 PatternMatcher.PATTERN_LITERAL, str)); in parseRelRefGroupData() 290 PatternMatcher.PATTERN_PREFIX, str)); in parseRelRefGroupData() 301 PatternMatcher.PATTERN_SIMPLE_GLOB, str)); in parseRelRefGroupData() 312 PatternMatcher.PATTERN_ADVANCED_GLOB, str)); in parseRelRefGroupData() [all …]
|
D | ParsedProviderUtils.java | 34 import android.os.PatternMatcher; 233 PatternMatcher pa = null; in parseGrantUriPermission() 237 pa = new PatternMatcher(str, PatternMatcher.PATTERN_ADVANCED_GLOB); in parseGrantUriPermission() 242 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SIMPLE_GLOB); in parseGrantUriPermission() 247 pa = new PatternMatcher(str, PatternMatcher.PATTERN_PREFIX); in parseGrantUriPermission() 252 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SUFFIX); in parseGrantUriPermission() 257 pa = new PatternMatcher(str, PatternMatcher.PATTERN_LITERAL); in parseGrantUriPermission() 328 pa = new PathPermission(path, PatternMatcher.PATTERN_ADVANCED_GLOB, readPermission, in parsePathPermission() 333 pa = new PathPermission(path, PatternMatcher.PATTERN_SIMPLE_GLOB, in parsePathPermission() 339 pa = new PathPermission(path, PatternMatcher.PATTERN_PREFIX, readPermission, in parsePathPermission() [all …]
|
D | ParsedProviderImpl.java | 27 import android.os.PatternMatcher; 63 private List<PatternMatcher> uriPermissionPatterns = Collections.emptyList(); 97 public ParsedProviderImpl addUriPermissionPattern(@NonNull PatternMatcher value) { in addUriPermissionPattern() 151 this.uriPermissionPatterns = in.createTypedArrayList(PatternMatcher.CREATOR); in ParsedProviderImpl() 194 @NonNull List<PatternMatcher> uriPermissionPatterns, in ParsedProviderImpl() 255 public @NonNull List<PatternMatcher> getUriPermissionPatterns() { in getUriPermissionPatterns()
|
D | ParsedProvider.java | 22 import android.os.PatternMatcher; 47 List<PatternMatcher> getUriPermissionPatterns(); in getUriPermissionPatterns()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationCollectorTest.kt | 22 import android.os.PatternMatcher 106 addDataPath("/sub", PatternMatcher.PATTERN_LITERAL) in verifyV1NoValidIntentFilter() 129 addDataPath("/sub", PatternMatcher.PATTERN_LITERAL) in verifyV1NoValidIntentFilter() 285 addDataPath("/sub", PatternMatcher.PATTERN_LITERAL) in mockPkg() 299 addDataPath("/sub2", PatternMatcher.PATTERN_LITERAL) in mockPkg() 316 addDataPath("/sub3", PatternMatcher.PATTERN_LITERAL) in mockPkg() 332 addDataPath("/sub4", PatternMatcher.PATTERN_LITERAL) in mockPkg() 346 addDataPath("/sub5", PatternMatcher.PATTERN_LITERAL) in mockPkg() 360 addDataPath("/sub6", PatternMatcher.PATTERN_LITERAL) in mockPkg() 395 addDataPath("/sub7", PatternMatcher.PATTERN_LITERAL) in mockPkg()
|
D | DomainVerificationUserSelectionOverrideTest.kt | 25 import android.os.PatternMatcher 128 addDataPath("/sub", PatternMatcher.PATTERN_LITERAL) in mockPkgState() 142 addDataPath("/sub2", PatternMatcher.PATTERN_LITERAL) in mockPkgState()
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 33 public class PatternMatcher implements Parcelable { class 116 public PatternMatcher(String pattern, int type) { in PatternMatcher() method in PatternMatcher 197 public PatternMatcher(Parcel src) { in PatternMatcher() method in PatternMatcher 203 public static final @android.annotation.NonNull Parcelable.Creator<PatternMatcher> CREATOR 204 = new Parcelable.Creator<PatternMatcher>() { 205 public PatternMatcher createFromParcel(Parcel source) { 206 return new PatternMatcher(source); 209 public PatternMatcher[] newArray(int size) { 210 return new PatternMatcher[size];
|
D | PatternMatcher.aidl | 19 parcelable PatternMatcher;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | WatchedIntentFilter.java | 24 import android.os.PatternMatcher; 438 public final void addDataSchemeSpecificPart(PatternMatcher ssp) { in addDataSchemeSpecificPart() 453 public final PatternMatcher getDataSchemeSpecificPart(int index) { in getDataSchemeSpecificPart() 467 public final Iterator<PatternMatcher> schemeSpecificPartsIterator() { in schemeSpecificPartsIterator() 526 public final void addDataPath(PatternMatcher path) { in addDataPath() 541 public final PatternMatcher getDataPath(int index) { in getDataPath() 555 public final Iterator<PatternMatcher> pathsIterator() { in pathsIterator()
|
/frameworks/base/core/java/android/content/pm/ |
D | PathPermission.java | 21 import android.os.PatternMatcher; 28 public class PathPermission extends PatternMatcher {
|
D | ProviderInfo.java | 21 import android.os.PatternMatcher; 66 public PatternMatcher[] uriPermissionPatterns = null; 193 uriPermissionPatterns = in.createTypedArray(PatternMatcher.CREATOR); in ProviderInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/ |
D | PackageObserver.java | 24 import android.os.PatternMatcher; 88 filter.addDataSchemeSpecificPart(mPackageName, PatternMatcher.PATTERN_LITERAL); in addCallback()
|
/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/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayRegistrant.java | 29 import android.os.PatternMatcher; 122 PatternMatcher.PATTERN_LITERAL); in onStart()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/ |
D | PackageStateTest.kt | 25 import android.os.PatternMatcher 203 addPathPermission(PathPermission("pattern", PatternMatcher.PATTERN_LITERAL, in fillMissingData() 205 addUriPermissionPattern(PatternMatcher("*", PatternMatcher.PATTERN_LITERAL)) in fillMissingData()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | OverlayableSystemBooleanResourceWrapper.java | 32 import android.os.PatternMatcher; 91 intentFilter.addDataSchemeSpecificPart(SYSTEM_PACKAGE_NAME, PatternMatcher.PATTERN_LITERAL); in create()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriGrantsMockContext.java | 32 import android.os.PatternMatcher; 221 pi.uriPermissionPatterns = new PatternMatcher[] { in buildComplexProvider() 222 new PatternMatcher("/secure", PathPermission.PATTERN_PREFIX), in buildComplexProvider() 223 new PatternMatcher("/insecure", PathPermission.PATTERN_PREFIX), in buildComplexProvider()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceController.java | 26 import android.os.PatternMatcher; 219 intentFilter.addDataSchemeSpecificPart(gameServicePackage, PatternMatcher.PATTERN_LITERAL); in evaluateGameServiceProviderPackageChangedListenerLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationModeController.java | 28 import android.os.PatternMatcher; 118 overlayFilter.addDataSchemeSpecificPart("android", PatternMatcher.PATTERN_LITERAL); in NavigationModeController()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 29 import android.os.PatternMatcher; 129 filter.addDataSchemeSpecificPart(provider.packageName, PatternMatcher.PATTERN_LITERAL); in onStart()
|