Searched refs:getAuthority (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceMetricsTest.java | 70 .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/ |
D | DocumentsContractTest.java | 147 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/ |
D | Utils.java | 29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 125 assertEquals(authority, getMockSyncAdapter().getAuthority()); in addAccountAndVerifyInitSync() 206 assertEquals(AUTHORITY, getMockSyncAdapter().getAuthority()); in testRequestSync() 380 assertEquals(AUTHORITY, getMockSyncAdapter().getAuthority());
|
D | MockSyncAdapter.java | 46 public String getAuthority() { in getAuthority() method in MockSyncAdapter
|
D | ContentProviderOperationTest.java | 170 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/ |
D | MediaStoreTest.java | 201 assertEquals(MediaStore.AUTHORITY, before.getAuthority()); in testRewriteToLegacy() 202 assertEquals(MediaStore.AUTHORITY_LEGACY, after.getAuthority()); in testRewriteToLegacy()
|
D | MediaStore_FilesTest.java | 373 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/ |
D | CtsSyncManagerTest.java | 200 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSync() 325 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSyncInNeverBucket()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 230 assertEquals(expected.getAuthority(), expected.getAuthority()); in assertUriDecendant()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 225 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/ |
D | RedactUriDeviceTest.java | 479 assertEquals(redactedUri.getAuthority(), uri.getAuthority()); in testRedactedUriCommon()
|