Home
last modified time | relevance | path

Searched refs:getAuthority (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/provider/
DDocumentsContract.java640 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildDocumentUriUsingTree()
650 return buildDocumentUri(baseUri.getAuthority(), documentId); in buildDocumentUriMaybeUsingTree()
697 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildChildDocumentsUriUsingTree()
728 return isDocumentsProvider(context, uri.getAuthority()); in isDocumentUri()
732 return isDocumentsProvider(context, uri.getAuthority()); in isDocumentUri()
830 documentUri.getAuthority()); in getDocumentThumbnail()
927 parentDocumentUri.getAuthority()); in createDocument()
966 documentUri.getAuthority()); in renameDocument()
997 documentUri.getAuthority()); in deleteDocument()
DDocumentsProvider.java553 final Uri narrowUri = buildDocumentUri(uri.getAuthority(), getDocumentId(uri)); in canonicalize()
631 final String authority = documentUri.getAuthority(); in call()
/frameworks/base/core/java/android/content/
DUriMatcher.java224 if (li == 0 && uri.getAuthority() == null) {
229 String u = i < 0 ? uri.getAuthority() : pathSegments.get(i);
DContentResolver.java1176 String authority = uri.getAuthority(); in getResourceId()
1419 final String auth = uri.getAuthority(); in acquireProvider()
1438 final String auth = uri.getAuthority(); in acquireExistingProvider()
1466 String auth = uri.getAuthority(); in acquireUnstableProvider()
1468 return acquireUnstableProvider(mContext, uri.getAuthority()); in acquireUnstableProvider()
1790 requestSync(account, uri != null ? uri.getAuthority() : null, extras); in startSync()
1895 cancelSync(null /* all accounts */, uri != null ? uri.getAuthority() : null); in cancelSync()
DContentProvider.java1845 String auth = uri.getAuthority(); in validateIncomingUri()
1885 return getUserIdFromAuthority(uri.getAuthority(), defaultUserId); in getUserIdFromUri()
1909 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java102 final String authority = uri.getAuthority(); in queryEntities()
103 TestCase.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority)); in queryEntities()
DExportTestResolver.java27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider); in ExportTestResolver()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java103 final String authority = mUri.getAuthority(); in loadInBackground()
175 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1); in loadInBackground()
DCopyService.java266 final String authority = uri.getAuthority(); in calculateFileSizesHelper()
414 final Uri queryUri = DocumentsContract.buildChildDocumentsUri(srcDirUri.getAuthority(), in copyDirectoryHelper()
424 final Uri childUri = DocumentsContract.buildDocumentUri(srcDirUri.getAuthority(), in copyDirectoryHelper()
DCreateDirectoryFragment.java112 resolver, mCwd.derivedUri.getAuthority()); in doInBackground()
DRootsCache.java95 updateAuthorityAsync(uri.getAuthority()); in onChange()
DDocumentsActivity.java278 return mRoots.getRootOneshot(mRootUri.getAuthority(), rootId); in doInBackground()
810 resolver, cwd.derivedUri.getAuthority()); in doInBackground()
DDirectoryFragment.java669 resolver, doc.derivedUri.getAuthority()); in onDeleteDocuments()
1115 resolver, mUri.getAuthority()); in doInBackground()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java194 resolver, uri.getAuthority()); in updateFromUri()
199 updateFromCursor(cursor, uri.getAuthority()); in updateFromUri()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java60 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime()
/frameworks/base/core/java/android/net/
DUri.java210 public abstract String getAuthority(); in getAuthority() method in Uri
589 public String getAuthority() { in getAuthority() method in Uri.StringUri
886 public String getAuthority() { in getAuthority() method in Uri.OpaqueUri
1234 public String getAuthority() { in getAuthority() method in Uri.HierarchicalUri
2358 if (!Objects.equals(getAuthority(), prefix.getAuthority())) return false; in isPathPrefixMatch()
/frameworks/base/core/java/android/service/notification/
DCondition.java163 return id != null && SCHEME.equals(id.getScheme()) && pkg.equals(id.getAuthority()); in isValidId()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java82 assertNull(u.getAuthority()); in testBuildUponOpaqueStringUri()
381 assertNull(uri.getAuthority()); in testOpaqueUri()
500 assertEquals(authority, uri.getAuthority()); in compareHierarchical()
/frameworks/base/docs/html/training/beam-files/
Dreceive-files.jd236 {@link android.net.Uri#getAuthority Uri.getAuthority()} to get the URI's authority. The
278 if (!TextUtils.equals(beamUri.getAuthority(), MediaStore.AUTHORITY)) {
/frameworks/base/media/java/android/media/
DRingtone.java213 String authority = uri.getAuthority(); in getTitle()
/frameworks/base/media/java/android/media/tv/
DTvContract.java287 && AUTHORITY.equals(uri.getAuthority()); in isTvUri()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java353 if (!ContactsContract.AUTHORITY.equals(contentUri.getAuthority())) { in init()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java312 uri.getAuthority()); in notifyChange()
1031 return uri.getAuthority(); in getUriSegment()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java406 String providerName = mUri.getAuthority(); in execute()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java675 String authority = uri.getAuthority(); in getDrawableFromResourceUri()

12