/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/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/Support4Demos/src/com/example/android/supportv4/content/ |
D | SharingSupportProvider.java | 34 public static final Uri CONTENT_URI = field in SharingSupportProvider 52 if (uri.equals(Uri.withAppendedPath(CONTENT_URI, "foo.txt")) || in getType() 53 uri.equals(Uri.withAppendedPath(CONTENT_URI, "bar.txt"))) { in getType()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 74 final Cursor cursor = resolver.query(Groups.CONTENT_URI, new String[] { Groups._ID }, in ensureSampleGroupExists() 96 final Uri newGroupUri = resolver.insert(Groups.CONTENT_URI, contentValues); in ensureSampleGroupExists() 188 final Cursor c = resolver.query(DirtyQuery.CONTENT_URI, in getDirtyContacts() 384 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION, in updateContact() 395 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in updateContact() 461 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in updateContact() 492 context.getContentResolver().insert(Settings.CONTENT_URI, values); in setAccountContactsVisibility() 520 resolver.query(DataQuery.CONTENT_URI, DataQuery.PROJECTION, DataQuery.SELECTION, in getRawContact() 530 final Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, id); in getRawContact() 593 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/Support4Demos/src/com/example/android/supportv4/app/ |
D | SharingSupport.java | 81 .setStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/foo.txt")) in onShareFileClick() 104 .addStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/foo.txt")) in onShareMultipleFileClick() 105 .addStream(Uri.parse(SharingSupportProvider.CONTENT_URI + "/bar.txt")) in onShareMultipleFileClick()
|
D | LoaderThrottleSupport.java | 84 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/main"); field in LoaderThrottleSupport.MainTable 446 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/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()
|
D | WeatherWidgetService.java | 121 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null, in onDataSetChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List2.java | 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
|
D | AutoComplete5.java | 35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
|
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 | Gallery2.java | 39 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/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/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()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ContactPhotoBinder.java | 72 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); in bind()
|