Home
last modified time | relevance | path

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

/cts/tests/tests/slice/src/android/slice/cts/
DSliceMetricsTest.java70 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_AUTHORITY, SUB_SLICE_URI.getAuthority()) in testLogOnTouch()
76 logMaker.addTaggedData(MetricsEvent.FIELD_SLICE_AUTHORITY, BASE_URI.getAuthority()); in getLogMaker()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java147 assertEquals(auth, uri.getAuthority()); in testRootUri()
164 assertEquals(auth, uri.getAuthority()); in testRootUri_returnFalse()
185 assertEquals(auth, uri.getAuthority()); in testRootsUri()
199 assertEquals(auth, uri.getAuthority()); in testRootsUri_returnsFalse()
209 assertEquals(auth, uri.getAuthority()); in testDocumentUri()
221 assertTrue(uri.getAuthority().contains(auth)); in testBuildDocumentUriAsUser_setsAuthority()
251 assertEquals(auth, treeUri.getAuthority()); in testTreeDocumentUri()
256 assertEquals(auth, leafUri.getAuthority()); in testTreeDocumentUri()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java125 assertEquals(authority, getMockSyncAdapter().getAuthority()); in addAccountAndVerifyInitSync()
206 assertEquals(AUTHORITY, getMockSyncAdapter().getAuthority()); in testRequestSync()
380 assertEquals(AUTHORITY, getMockSyncAdapter().getAuthority());
DMockSyncAdapter.java46 public String getAuthority() { in getAuthority() method in MockSyncAdapter
DContentProviderOperationTest.java170 when(provider.call(eq(TEST_URI.getAuthority()), eq(TEST_METHOD), in testCall()
249 when(provider.call(eq(TEST_URI.getAuthority()), eq(TEST_METHOD), in testExceptionAllowed()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreTest.java201 assertEquals(MediaStore.AUTHORITY, before.getAuthority()); in testRewriteToLegacy()
202 assertEquals(MediaStore.AUTHORITY_LEGACY, after.getAuthority()); in testRewriteToLegacy()
DMediaStore_FilesTest.java373 final ContentProviderResult[] first = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
375 final ContentProviderResult[] second = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
387 final ContentProviderResult[] third = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java200 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSync()
325 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSyncInNeverBucket()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java230 assertEquals(expected.getAuthority(), expected.getAuthority()); in assertUriDecendant()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java225 assertEquals(MEDIA_DOCUMENTS_PROVIDER_AUTHORITY, uri.getAuthority()); in testGetMediaUriAccess_MediaDocumentsProvider()
347 DocumentsContract.buildDocumentUri(rootUri.getAuthority(), documentId)); in acquireAccess()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java479 assertEquals(redactedUri.getAuthority(), uri.getAuthority()); in testRedactedUriCommon()