Home
last modified time | relevance | path

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

/development/samples/NotePad/src/com/example/android/notepad/
DNotePad.java29 public static final String AUTHORITY = "com.google.provider.NotePad"; field in 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);
DNotePadProvider.java123 sUriMatcher.addURI(NotePad.AUTHORITY, "notes", NOTES); in sUriMatcher.addURI() argument
127 sUriMatcher.addURI(NotePad.AUTHORITY, "notes/#", NOTE_ID); in sUriMatcher.addURI() argument
131 sUriMatcher.addURI(NotePad.AUTHORITY, "live_folders/notes", LIVE_FOLDER_NOTES); in sUriMatcher.addURI() argument
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java34 public static String AUTHORITY = "com.example.android.searchabledict.DictionaryProvider"; field in DictionaryProvider
35 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/dictionary");
58 matcher.addURI(AUTHORITY, "dictionary", SEARCH_WORDS); in buildUriMatcher()
59 matcher.addURI(AUTHORITY, "dictionary/#", GET_WORD); in buildUriMatcher()
61 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, SEARCH_SUGGEST); in buildUriMatcher()
62 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", SEARCH_SUGGEST); in buildUriMatcher()
70 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, REFRESH_SHORTCUT); in buildUriMatcher()
71 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", REFRESH_SHORTCUT); in buildUriMatcher()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSearchSuggestionSampleProvider.java34 final static String AUTHORITY = "com.example.android.apis.SuggestionProvider"; field in SearchSuggestionSampleProvider
48 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionSampleProvider()
DLoaderThrottle.java65 public static final String AUTHORITY = "com.example.android.apis.app.LoaderThrottle"; field in 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); in SimpleProvider()
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID); in SimpleProvider()
DSearchQueryResults.java99 SearchSuggestionSampleProvider.AUTHORITY, SearchSuggestionSampleProvider.MODE); in doSearchQuery()
DSearchInvoke.java237 SearchSuggestionSampleProvider.AUTHORITY, SearchSuggestionSampleProvider.MODE); in clearSearchHistory()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DRecentSuggestionsProvider.java22 … public final static String AUTHORITY = "com.example.android.supportv7.RecentSuggestionsProvider"; field in RecentSuggestionsProvider
26 setupSuggestions(AUTHORITY, MODE); in RecentSuggestionsProvider()
DSearchActivity.java40 RecentSuggestionsProvider.AUTHORITY, RecentSuggestionsProvider.MODE); in onCreate()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProviderContract.java20 public static final String AUTHORITY = "com.example.android.threadsample"; field in DataProviderContract
25 public static final Uri CONTENT_URI = Uri.parse(SCHEME + "://" + AUTHORITY);
DDataProvider.java101 DataProviderContract.AUTHORITY, in sUriMatcher.addURI() argument
107 DataProviderContract.AUTHORITY, in sUriMatcher.addURI() argument
115 DataProviderContract.AUTHORITY + "." + in sMimeTypes.put()
122 DataProviderContract.AUTHORITY + "." + in sMimeTypes.put()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DFileProviderExample.java38 private static final String AUTHORITY = "com.example.android.supportv4.my_files"; field in FileProviderExample
54 final Uri uri = FileProvider.getUriForFile(this, AUTHORITY, file); in onShareFileClick()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudFragment.java37 private static final String AUTHORITY = "com.example.android.storageprovider.documents"; field in MyCloudFragment
66 (AUTHORITY), null, false); in onOptionsItemSelected()
/development/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java19 import static com.example.android.vault.VaultProvider.AUTHORITY;
43 mClient = getContext().getContentResolver().acquireContentProviderClient(AUTHORITY); in setUp()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java66 public static final String AUTHORITY = "com.example.android.apis.supportv4.app.LoaderThrottle"; field in LoaderThrottleSupport
84 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/main");
91 = Uri.parse("content://" + AUTHORITY + "/main/");
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN); in SimpleProvider()
189 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID); in SimpleProvider()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java36 private static final String AUTHORITY = FeedContract.CONTENT_AUTHORITY; field in FeedProvider
59 sUriMatcher.addURI(AUTHORITY, "entries", ROUTE_ENTRIES); in sUriMatcher.addURI() argument
60 sUriMatcher.addURI(AUTHORITY, "entries/*", ROUTE_ENTRIES_ID); in sUriMatcher.addURI() argument
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DBatchOperation.java64 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, in execute()
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java80 static final String AUTHORITY = "com.example.android.vault.provider"; field in VaultProvider
433 DocumentsContract.buildChildDocumentsUri(AUTHORITY, name), null, in deleteDocumentReferences()
469 DocumentsContract.buildChildDocumentsUri(AUTHORITY, parentDocumentId)); in queryChildDocuments()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java158 filter.addDataAuthority(WearableCalendarContract.AUTHORITY, null); in onVisibilityChanged()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java198 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY, true); in finishLogin()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java216 getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops); in createContactEntry()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java101 super(NotePadProvider.class, NotePad.AUTHORITY); in NotePadProviderTest()