Home
last modified time | relevance | path

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

123

/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java37 private static final String AUTHORITY = "android.content.cts.authority"; field in ContentResolverSyncTestCase
62 cancelSync(null, AUTHORITY, LATCH_TIMEOUT_MS); in tearDown()
170 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()
206 setIsSyncable(ACCOUNT, AUTHORITY, true); in testCancelSync()
207 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
DTestPagingContentProvider.java39 static final String AUTHORITY = "android.content.cts.testpagingprovider"; field in TestPagingContentProvider
41 static final Uri PAGED_DATA_URI = Uri.parse("content://" + AUTHORITY + "/paged/");
42 static final Uri UNPAGED_DATA_URI = Uri.parse("content://" + AUTHORITY + "/un-paged/");
DContentResolverTest.java51 private static final String AUTHORITY = "ctstest"; field in ContentResolverTest
52 private static final Uri TABLE1_URI = Uri.parse("content://" + AUTHORITY + "/testtable1/");
54 Uri.parse("content://" + AUTHORITY + "/testtable1/cross");
55 private static final Uri TABLE2_URI = Uri.parse("content://" + AUTHORITY + "/testtable2/");
57 private static final Uri LEVEL1_URI = Uri.parse("content://" + AUTHORITY + "/level/");
58 private static final Uri LEVEL2_URI = Uri.parse("content://" + AUTHORITY + "/level/child");
59 private static final Uri LEVEL3_URI = Uri.parse("content://" + AUTHORITY
1198 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras); in testStartCancelSync()
1201 ContentResolver.cancelSync(ACCOUNT, AUTHORITY); in testStartCancelSync()
DSearchRecentSuggestionsProviderTest.java30 private final static String AUTHORITY_HEAD = "content://" + MockSRSProvider.AUTHORITY;
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DEventProviderConstants.java38 public static final String AUTHORITY = "android.inputmethodservice.cts.provider"; field in EventProviderConstants
41 private static final String BASE_URI = "content://" + AUTHORITY;
78 CURSOR_DIR_BASE_TYPE + "/" + AUTHORITY + ".ime_event";
82 CURSOR_ITEM_BASE_TYPE + "/" + AUTHORITY + ".ime_event";
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java49 private static final String AUTHORITY = "com.android.cts.contact.directory.provider"; field in DirectoryProvider
55 private static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
90 mURIMatcher.addURI(AUTHORITY, "directories", GAL_DIRECTORIES); in onCreate()
91 mURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER); in onCreate()
92 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT); in onCreate()
93 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID); in onCreate()
94 mURIMatcher.addURI(AUTHORITY, "data/emails/filter/*", GAL_EMAIL_FILTER); in onCreate()
95 mURIMatcher.addURI(AUTHORITY, "data/phones/filter/*", GAL_PHONE_FILTER); in onCreate()
96 mURIMatcher.addURI(AUTHORITY, "phone_lookup/*", GAL_PHONE_LOOKUP); in onCreate()
97 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()
DFontsContractTest.java56 private static final String AUTHORITY = "android.provider.fonts.cts.font"; field in FontsContractTest
153 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFont()
168 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFontNegativeErrorCode()
185 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in querySingleFont()
202 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleFont()
220 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryAttributes()
250 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryNotFound()
266 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryUnavailable()
282 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMalformed()
298 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleOneNotFound()
[all …]
DSearchRecentSuggestionsTest.java32 + TestSearchRecentSuggestionsProvider.AUTHORITY;
48 TestSearchRecentSuggestionsProvider.AUTHORITY); in SearchRecentSuggestionsTest()
52 new SearchRecentSuggestions(mProviderContext, TestSearchRecentSuggestionsProvider.AUTHORITY, in testConstructor()
58 TestSearchRecentSuggestionsProvider.AUTHORITY, in testSearchRecentSuggestions()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java109 ContentResolver.requestSync(account, BatteryStatsProvider.AUTHORITY, extras); in requestSync()
120 ContentResolver.cancelSync(account, BatteryStatsProvider.AUTHORITY); in cancelPendingSyncs()
123 if (!ContentResolver.isSyncPending(account, BatteryStatsProvider.AUTHORITY) in cancelPendingSyncs()
124 && !ContentResolver.isSyncActive(account, BatteryStatsProvider.AUTHORITY)) { in cancelPendingSyncs()
DBatteryStatsProvider.java27 public static final String AUTHORITY = "com.android.server.cts.device.batterystats.provider"; field in BatteryStatsProvider
DBatteryStatsSyncTest.java59 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1); in testRunSyncs()
/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_Reschedule()
371 assertEquals(MediaStore.AUTHORITY, auths[0]); in testPhotoAdded_Reschedule()
[all …]
/cts/hostsidetests/services/activityandwindowmanager/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
/cts/tests/tests/provider/src/android/provider/cts/contacts/
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()
DDummyGalProvider.java42 public static final String AUTHORITY = "android.provider.cts.contacts.dgp"; field in DummyGalProvider
66 sURIMatcher.addURI(AUTHORITY, "directories", GAL_DIRECTORIES); in sURIMatcher.addURI() argument
67 sURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER); in sURIMatcher.addURI() argument
DContactsContract_ProviderStatus.java46 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()
/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/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
DEventProvider.java19 import static android.inputmethodservice.cts.common.EventProviderConstants.AUTHORITY;
55 .addUri(AUTHORITY, EventTableConstants.NAME, EventTableConstants.TYPE_DIR) in onCreate()
56 .addUri(AUTHORITY, EventTableConstants.NAME + "/#", EventTableConstants.TYPE_ITEM) in onCreate()
/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/provider/src/android/provider/cts/contacts/account/
DContactsContract_Subquery.java38 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()

123