HomeSort by relevance Sort by last modified time
    Searched defs:AUTHORITY (Results 1 - 25 of 34) sorted by null

1 2

  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchSuggestionSampleProvider.java 24 * a unique authority and the mode you with to use. For more information, see
30 * This is the provider authority identifier. The same string must appear in your
34 final static String AUTHORITY = "com.example.android.apis.SuggestionProvider";
48 setupSuggestions(AUTHORITY, MODE);
  /cts/tests/src/android/content/cts/
MockSRSProvider.java 21 final static String AUTHORITY = "android.content.cts.MockSRSProvider";
29 setupSuggestions(AUTHORITY, MODE);
37 public void setupSuggestions(String authority, int mode) {
39 super.setupSuggestions(authority, mode);
MockContentProvider.java 38 private static final String AUTHORITY = "ctstest";
154 testUri = Uri.parse("content://" + AUTHORITY + "/testtable1");
158 testUri = Uri.parse("content://" + AUTHORITY + "/testtable2");
261 URL_MATCHER.addURI(AUTHORITY, "testtable1", TESTTABLE1);
262 URL_MATCHER.addURI(AUTHORITY, "testtable1/#", TESTTABLE1_ID);
263 URL_MATCHER.addURI(AUTHORITY, "testtable2", TESTTABLE2);
264 URL_MATCHER.addURI(AUTHORITY, "testtable2/#", TESTTABLE2_ID);
DummyProvider.java 51 public static final String AUTHORITY = "android.content.cts.dummyprovider";
52 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
61 sMatcher.addURI(AUTHORITY, null, MATCH_NAME_VALUE);
62 sMatcher.addURI(AUTHORITY, MOCK_OPERATION, MATCH_MOCK_OPERATION);
  /development/samples/NotePad/src/com/example/android/notepad/
NotePad.java 26 public static final String AUTHORITY = "com.example.notepad.provider.NotePad";
41 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/notes");
  /frameworks/base/core/java/android/provider/
Applications.java 34 * The content authority for this provider.
36 public static final String AUTHORITY = "applications";
41 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
93 if (!AUTHORITY.equals(appUri.getAuthority())) return null;
SocialContract.java 32 /** The authority for the social provider */
33 public static final String AUTHORITY = "com.android.social";
35 /** A content:// style uri to the authority for the contacts provider */
36 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
UserDictionary.java 34 /** Authority string for this provider. */
35 public static final String AUTHORITY = "user_dictionary";
41 Uri.parse("content://" + AUTHORITY);
51 Uri.parse("content://" + AUTHORITY + "/words");
CallLog.java 33 public static final String AUTHORITY = "call_log";
39 Uri.parse("content://" + AUTHORITY);
DrmStore.java 45 public static final String AUTHORITY = "drm";
86 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/images");
91 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/audio");
Contacts.java 53 public static final String AUTHORITY = "contacts";
60 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
    [all...]
MediaStore.java 52 public static final String AUTHORITY = "media";
54 private static final String CONTENT_AUTHORITY_SLASH = "content://" + AUTHORITY + "/";
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/provider/
TagContract.java 31 public static final String AUTHORITY = "com.android.apps.tag";
32 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
  /cts/tests/tests/content/src/android/content/cts/
ContentUrisTest.java 31 private static final String AUTHORITY = "ctstest";
38 private Uri uri1 = Uri.parse("content://" + AUTHORITY + "/" + PATH1);
39 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2);
103 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1;
109 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2;
137 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1;
144 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2;
ContentResolverSyncTestCase.java 37 private static final String AUTHORITY = "android.content.cts.authority";
96 String authority, int latchTimeoutMs) {
113 assertEquals(authority, getMockSyncAdapter().getAuthority());
116 private void cancelSync(Account account, String authority, int latchTimeoutMillis) {
122 ContentResolver.cancelSync(account, authority);
132 private void requestSync(Account account, String authority, int latchTimeoutMillis) {
138 ContentResolver.requestSync(account, authority, extras);
148 private void setIsSyncable(Account account, String authority, boolean b) {
149 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0)
    [all...]
ContentResolverTest.java 51 private static final String AUTHORITY = "ctstest";
52 private static final Uri TABLE1_URI = Uri.parse("content://" + AUTHORITY + "/testtable1/");
53 private static final Uri TABLE2_URI = Uri.parse("content://" + AUTHORITY + "/testtable2/");
745 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras);
748 ContentResolver.cancelSync(ACCOUNT, AUTHORITY);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryProvider.java 34 public static String AUTHORITY = "com.example.android.searchabledict.DictionaryProvider";
35 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/dictionary");
58 matcher.addURI(AUTHORITY, "dictionary", SEARCH_WORDS);
59 matcher.addURI(AUTHORITY, "dictionary/#", GET_WORD);
61 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, SEARCH_SUGGEST);
62 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", SEARCH_SUGGEST);
70 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, REFRESH_SHORTCUT);
71 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", REFRESH_SHORTCUT);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 34 public static final String AUTHORITY = "com.android.cts.verifier.testresultsprovider";
35 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
66 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH, RESULTS_ALL);
67 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/#", RESULTS_ID);
68 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/*", RESULTS_TEST_NAME);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 44 private static final String AUTHORITY = UserDictionary.AUTHORITY;
245 sUriMatcher.addURI(AUTHORITY, "words", WORDS);
246 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID);
  /frameworks/base/core/tests/coretests/src/android/content/
SearchRecentSuggestionsProviderTest.java 30 final static String AUTHORITY = "android.content.TestProvider";
35 setupSuggestions(AUTHORITY, MODE);
57 super(TestProvider.class, TestProvider.AUTHORITY);
70 TestProvider.AUTHORITY, TestProvider.MODE);
391 String uriStr = "content://" + TestProvider.AUTHORITY +
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 69 public static final String AUTHORITY = "com.android.email.attachmentprovider";
70 public static final Uri CONTENT_URI = Uri.parse( "content://" + AUTHORITY);
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
PicasaContentProvider.java 37 public static final String AUTHORITY = "com.cooliris.picasa.contentprovider";
38 public static final Uri BASE_URI = Uri.parse("content://" + AUTHORITY);
60 addMapping(AUTHORITY, "photos", "vnd.cooliris.picasa.photo", PhotoEntry.SCHEMA);
61 addMapping(AUTHORITY, "albums", "vnd.cooliris.picasa.album", AlbumEntry.SCHEMA);
103 if (path.size() != 2 || !uri.getAuthority().equals(AUTHORITY) || selection != null) {
172 if (!ContentResolver.getSyncAutomatically(context.accounts[i].account, AUTHORITY))
214 return ContentResolver.getSyncAutomatically(account.account, AUTHORITY);
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 70 static final String AUTHORITY = "com.android.launcher2.settings";
81 Uri.parse("content://" + AUTHORITY + "/appWidgetReset");
248 final Uri uri = Uri.parse("content://" + Settings.AUTHORITY +
    [all...]
  /packages/apps/Mms/src/com/android/mms/
SuggestionsProvider.java 42 final static String AUTHORITY = "com.android.mms.SuggestionsProvider";
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsProvider.java 178 private static final String AUTHORITY = "mms-sms";
181 URI_MATCHER.addURI(AUTHORITY, "conversations", URI_CONVERSATIONS);
182 URI_MATCHER.addURI(AUTHORITY, "complete-conversations", URI_COMPLETE_CONVERSATIONS);
186 AUTHORITY, "conversations/#", URI_CONVERSATIONS_MESSAGES);
188 AUTHORITY, "conversations/#/recipients",
192 AUTHORITY, "conversations/#/subject",
196 URI_MATCHER.addURI(AUTHORITY, "conversations/obsolete", URI_OBSOLETE_THREADS);
199 AUTHORITY, "messages/byphone/*",
205 URI_MATCHER.addURI(AUTHORITY, "threadID", URI_THREAD_ID);
208 URI_MATCHER.addURI(AUTHORITY, "canonical-address/#", URI_CANONICAL_ADDRESS)
    [all...]

Completed in 642 milliseconds

1 2