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.java115 sUriMatcher.addURI(NotePad.AUTHORITY, "notes", NOTES); in sUriMatcher.addURI() argument
119 sUriMatcher.addURI(NotePad.AUTHORITY, "notes/#", NOTE_ID); 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/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/browseable/StorageProvider/src/com.example.android.storageprovider/
DStorageProviderFragment.java37 private static final String AUTHORITY = "com.example.android.storageprovider.documents"; field in StorageProviderFragment
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;
44 mClient = getContext().getContentResolver().acquireContentProviderClient(AUTHORITY); in setUp()
/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/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java52 private static final String AUTHORITY = "com.example.android.commitcontent.ime.inputcontent"; field in ImageKeyboard
97 final Uri contentUri = FileProvider.getUriForFile(this, AUTHORITY, file); in doCommitContent()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DMediaContentJob.java39 static final Uri MEDIA_URI = Uri.parse("content://" + MediaStore.AUTHORITY + "/");
DPhotosContentJob.java44 static final Uri MEDIA_URI = Uri.parse("content://" + MediaStore.AUTHORITY + "/");
/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/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
DContactsFragment.java182 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in insertDummyContact()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java198 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY, true); in finishLogin()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java211 filter.addDataAuthority(WearableCalendarContract.AUTHORITY, null); in onVisibilityChanged()
/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()