/development/samples/NotePad/tests/src/com/example/android/notepad/ |
D | NotePadProviderTest.java | 49 Uri.withAppendedPath(NotePad.Notes.CONTENT_URI, "invalid"); 165 String mimeType = mMockResolver.getType(NotePad.Notes.CONTENT_URI); in testUriAndGetType() 191 assertNull(mMockResolver.getStreamTypes(NotePad.Notes.CONTENT_URI, MIME_TYPES_ALL)); in testGetStreamTypes() 225 mimeType = mMockResolver.getStreamTypes(NotePad.Notes.CONTENT_URI, MIME_TYPES_ALL); in testGetStreamTypes() 289 NotePad.Notes.CONTENT_URI, in testOpenTypedAssetFile() 447 NotePad.Notes.CONTENT_URI, // the URI for the main data table in testQueriesOnNotesUri() 465 NotePad.Notes.CONTENT_URI, // the URI for the main data table in testQueriesOnNotesUri() 480 NotePad.Notes.CONTENT_URI, // the URI for the main data table in testQueriesOnNotesUri() 500 NotePad.Notes.CONTENT_URI, // the URI for the main data table in testQueriesOnNotesUri() 577 NotePad.Notes.CONTENT_URI, // the base URI for the table in testQueriesOnNoteIdUri() [all …]
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | DataProviderContract.java | 25 public static final Uri CONTENT_URI = Uri.parse(SCHEME + "://" + AUTHORITY); field in DataProviderContract 56 Uri.withAppendedPath(CONTENT_URI, PICTUREURL_TABLE_NAME); 87 Uri.withAppendedPath(CONTENT_URI, DATE_TABLE_NAME);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 65 final Cursor cursor = resolver.query(Groups.CONTENT_URI, new String[] { Groups._ID }, in ensureSampleGroupExists() 87 final Uri newGroupUri = resolver.insert(Groups.CONTENT_URI, contentValues); in ensureSampleGroupExists() 179 final Cursor c = resolver.query(DirtyQuery.CONTENT_URI, in getDirtyContacts() 338 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION, in updateContact() 349 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in updateContact() 415 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in updateContact() 446 context.getContentResolver().insert(Settings.CONTENT_URI, values); in setAccountContactsVisibility() 474 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION, in getRawContact() 484 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in getRawContact() 547 batchOperation.add(ContactOperations.newInsertCpo(StatusUpdates.CONTENT_URI, in updateContactStatus() [all …]
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | ContactAccessorSdk5.java | 51 return new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); in getPickContactIntent() 75 cursor = contentResolver.query(Phone.CONTENT_URI, in loadContact()
|
D | ContactAccessorSdk3_4.java | 48 return new Intent(Intent.ACTION_PICK, People.CONTENT_URI); in getPickContactIntent()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssContentProvider.java | 56 public static final Uri CONTENT_URI = Uri.parse( "content://my_rss_item/rssitem"); field in RssContentProvider 186 Uri newUri = CONTENT_URI.addId(rowId); in insert() 189 getContext().getContentResolver().notifyInsert(CONTENT_URI, null); in insert()
|
D | MyRssReader4.java | 52 mCur = managedQuery(RssContentProvider.CONTENT_URI, // Query for all items. in onCreate() 133 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); in onOptionsItemSelected() 158 RssContentProvider.CONTENT_URI, in onActivityResult()
|
D | MyRssReader5.java | 61 mCur = managedQuery(RssContentProvider.CONTENT_URI, // Query for all items. in onCreate() 167 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); in onOptionsItemSelected() 195 RssContentProvider.CONTENT_URI, in onActivityResult()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetProvider.java | 98 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onEnabled() 116 final Cursor c = r.query(WeatherDataProvider.CONTENT_URI, null, null, null, in onReceive() 124 … final Uri uri = ContentUris.withAppendedId(WeatherDataProvider.CONTENT_URI, i); in onReceive() 130 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onReceive() 191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, in buildLayout()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries in updateLocalFeedData() 245 Uri existingUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData() 263 Uri deleteUri = FeedContract.Entry.CONTENT_URI.buildUpon() in updateLocalFeedData() 275 batch.add(ContentProviderOperation.newInsert(FeedContract.Entry.CONTENT_URI) in updateLocalFeedData() 286 FeedContract.Entry.CONTENT_URI, // URI where data was modified in updateLocalFeedData()
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ |
D | ContactsFragment.java | 120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION, in onCreateLoader() 165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in insertDummyContact() 171 op = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertDummyContact()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedContract.java | 64 public static final Uri CONTENT_URI = field in FeedContract.Entry
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ExpandableList2.java | 90 Uri.Builder builder = Contacts.CONTENT_URI.buildUpon(); in getChildrenCursor() 125 mQueryHandler.startQuery(TOKEN_GROUP, null, Contacts.CONTENT_URI, CONTACTS_PROJECTION, in onCreate()
|
D | AutoComplete5.java | 35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
|
D | List2.java | 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
|
D | List3.java | 40 Cursor c = getContentResolver().query(Phone.CONTENT_URI, in onCreate()
|
D | List7.java | 63 Cursor c = getContentResolver().query(Phone.CONTENT_URI, in onCreate()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
D | MainActivity.java | 173 return new CursorLoader(this, SmsQuery.CONTENT_URI, SmsQuery.PROJECTION, null, null, in onCreateLoader() 199 static final Uri CONTENT_URI = Inbox.CONTENT_URI; field
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePad.java | 84 public static final Uri CONTENT_URI = Uri.parse(SCHEME + AUTHORITY + PATH_NOTES); field in NotePad.Notes
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | ContentItem.java | 68 … return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + mContentAssetFilePath); in getContentUri()
|
D | AssetProvider.java | 38 public static String CONTENT_URI = "com.example.android.actionbarcompat.shareactionprovider"; field in AssetProvider
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | SearchableDictionary.java | 88 Cursor cursor = managedQuery(DictionaryProvider.CONTENT_URI, null, null, in showResults() 121 Uri data = Uri.withAppendedPath(DictionaryProvider.CONTENT_URI, in showResults()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactsListFragment.java | 438 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); in onOptionsItemSelected() 466 contentUri = ContactsQuery.CONTENT_URI; in onCreateLoader() 507 Contacts.CONTENT_URI, String.valueOf(data.getLong(ContactsQuery.ID))); in onLoadFinished() 590 final Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_URI, photoData); in loadContactPhotoThumbnail() 877 final static Uri CONTENT_URI = Contacts.CONTENT_URI; field
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 83 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/main"); field in LoaderThrottle.MainTable 445 cr.insert(MainTable.CONTENT_URI, values); in onOptionsItemSelected() 466 cr.delete(MainTable.CONTENT_URI, null, null); in onOptionsItemSelected() 490 CursorLoader cl = new CursorLoader(getActivity(), MainTable.CONTENT_URI, in onCreateLoader()
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
D | ContactAdder.java | 186 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in createContactEntry() 190 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in createContactEntry() 196 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in createContactEntry() 203 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in createContactEntry()
|