/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1010 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildDocumentUriUsingTree() 1020 return buildDocumentUri(baseUri.getAuthority(), documentId); in buildDocumentUriMaybeUsingTree() 1067 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildChildDocumentsUriUsingTree() 1185 if (isContentUri(uri) && isDocumentsProvider(context, uri.getAuthority())) { in isDocumentUri() 1234 if (isContentUri(uri) && isDocumentsProvider(context, uri.getAuthority())) { in isRootUri() 1380 final Bundle out = content.call(parentDocumentUri.getAuthority(), in createDocument() 1410 final Bundle out = content.call(parentDocumentUri.getAuthority(), in isChildDocument() 1446 final Bundle out = content.call(documentUri.getAuthority(), in renameDocument() 1469 content.call(documentUri.getAuthority(), in deleteDocument() 1495 final Bundle out = content.call(sourceDocumentUri.getAuthority(), in copyDocument() [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 82 public synchronized SliceAuthority getAuthority(PkgUser authority) { in getAuthority() method in SliceClientPermissions 104 SliceAuthority authority = getAuthority(new PkgUser(uri.getAuthority(), userId)); in hasPermission() 110 new PkgUser(uri.getAuthority(), providerPkg.getUserId()), in grantUri() 117 new PkgUser(uri.getAuthority(), providerPkg.getUserId()), in revokeUri() 189 provider.mAuths.put(new PkgUser(authority.getAuthority(), pkg.getUserId()), in createFrom() 218 public String getAuthority() { in getAuthority() method in SliceClientPermissions.SliceAuthority
|
D | SliceProviderPermissions.java | 119 provider.mAuths.put(authority.getAuthority(), authority); in createFrom() 144 public String getAuthority() { in getAuthority() method in SliceProviderPermissions.SliceAuthority
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | FakeProviderRemote.java | 66 return new Uri.Builder().scheme(uri.getScheme()).authority(uri.getAuthority()) in canonicalize() 75 return new Uri.Builder().scheme(uri.getScheme()).authority(uri.getAuthority()) in uncanonicalize()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceMetrics.java | 52 mLogMaker.addTaggedData(MetricsEvent.FIELD_SLICE_AUTHORITY, uri.getAuthority()); in SliceMetrics() 95 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_AUTHORITY, subSlice.getAuthority()) in logTouch()
|
D | SliceManager.java | 298 String authority = getAuthority(intent); in mapIntentToUri() 321 private String getAuthority(Intent intent) { in getAuthority() method in SliceManager 376 String authority = getAuthority(intent); in bindSlice()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceProviderPermissionsTest.java | 80 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation() 83 assertEquals("com.android.pkg", authorities.get(0).getAuthority()); in testCreation() 84 assertEquals("com.android.pkg.slices", authorities.get(1).getAuthority()); in testCreation()
|
D | SliceClientPermissionsTest.java | 198 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation() 201 assertEquals("com.android.pkg", authorities.get(0).getAuthority()); in testCreation() 202 assertEquals("com.android.pkg.slices", authorities.get(1).getAuthority()); in testCreation() 251 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent() 252 a2.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 291 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "query: ", uri.getAuthority()); in query() 310 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "getType: ", uri.getAuthority()); in getType() 369 .resolveContentProvider(uri.getAuthority(), in logGetTypeData() 387 callingUid, uri.getAuthority(), type); in logGetTypeData() 395 callingUid, uri.getAuthority(), type); in logGetTypeData() 418 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "getTypeAnonymous: ", uri.getAuthority()); in getTypeAnonymousAsync() 447 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "insert: ", uri.getAuthority()); in insert() 469 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "bulkInsert: ", uri.getAuthority()); in bulkInsert() 547 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "delete: ", uri.getAuthority()); in delete() 569 traceBegin(TRACE_TAG_ACTIVITY_MANAGER, "update: ", uri.getAuthority()); in update() [all …]
|
D | UriMatcher.java | 229 if (li == 0 && uri.getAuthority() == null) { 234 String u = i < 0 ? uri.getAuthority() : pathSegments.get(i);
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 107 assertEquals("com.example.test.fontprovider.authority", providerEntry.getAuthority()); in testParseDownloadableFont() 122 assertEquals("com.example.test.fontprovider", providerResourceEntry.getAuthority()); in testParseDownloadableFont_singleCerts() 143 assertEquals("com.example.test.fontprovider", providerResourceEntry.getAuthority()); in testParseDownloadableFont_multipleCerts()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContentResolver.java | 152 if (!mProviders.containsKey(uri.getAuthority()) in notifyChange() 153 && !mUnstableProviders.containsKey(uri.getAuthority())) { in notifyChange()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsUriHelperTest.java | 65 assertThat(uri1.getAuthority()).isEqualTo(IconsUriHelper.AUTHORITY); in testGetContentUri_multiplePackages() 66 assertThat(uri2.getAuthority()).isEqualTo(IconsUriHelper.AUTHORITY); in testGetContentUri_multiplePackages()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierResolverTest.java | 264 Carriers.CONTENT_URI.getAuthority(), new CarrierIdContentProvider()); in testCarrierMatchPreferApnChange() 284 if (CarrierId.All.CONTENT_URI.getAuthority().equals( in query() 285 uri.getAuthority())) { in query() 497 } else if (Carriers.CONTENT_URI.getAuthority().equals(uri.getAuthority())) { in query()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestResolver.java | 27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider); in ExportTestResolver()
|
D | ExportTestProvider.java | 102 final String authority = uri.getAuthority(); in queryEntities() 103 TestCase.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority)); in queryEntities()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | NameValueCacheTest.java | 89 mMockContentResolver.addProvider(Settings.Config.CONTENT_URI.getAuthority(), in setUp() 91 mMockContentResolver.addProvider(Settings.Secure.CONTENT_URI.getAuthority(), in setUp() 105 when(mMockIContentProvider.call(any(), eq(Settings.Config.CONTENT_URI.getAuthority()), in setUp() 132 when(mMockIContentProvider.call(any(), eq(Settings.Config.CONTENT_URI.getAuthority()), in setUp() 162 when(mMockIContentProvider.call(any(), eq(Settings.Secure.CONTENT_URI.getAuthority()), in setUp() 194 when(mMockIContentProvider.call(any(), eq(Settings.Secure.CONTENT_URI.getAuthority()), in setUp()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedProvider.java | 32 String getAuthority(); in getAuthority() method
|
D | ParsedProviderImpl.java | 70 this.authority = other.getAuthority(); in ParsedProviderImpl() 215 public @Nullable String getAuthority() { in getAuthority() method in ParsedProviderImpl
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsTempFileProvider.java | 150 if (!Objects.equals(authority, uri.getAuthority())) { in getFileForUri() 152 authority + ", " + uri.getAuthority()); in getFileForUri()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedProviderTest.kt | 33 ParsedProvider::getAuthority, in <lambda>()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | TileUtils.java | 467 return buildUri(uri.getAuthority(), defaultMethod); in getCompleteUri() 469 return buildUri(uri.getAuthority(), defaultMethod, key); in getCompleteUri() 590 uri.getAuthority(), method, uri.toString(), bundle); in getBundleFromUri() 601 final String authority = uri.getAuthority(); in getProviderFromUri()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 86 assertNull(u.getAuthority()); in testBuildUponOpaqueStringUri() 222 assertEquals("a:a@example.com:a@example2.com", uri.getAuthority()); in testAuthorityParsing() 422 assertNull(uri.getAuthority()); in testOpaqueUri() 541 assertEquals(authority, uri.getAuthority()); in compareHierarchical() 861 assertEquals(uri.getAuthority(), uri.getEncodedAuthority()); in testPart_consistentEncodedVsDecoded() 864 assertEquals("a.com", uri.getAuthority()); in testPart_consistentEncodedVsDecoded()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterUtils.java | 126 if (provider.getAuthority() == null) { in matchesProviders() 129 StringTokenizer authorities = new StringTokenizer(provider.getAuthority(), ";", in matchesProviders()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 228 public abstract String getAuthority(); in getAuthority() method in Uri 428 final String authority = getAuthority(); in toSafeString() 619 public String getAuthority() { in getAuthority() method in Uri.StringUri 923 public String getAuthority() { in getAuthority() method in Uri.OpaqueUri 1282 public String getAuthority() { in getAuthority() method in Uri.HierarchicalUri 2426 if (!Objects.equals(getAuthority(), prefix.getAuthority())) return false; in isPathPrefixMatch()
|