Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DUriTest.java60 assertNull(u.getAuthority()); in testBuildUpon()
121 assertEquals("a:a@example.com:a@example2.com", uri.getAuthority()); in testStringUri()
132 assertEquals("[2001:db8::dead:e1f]", uri.getAuthority()); in testStringUri()
141 assertEquals("[2001:db8::dead:e1f]", uri.getAuthority()); in testStringUri()
151 assertEquals("some:user@[2001:db8::dead:e1f]:1234", uri.getAuthority()); in testStringUri()
358 assertNull(uri.getAuthority()); in testOpaqueUri()
476 assertEquals(authority, uri.getAuthority()); in compareHierarchical()
DUri_BuilderTest.java29 assertEquals("google.com", uri.getAuthority()); in testBuilderOperations()
/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.java144 assertEquals(auth, uri.getAuthority()); in testRootUri()
161 assertEquals(auth, uri.getAuthority()); in testRootUri_returnFalse()
182 assertEquals(auth, uri.getAuthority()); in testRootsUri()
196 assertEquals(auth, uri.getAuthority()); in testRootsUri_returnsFalse()
206 assertEquals(auth, uri.getAuthority()); in testDocumentUri()
218 assertEquals(auth, treeUri.getAuthority()); in testTreeDocumentUri()
223 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
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java197 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSync()
262 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSyncInNeverBucket()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java232 assertEquals(expected.getAuthority(), expected.getAuthority()); in assertUriDecendant()