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

1 2 3

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
CalendarProviderStub.java 21 * future CalendarProvider authority name.
24 public static final String AUTHORITY = "com.android.calendar";
  /frameworks/base/core/tests/coretests/src/android/provider/
TestProvider.java 25 final static String AUTHORITY = "android.provider.TestProvider";
30 setupSuggestions(AUTHORITY, MODE);
  /cts/tests/src/android/provider/cts/
TestSearchRecentSuggestionsProvider.java 22 final static String AUTHORITY = "android.provider.cts.TestSRSProvider";
27 setupSuggestions(AUTHORITY, MODE);
  /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);
LoaderThrottle.java 63 * The authority we use to get to our sample provider.
65 public static final String AUTHORITY = "com.example.android.apis.app.LoaderThrottle";
83 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/main");
90 = Uri.parse("content://" + AUTHORITY + "/main/");
187 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN);
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID);
  /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);
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);
  /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;
UserDictionary.java 34 /** Authority string for this provider. */
35 public static final String AUTHORITY = "user_dictionary";
41 Uri.parse("content://" + AUTHORITY);
54 Uri.parse("content://" + AUTHORITY + "/words");
CallLog.java 37 public static final String AUTHORITY = "call_log";
43 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");
VoicemailContract.java 70 /** The authority used by the voicemail provider. */
71 public static final String AUTHORITY = "com.android.voicemail";
114 Uri.parse("content://" + AUTHORITY + "/voicemail");
209 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status");
  /development/samples/NotePad/src/com/example/android/notepad/
NotePad.java 29 public static final String AUTHORITY = "com.google.provider.NotePad";
84 public static final Uri CONTENT_URI = Uri.parse(SCHEME + AUTHORITY + PATH_NOTES);
91 = Uri.parse(SCHEME + AUTHORITY + PATH_NOTE_ID);
98 = Uri.parse(SCHEME + AUTHORITY + PATH_NOTE_ID + "/#");
104 = Uri.parse(SCHEME + AUTHORITY + PATH_LIVE_FOLDER);
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
CrashingIconProvider.java 33 public static final String AUTHORITY = "com.android.quicksearchbox.tests.iconcrash";
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
TypedUriMatcherImplTest.java 54 private final static String AUTHORITY = "authority";
55 private final static String BASE_URI = "scheme://" + AUTHORITY + "/";
64 new TypedUriMatcherImpl<TestUriType>(AUTHORITY, TestUriType.values());
68 // Incorrect authority.
  /packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
PartnerBookmarksContract.java 28 * Authority URI: content://com.android.partnerbookmarks
41 /** The authority for the partner bookmarks provider */
42 public static final String AUTHORITY = "com.android.partnerbookmarks";
44 /** A content:// style uri to the authority for the partner bookmarks provider */
45 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
  /cts/tests/tests/content/src/android/content/cts/
ContentUrisTest.java 25 private static final String AUTHORITY = "ctstest";
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;
76 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2;
91 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1;
98 expected = "content://" + AUTHORITY + "/" + PATH2 + "/" + CODE2;
ContentResolverSyncTestCase.java 37 private static final String AUTHORITY = "android.content.cts.authority";
61 cancelSync(null, AUTHORITY, LATCH_TIMEOUT_MS);
99 String authority, int latchTimeoutMs, int accountIndex) {
118 assertEquals(authority, getMockSyncAdapter().getAuthority());
121 private void cancelSync(Account account, String authority, int latchTimeoutMillis) {
127 ContentResolver.cancelSync(account, authority);
137 private void requestSync(Account account, String authority, int latchTimeoutMillis) {
143 ContentResolver.requestSync(account, authority, extras);
153 private void setIsSyncable(Account account, String authority, boolean b)
    [all...]
  /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);
  /packages/apps/Browser/src/com/android/browser/homepages/
HomeProvider.java 40 public static final String AUTHORITY = "com.android.browser.home";
41 public static final String MOST_VISITED = "content://" + AUTHORITY + "/";
95 if (AUTHORITY.equals(uri.getAuthority())) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 36 public static final String AUTHORITY = "com.android.cts.verifier.testresultsprovider";
37 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
64 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH, RESULTS_ALL);
65 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/#", RESULTS_ID);
66 URI_MATCHER.addURI(AUTHORITY, RESULTS_PATH + "/*", RESULTS_TEST_NAME);
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
MockProvider.java 42 * ContentResolver.applyBatch(MockProvider.AUTHORITY, batch) will cause the CPOs to be executed,
45 * to any authority.
65 public static final String AUTHORITY = "com.android.exchange.mock.provider";
92 return new Uri.Builder().scheme("content").authority(AUTHORITY)
120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table)
127 sURIMatcher.addURI(AUTHORITY, table, TABLE);
128 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
MockProvider.java 42 * ContentResolver.applyBatch(MockProvider.AUTHORITY, batch) will cause the CPOs to be executed,
45 * to any authority.
65 public static final String AUTHORITY = "com.android.exchange.mock.provider";
92 return new Uri.Builder().scheme("content").authority(AUTHORITY)
120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table)
127 sURIMatcher.addURI(AUTHORITY, table, TABLE);
128 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 48 public static final String AUTHORITY = "com.android.gallery3d.provider";
49 public static final Uri BASE_URI = Uri.parse("content://" + AUTHORITY);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 57 private static final String AUTHORITY = UserDictionary.AUTHORITY;
270 sUriMatcher.addURI(AUTHORITY, "words", WORDS);
271 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID);

Completed in 567 milliseconds

1 2 3