Home
last modified time | relevance | path

Searched refs:ContentUris (Results 1 – 25 of 28) 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/content/
DContentUris.java25 public class ContentUris { class
DContentProviderOperation.java368 backRefValue = ContentUris.parseId(backRef.uri); in backRefToValue()
/frameworks/base/core/java/android/provider/
DSyncStateContract.java23 import android.content.ContentUris;
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
DCalendarContract.java26 import android.content.ContentUris;
1546 ContentUris.appendId(builder, begin); in query()
1547 ContentUris.appendId(builder, end); in query()
1575 ContentUris.appendId(builder, begin); in query()
1576 ContentUris.appendId(builder, end); in query()
1829 ContentUris.appendId(builder, startDay); in query()
1830 ContentUris.appendId(builder, endDay); in query()
2184 intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime)); in scheduleAlarm()
DBrowserContract.java23 import android.content.ContentUris;
241 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;
453 thumbUri = ContentUris.withAppendedId(baseUri, thumbId); in getMiniThumbFromFile()
810 long id = ContentUris.parseId(url); in insertImage()
DContactsContract.java24 import android.content.ContentUris;
1491 return ContentUris.withAppendedId(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in getLookupUri()
1513 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1531 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); in markAsContacted()
/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;
920 rowId = ContentUris.parseId(result);
925 result = ContentUris.withAppendedId(tableUri, rowId);
970 ContentUris.withAppendedId(uri, rowId).toString());
1157 mMediaProvider.update(ContentUris.withAppendedId(mFilesUri, entry.mRowId),
1167 mMediaProvider.delete(ContentUris.withAppendedId(mFilesUri, entry.mRowId),
1648 rowId = ContentUris.parseId(uri);
1651 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;
141 purgeByThreadId(ContentUris.parseId(uri)); in purge()
/frameworks/base/core/java/android/pim/
DContactsAsyncHelper.java22 import android.content.ContentUris;
150 return ContentUris.withAppendedId(Contacts.CONTENT_URI, in getPhotoUri()
/frameworks/base/core/java/android/app/
DDownloadManager.java20 import android.content.ContentUris;
909 return mResolver.update(ContentUris.withAppendedId(mBaseUri, ids[0]), values, in markRowDeleted()
987 return ContentUris.withAppendedId(Downloads.Impl.CONTENT_URI, id); in getUriForDownloadedFile()
1169 return ContentUris.withAppendedId(mBaseUri, id); in getDownloadUri()
1250 return ContentUris.withAppendedId(mBaseUri, downloadId).toString(); in getLocalUri()
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduPersister.java28 import android.content.ContentUris;
522 long msgId = ContentUris.parseId(uri); in load()
892 long msgId = ContentUris.parseId(uri); in updateHeaders()
1003 long msgId = ContentUris.parseId(uri); in updateParts()
1155 long msgId = ContentUris.parseId(res); in persist()
1192 long msgId = ContentUris.parseId(from); in move()
1210 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.java20 import android.content.ContentUris;
324 uri = ContentUris.withAppendedId(uri, 100); in testPathOperations()
328 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()
/frameworks/base/core/java/android/net/
DDownloads.java20 import android.content.ContentUris;
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd242 <code>{@link android.content.ContentUris#withAppendedId
243 ContentUris.withAppendedId()}</code> and <code>{@link
252 import android.content.ContentUris;
256 // Use the ContentUris method to produce the base URI for the contact with _ID == 23.
257 Uri myPerson = ContentUris.withAppendedId(People.CONTENT_URI, 23);
/frameworks/base/docs/html/guide/topics/fundamentals/
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-classes192 android.content.ContentUris

12