Home
last modified time | relevance | path

Searched refs:getAuthority (Results 1 – 16 of 16) 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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/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/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.java172 when(provider.call(eq(TEST_URI.getAuthority()), eq(TEST_METHOD), in testCall()
251 when(provider.call(eq(TEST_URI.getAuthority()), eq(TEST_METHOD), in testExceptionAllowed()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java231 assertEquals(MEDIA_DOCUMENTS_PROVIDER_AUTHORITY, uri.getAuthority()); in testGetMediaUriAccess_mediaDocumentsProvider()
255 assertEquals(MEDIA_DOCUMENTS_PROVIDER_AUTHORITY, uri.getAuthority()); in testOpenFile_onMediaDocumentsProvider_success()
310 assertEquals(MEDIA_DOCUMENTS_PROVIDER_AUTHORITY, docUriOfFileWithAccess.getAuthority()); in testOpenFile_onMediaDocumentsProvider_failsWithoutAccess()
312 docUriOfFileWithoutAccess.getAuthority()); in testOpenFile_onMediaDocumentsProvider_failsWithoutAccess()
475 DocumentsContract.buildDocumentUri(rootUri.getAuthority(), documentId)); in acquireAccess()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DEnforcingAdminAndAuthorityTest.java71 assertThat(admin.getAuthority()).isEqualTo(AUTHORITY); in enforcingAdmin_getAuthority_returnsCorrectAuthority()
DRingtoneTest.java118 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreTest.java199 assertEquals(MediaStore.AUTHORITY, before.getAuthority()); in testRewriteToLegacy()
200 assertEquals(MediaStore.AUTHORITY_LEGACY, after.getAuthority()); in testRewriteToLegacy()
DMediaStore_FilesTest.java379 final ContentProviderResult[] first = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
381 final ContentProviderResult[] second = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
393 final ContentProviderResult[] third = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java204 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSync()
329 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSyncInNeverBucket()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java230 assertEquals(expected.getAuthority(), expected.getAuthority()); in assertUriDecendant()
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java503 assertEquals(redactedUri.getAuthority(), uri.getAuthority()); in testRedactedUriCommon()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt1484 method @NonNull public android.app.admin.Authority getAuthority();
Dcurrent.txt28873 method @Nullable public abstract String getAuthority();