Home
last modified time | relevance | path

Searched refs:AUTHORITY (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java37 private static final String AUTHORITY = "android.content.cts.authority"; field in ContentResolverSyncTestCase
61 cancelSync(null, AUTHORITY, LATCH_TIMEOUT_MS); in tearDown()
169 AUTHORITY, in testRequestSync()
175 setIsSyncable(ACCOUNT, AUTHORITY, true); in testRequestSync()
176 cancelSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testRequestSync()
180 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testRequestSync()
186 assertEquals(AUTHORITY, getMockSyncAdapter().getAuthority()); in testRequestSync()
201 AUTHORITY, in testCancelSync()
207 setIsSyncable(ACCOUNT, AUTHORITY, true); in testCancelSync()
208 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testCancelSync()
[all …]
DContentUrisTest.java25 private static final String AUTHORITY = "ctstest"; field in ContentUrisTest
32 private Uri uri1 = Uri.parse("content://" + AUTHORITY + "/" + PATH1);
33 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2);
70 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testWithAppendedId()
76 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2; in testWithAppendedId()
91 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testAppendId()
98 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2; in testAppendId()
DMockSRSProvider.java21 final static String AUTHORITY = "android.content.cts.MockSRSProvider"; field in MockSRSProvider
29 setupSuggestions(AUTHORITY, MODE); in MockSRSProvider()
DDummyProvider.java48 public static final String AUTHORITY = "android.content.cts.dummyprovider"; field in DummyProvider
49 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
58 sMatcher.addURI(AUTHORITY, null, MATCH_NAME_VALUE); in sMatcher.addURI() argument
59 sMatcher.addURI(AUTHORITY, MOCK_OPERATION, MATCH_MOCK_OPERATION); in sMatcher.addURI() argument
DContentResolverTest.java53 private static final String AUTHORITY = "ctstest"; field in ContentResolverTest
54 private static final Uri TABLE1_URI = Uri.parse("content://" + AUTHORITY + "/testtable1/");
56 Uri.parse("content://" + AUTHORITY + "/testtable1/cross");
57 private static final Uri TABLE2_URI = Uri.parse("content://" + AUTHORITY + "/testtable2/");
58 private static final Uri SELF_URI = Uri.parse("content://" + AUTHORITY + "/self/");
59 private static final Uri CRASH_URI = Uri.parse("content://" + AUTHORITY + "/crash/");
61 private static final Uri LEVEL1_URI = Uri.parse("content://" + AUTHORITY + "/level/");
62 private static final Uri LEVEL2_URI = Uri.parse("content://" + AUTHORITY + "/level/child");
63 private static final Uri LEVEL3_URI = Uri.parse("content://" + AUTHORITY
1047 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras); in testStartCancelSync()
[all …]
DSearchRecentSuggestionsProviderTest.java30 private final static String AUTHORITY_HEAD = "content://" + MockSRSProvider.AUTHORITY;
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java47 private static final String AUTHORITY = "com.android.cts.contact.directory.provider"; field in DirectoryProvider
53 private static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
88 mURIMatcher.addURI(AUTHORITY, "directories", GAL_DIRECTORIES); in onCreate()
89 mURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER); in onCreate()
90 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT); in onCreate()
91 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID); in onCreate()
92 mURIMatcher.addURI(AUTHORITY, "data/emails/filter/*", GAL_EMAIL_FILTER); in onCreate()
93 mURIMatcher.addURI(AUTHORITY, "data/phones/filter/*", GAL_PHONE_FILTER); in onCreate()
94 mURIMatcher.addURI(AUTHORITY, "phone_lookup/*", GAL_PHONE_LOOKUP); in onCreate()
95 mURIMatcher.addURI(AUTHORITY, "data/callables/filter/*", GAL_CALLABLES_FILTER); in onCreate()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DTestSearchRecentSuggestionsProvider.java22 final static String AUTHORITY = "android.provider.cts.TestSRSProvider"; field in TestSearchRecentSuggestionsProvider
27 setupSuggestions(AUTHORITY, MODE); in TestSearchRecentSuggestionsProvider()
DContactsContract_StatusUpdatesTest.java61 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in setUp()
113 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertStatusUpdate()
124 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertRowCount()
134 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertPresence()
144 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertStatus()
DSearchRecentSuggestionsTest.java31 + TestSearchRecentSuggestionsProvider.AUTHORITY;
47 TestSearchRecentSuggestionsProvider.AUTHORITY); in SearchRecentSuggestionsTest()
51 new SearchRecentSuggestions(mProviderContext, TestSearchRecentSuggestionsProvider.AUTHORITY, in testConstructor()
57 TestSearchRecentSuggestionsProvider.AUTHORITY, in testSearchRecentSuggestions()
DContactsContract_ProviderStatus.java47 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_StreamItemsTest.java129 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testContentUri()
155 results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testContentUri()
DContactsContract_GroupMembershipTest.java40 contentResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_PhotoTest.java50 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_StructuredPhoneticName.java48 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_IsSuperPrimaryName.java50 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_AggregationSuggestionsTest.java48 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java48 static final Uri MEDIA_URI = Uri.parse("content://" + MediaStore.AUTHORITY + "/");
51 static final Uri MEDIA_EXTERNAL_URI = Uri.parse("content://" + MediaStore.AUTHORITY
237 String base = "content://" + DummyJobContentProvider.AUTHORITY + "/root"; in testDescendantsObserver()
265 assertEquals(DummyJobContentProvider.AUTHORITY, auths[0]); in testDescendantsObserver()
281 assertEquals(DummyJobContentProvider.AUTHORITY, auths[0]); in testDescendantsObserver()
285 String base = "content://" + DummyJobContentProvider.AUTHORITY + "/root"; in testNonDescendantsObserver()
311 assertEquals(DummyJobContentProvider.AUTHORITY, auths[0]); in testNonDescendantsObserver()
327 assertEquals(DummyJobContentProvider.AUTHORITY, auths[0]); in testNonDescendantsObserver()
353 assertEquals(MediaStore.AUTHORITY, auths[0]); in testPhotoAdded()
371 assertEquals(MediaStore.AUTHORITY, auths[0]); in testPhotoAdded()
[all …]
/cts/hostsidetests/services/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/
DDragSourceContentProvider.java27 public static final String AUTHORITY = "android.wm.cts.dndsource.contentprovider"; field in DragSourceContentProvider
34 sMatcher.addURI(AUTHORITY, "data/#", URI_DATA); in sMatcher.addURI() argument
DDragSource.java32 "content://" + DragSourceContentProvider.AUTHORITY + "/data";
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java40 public static final String AUTHORITY = "android.jobscheduler.dummyprovider"; field in DummyJobContentProvider
41 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
48 sMatcher.addURI(AUTHORITY, null, MATCH_NAME_VALUE); in sMatcher.addURI() argument
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java102 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testChannels()
131 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testChannels()
217 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testPrograms()
240 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testPrograms()
277 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testPrograms()
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java38 public static final String AUTHORITY = MockContentProvider.class.getName(); field in MockContentProvider
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DAuthenticatorContentProvider.java34 public static final String AUTHORITY = field in AuthenticatorContentProvider
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java57 AuthenticatorContentProvider.AUTHORITY); in setUp()

12