/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | LocalUriMatcherTest.java | 367 assertEquals(match, mMatcher.matchUri( in testPickerV2UriMatch() 374 assertEquals(UriMatcher.NO_MATCH, mMatcher.matchUri( in testPickerV2UriMatch() 385 assertEquals(match, mMatcher.matchUri( in testPickerV2UriMatch() 392 assertEquals(UriMatcher.NO_MATCH, mMatcher.matchUri( in testPickerV2UriMatch() 400 assertEquals(match, mMatcher.matchUri(uri, true)); in assertMatchesHidden() 404 assertEquals(match, mMatcher.matchUri(uri, false)); in assertMatchesPublic()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 166 private static int matchUri(final Uri uri) { in matchUri() method in DictionaryProvider 199 final int match = matchUri(uri); in getType() 231 final int match = matchUri(uri); in query() 294 final int match = matchUri(uri); in openAssetFile() 437 final int match = matchUri(uri); in delete() 496 switch (matchUri(uri)) { in insert()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalUriMatcher.java | 100 int matchUri(Uri uri, boolean allowHidden) { in matchUri() method in LocalUriMatcher 101 return matchUri(uri, allowHidden, /* isCallerPhotoPicker */ false); in matchUri() 104 int matchUri(Uri uri, boolean allowHidden, boolean isCallerPhotoPicker) { in matchUri() method in LocalUriMatcher
|
D | PickerUriResolver.java | 321 switch (mLocalUriMatcher.matchUri(uri, /* allowHidden */ false)) { in getPickerSegmentType() 546 if (mLocalUriMatcher.matchUri(uri, /* allowHidden */ false) == PICKER_ID) { in checkPermissionForRequireOriginalQueryParam() 551 if (mLocalUriMatcher.matchUri(uri, /* allowHidden */ false) == PICKER_GET_CONTENT_ID in checkPermissionForRequireOriginalQueryParam()
|
D | MediaProvider.java | 2690 final int match = matchUri(uri, allowHidden); in canonicalize() 2730 final int match = matchUri(uri, allowHidden); in uncanonicalize() 2846 int uriType = matchUri(uri, isCallingPackageAllowedHidden()); in getWhereClauseForMatchableVisibleFromFilePath() 2969 final int match = matchUri(getContentUriForFile(path, mimeType), true); in isMimeTypeSupportedInPath() 3005 final int match = matchUri(uri, isCallingPackageAllowedHidden()); in maybeRemoveOwnerPackageForFuseRename() 3055 matchUri(uriOldPath, allowHidden), uriOldPath, qbExtras, null); in updateDatabaseForFuseRename() 3108 matchUri(uriNewPath, allowHidden), uriNewPath, qbExtras, null); in deleteForFuseRename() 3236 matchUri(uriOldPath, isCallingPackageAllowedHidden()), uriOldPath, Bundle.EMPTY, in getWritableFilesForRenameDirectory() 3629 final int table = matchUri(uri, allowHidden); in checkUriPermission() 3754 final int table = mUriMatcher.matchUri(uri, allowHidden, isCallerPhotoPicker()); in queryInternal() [all …]
|
D | PermissionActivity.java | 563 final int firstMatch = matcher.matchUri(uris.get(0), false); in resolveData() 568 final int match = matcher.matchUri(uris.get(i), false); in resolveData() 726 final int match = matcher.matchUri(uri, false); in doInBackground()
|
D | MediaGrants.java | 337 return mUriMatcher.matchUri(uri, /* allowHidden= */ false) == PICKER_ID;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 274 int match = matchUri(uri); in deleteInTransaction() 293 int match = matchUri(uri); in insertInTransaction() 317 int match = matchUri(uri); in query() 331 int match = matchUri(uri); in updateInTransaction() 434 private int matchUri(Uri uri) { in matchUri() method in PhotoProvider
|