Home
last modified time | relevance | path

Searched refs:matchUri (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DLocalUriMatcherTest.java367 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/
DDictionaryProvider.java166 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/
DLocalUriMatcher.java100 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
DPickerUriResolver.java321 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()
DMediaProvider.java2690 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 …]
DPermissionActivity.java563 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()
DMediaGrants.java337 return mUriMatcher.matchUri(uri, /* allowHidden= */ false) == PICKER_ID;
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java274 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