Home
last modified time | relevance | path

Searched refs:AUTHORITY (Results 1 – 25 of 35) 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.java51 public static final String AUTHORITY = "android.content.cts.dummyprovider"; field in DummyProvider
52 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
61 sMatcher.addURI(AUTHORITY, null, MATCH_NAME_VALUE); in sMatcher.addURI() argument
62 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/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.java47 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_IsSuperPrimaryName.java50 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_PhoneLookup.java53 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_ContactCountsTest.java49 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_AggregationSuggestionsTest.java48 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_RawContactsTest.java80 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
DContactsContract_ContactsTest.java53 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java42 public static final String AUTHORITY = "com.android.cts.verifier.testresultsprovider"; field in TestResultsProvider
43 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
73 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH, RESULTS_ALL); in URI_MATCHER.addURI() argument
74 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/#", RESULTS_ID); in URI_MATCHER.addURI() argument
75 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/*", RESULTS_TEST_NAME); in URI_MATCHER.addURI() argument
/cts/suite/cts/deviceTests/tvproviderperf/src/com/android/cts/tvproviderperf/
DTvProviderPerfTest.java103 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testChannels()
130 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testChannels()
217 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testPrograms()
240 mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in testPrograms()
275 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