Home
last modified time | relevance | path

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

1234

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java160 String accountName = uri.getAuthority() + uri.getPath(); in getAccountName()
190 ProviderInfo info = pm.resolveContentProvider(uri.getAuthority(), MATCH_ALL); in getPackageName()
192 return (info != null) ? info.packageName : uri.getAuthority(); in getPackageName()
221 + SCHEME_DELIMITER.length() + uri.getAuthority().length(); in getIconResource()
231 + uri.getAuthority().length() + URI_PATH_DELIMITER.length()) in getIconResource()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java210 final String authority = docUri.getAuthority(); in logFileOperationFailure()
337 assert(Providers.AUTHORITY_STORAGE.equals(docUri.getAuthority())); in logStorageFileOperationFailure()
362 if (uri == null || uri.getAuthority() == null || LauncherActivity.isLaunchUri(uri)) { in sanitizeRoot()
365 switch (uri.getAuthority()) { in sanitizeRoot()
583 countForAuthority(counts, uri.getAuthority(), null); in countProviders()
DLoadDocStackTask.java69 docUri = DocumentsContract.buildDocumentUri(uris[0].getAuthority(), docId); in run()
77 return buildStack(docUri.getAuthority(), path); in run()
DDocumentsAccess.java129 .acquireUnstableProviderOrThrow(resolver, docUri.getAuthority())) { in findDocumentPath() argument
138 resolver, parentDoc.derivedUri.getAuthority())) { in createDocument() argument
DDirectoryLoader.java110 final String authority = mUri.getAuthority(); in loadInBackground()
145 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1); in loadInBackground()
DAbstractActionHandler.java480 ).executeOnExecutor(mExecutors.lookup(uri.getAuthority()), uri); in loadDocument()
486 .executeOnExecutor(mExecutors.lookup(uri.getAuthority())); in loadRoot()
492 .executeOnExecutor(mExecutors.lookup(uri.getAuthority())); in loadFirstRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java196 ContentProviderClient client = mClients.get(uri.getAuthority()); in getClient()
201 uri.getAuthority()); in getClient()
203 mClients.put(uri.getAuthority(), client); in getClient()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestionProvider.java119 String authority = getAuthority(context); in buildUriMatcher()
132 protected String getAuthority(Context context) { in getAuthority() method in GoogleSuggestionProvider
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMediaScratchFileProvider.java59 TextUtils.equals(uri.getAuthority(), AUTHORITY) && in isMediaScratchSpaceUri()
78 Assert.equals(AUTHORITY, uri.getAuthority()); in getFileFromUri()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java155 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
218 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
293 String authority = syncPref.getAuthority(); in onSyncStateUpdated()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DSimContactsTestHelper.java99 return mResolver.applyBatch(SimContactDaoImpl.ICC_CONTENT_URI.getAuthority(), ops); in deleteAllSimContacts()
109 return mResolver.applyBatch(SimContactDaoImpl.ICC_CONTENT_URI.getAuthority(), restoreOps); in restore()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImageList.java182 && Util.equals(base.getAuthority(), uri.getAuthority()) in isChildImageUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java252 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
355 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
412 String authority = syncPref.getAuthority(); in setFeedsState()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java252 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
355 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
412 String authority = syncPref.getAuthority(); in setFeedsState()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java406 if (!URI_AUTHORITY_PROGRAM.equals(uri.getAuthority())) { in fromUri()
408 + uri.getAuthority()); in fromUri()
/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java533 if (!Objects.equals(uriA.getAuthority(), uriB.getAuthority())) return false; in isPathPrefixMatch()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java257 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in acquireArchive()
272 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in releaseArchive()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java196 resolver, uri.getAuthority()); in updateFromUri()
201 updateFromCursor(cursor, uri.getAuthority()); in updateFromUri()
DProviders.java54 return uri != null && ArchivesProvider.AUTHORITY.equals(uri.getAuthority()); in isArchiveUri()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DLoadFirstRootTask.java37 final String authority = rootUri.getAuthority(); in getRootId()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DShowInProviderAction.java69 return mProviders.getPackageName(mDoc.derivedUri.getAuthority()); in getPackageName()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactLoaderUtils.java46 final String authority = uri.getAuthority(); in ensureIsContactUri()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactLoaderUtils.java46 final String authority = uri.getAuthority(); in ensureIsContactUri()
DUriUtils.java74 return ContactsContract.AUTHORITY.equals(uri.getAuthority()) ? uri : null; in nullForNonContactsUri()
/packages/apps/Dialer/java/com/android/dialer/util/
DUriUtils.java74 return ContactsContract.AUTHORITY.equals(uri.getAuthority()) ? uri : null; in nullForNonContactsUri()

1234