Home
last modified time | relevance | path

Searched refs:ContentUris (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java20 import android.content.ContentUris;
103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId); in insert()
/frameworks/base/core/java/android/provider/
DSyncStateContract.java23 import android.content.ContentUris;
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
DCalendarContract.java27 import android.content.ContentUris;
1716 ContentUris.appendId(builder, begin); in query()
1717 ContentUris.appendId(builder, end); in query()
1745 ContentUris.appendId(builder, begin); in query()
1746 ContentUris.appendId(builder, end); in query()
1999 ContentUris.appendId(builder, startDay); in query()
2000 ContentUris.appendId(builder, endDay); in query()
2355 intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime)); in scheduleAlarm()
DBrowserContract.java23 import android.content.ContentUris;
324 return ContentUris.withAppendedId(CONTENT_URI_DEFAULT_FOLDER, folderId); in buildFolderUri()
DBrowser.java20 import android.content.ContentUris;
326 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), in updateVisitedHistory()
410 cr.delete(ContentUris.withAppendedId(History.CONTENT_URI, cursor.getLong(0)), in truncateHistory()
DContacts.java22 import android.content.ContentUris;
449 Uri uri = ContentUris.withAppendedId(CONTENT_URI, personId); in markAsContacted()
568 if (addToMyContactsGroup(resolver, ContentUris.parseId(contactUri)) == null) { in createPersonInMyContactsGroup()
1459 long locId = ContentUris.parseId(loc); in addPostalLocation()
1464 resolver.update(ContentUris.withAppendedId(CONTENT_URI, postalId), values, null, null); in addPostalLocation()
DMediaStore.java23 import android.content.ContentUris;
472 thumbUri = ContentUris.withAppendedId(baseUri, thumbId); in getMiniThumbFromFile()
829 long id = ContentUris.parseId(url); in insertImage()
DContactsContract.java24 import android.content.ContentUris;
1502 return ContentUris.withAppendedId(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in getLookupUri()
1524 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1546 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); in markAsContacted()
/frameworks/base/core/java/android/content/
DContentUris.java70 public class ContentUris { class
DContentProviderOperation.java368 backRefValue = ContentUris.parseId(backRef.uri); in backRefToValue()
/frameworks/base/media/java/android/media/
DRingtoneManager.java24 import android.content.ContentUris;
406 return ContentUris.withAppendedId(Uri.parse(cursor.getString(URI_COLUMN_INDEX)), cursor in getUriFromCursor()
436 if (ringtoneUri.equals(ContentUris.withAppendedId(currentUri, cursor in getRingtonePosition()
DMediaScanner.java23 import android.content.ContentUris;
951 rowId = ContentUris.parseId(result);
956 result = ContentUris.withAppendedId(tableUri, rowId);
1010 ContentUris.withAppendedId(uri, rowId).toString());
1743 rowId = ContentUris.parseId(uri);
1746 uri = ContentUris.withAppendedId(mPlaylistsUri, rowId);
DThumbnailUtils.java20 import android.content.ContentUris;
/frameworks/base/core/java/com/google/android/mms/util/
DPduCache.java20 import android.content.ContentUris;
156 purgeByThreadId(ContentUris.parseId(uri)); in purge()
/frameworks/base/core/java/android/app/
DDownloadManager.java20 import android.content.ContentUris;
928 return mResolver.update(ContentUris.withAppendedId(mBaseUri, ids[0]), values, in markRowDeleted()
1006 return ContentUris.withAppendedId(Downloads.Impl.CONTENT_URI, id); in getUriForDownloadedFile()
1200 return ContentUris.withAppendedId(mBaseUri, id); in getDownloadUri()
1281 return ContentUris.withAppendedId(mBaseUri, downloadId).toString(); in getLocalUri()
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduPersister.java30 import android.content.ContentUris;
551 long msgId = ContentUris.parseId(uri); in load()
1050 long msgId = ContentUris.parseId(uri); in updateHeaders()
1179 long msgId = ContentUris.parseId(uri); in updateParts()
1216 msgId = ContentUris.parseId(uri); in persist()
1362 msgId = ContentUris.parseId(res); in persist()
1403 long msgId = ContentUris.parseId(from); in move()
1421 return ContentUris.withAppendedId(to, msgId); in move()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java20 import android.content.ContentUris;
138 assertTrue(ContentUris.parseId(uri) > 0); in testRowNumberContentUri()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java26 import android.content.ContentUris;
114 this.where = "_id=" + ContentUris.parseId(url); in SqlArguments()
151 return ContentUris.withAppendedId(tableUri, rowId); in getUriFor()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java19 import android.content.ContentUris;
322 uri = ContentUris.withAppendedId(uri, 100); in testPathOperations()
326 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd349 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
356 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
365 Uri updateUri = ContentUris.withAppendedId(Calendars.CONTENT_URI, calID);
589 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
595 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}
608 myUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
632 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
888 ContentUris.appendId(builder, startMillis);
889 ContentUris.appendId(builder, endMillis);
1127 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
Dcontent-provider-basics.jd356 {@link android.content.ContentUris} contains convenience methods for appending id values to
357 a URI. The previous snippet uses {@link android.content.ContentUris#withAppendedId(Uri, long)
802 {@link android.content.ContentUris#parseId(Uri) ContentUris.parseId()}.
Dcontent-provider-creating.jd472 Another class, {@link android.content.ContentUris}, provides convenience methods for working
614 {@link android.content.ContentUris#withAppendedId(Uri, long) withAppendedId()}.
/frameworks/base/docs/html/guide/components/
Dfragments.jd601 …Uri noteUri = ContentUris.{@link android.content.ContentUris#withAppendedId withAppendedId}(Articl…
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd739 Uri contentUri = ContentUris.withAppendedId(
/frameworks/base/
Dpreloaded-classes210 android.content.ContentUris

12