Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/tv/
DTvContract.java29 import android.content.ContentUris;
477 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
574 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
596 return buildProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildProgramsUriForChannel()
633 return buildProgramsUriForChannel(ContentUris.parseId(channelUri), startTime, endTime); in buildProgramsUriForChannel()
642 return ContentUris.withAppendedId(RecordedPrograms.CONTENT_URI, recordedProgramId); in buildRecordedProgramUri()
651 return ContentUris.withAppendedId(PreviewPrograms.CONTENT_URI, previewProgramId); in buildPreviewProgramUri()
673 return buildPreviewProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildPreviewProgramsUriForChannel()
682 return ContentUris.withAppendedId(WatchNextPrograms.CONTENT_URI, watchNextProgramId); in buildWatchNextProgramUri()
692 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, watchedProgramId); in buildWatchedProgramUri()
/frameworks/base/core/java/android/provider/
DContactsInternal.java21 import android.content.ContentUris;
99 : ContentUris.parseId(uri); in maybeStartManagedQuickContact()
DSyncStateContract.java23 import android.content.ContentUris;
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
DMediaStore.java36 import android.content.ContentUris;
1249 return ContentUris.withAppendedId(getContentUri(volumeName), rowId); in getContentUri()
1268 return ContentUris.withAppendedId(getMtpObjectsUri(volumeName), fileId); in getMtpObjectsUri()
1475 return ContentUris.withAppendedId(getContentUri(volumeName), id); in getContentUri()
1800 return ContentUris.withAppendedId(getContentUri(volumeName), id); in getContentUri()
1889 final Uri uri = ContentUris.withAppendedId( in cancelThumbnailRequest()
1912 final Uri uri = ContentUris.withAppendedId( in getThumbnail()
2287 return ContentUris.withAppendedId(getContentUri(volumeName), id); in getContentUri()
2387 return ContentUris.withAppendedId(Audio.Media.getContentUri(volumeName), audioId) in getContentUriForAudioId()
2425 return ContentUris in getContentUri()
[all …]
DCalendarContract.java31 import android.content.ContentUris;
1918 ContentUris.appendId(builder, begin); in query()
1919 ContentUris.appendId(builder, end); in query()
1947 ContentUris.appendId(builder, begin); in query()
1948 ContentUris.appendId(builder, end); in query()
2261 ContentUris.appendId(builder, startDay); in query()
2262 ContentUris.appendId(builder, endDay); in query()
2618 intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime)); in scheduleAlarm()
DBrowserContract.java24 import android.content.ContentUris;
329 return ContentUris.withAppendedId(CONTENT_URI_DEFAULT_FOLDER, folderId); in buildFolderUri()
DContacts.java24 import android.content.ContentUris;
560 if (addToMyContactsGroup(resolver, ContentUris.parseId(contactUri)) == null) { in createPersonInMyContactsGroup()
1452 long locId = ContentUris.parseId(loc); in addPostalLocation()
1457 resolver.update(ContentUris.withAppendedId(CONTENT_URI, postalId), values, null, null); in addPostalLocation()
DFontsContract.java23 import android.content.ContentUris;
843 fileUri = ContentUris.withAppendedId(uri, id); in getFontFromProvider()
846 fileUri = ContentUris.withAppendedId(fileBaseUri, id); in getFontFromProvider()
/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/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java24 import android.content.ContentUris;
82 long id = ContentUris.parseId(url); in insertImage()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java24 import android.content.ContentUris;
82 long id = ContentUris.parseId(url); in insertImage()
/frameworks/base/services/core/java/com/android/server/updates/
DApnDbInstallReceiver.java20 import android.content.ContentUris;
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java20 import android.content.ContentUris;
118 ContentUris.appendId(uriBuilder, time); in checkEvent()
119 ContentUris.appendId(uriBuilder, time + EVENT_CHECK_LOOKAHEAD); in checkEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeTelephonyProvider.java19 import android.content.ContentUris;
139 return ContentUris.withAppendedId(Telephony.SimInfo.CONTENT_URI, id); in insert()
/frameworks/base/core/java/android/content/
DContentUris.java73 public class ContentUris { class
DContentProviderOperation.java475 backRefValue = ContentUris.parseId(backRef.uri); in backRefToValue()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java22 import android.content.ContentUris;
216 final int id = (int)ContentUris.parseId(uri); in openFile()
DSettingsProviderTest.java24 import android.content.ContentUris;
208 assertTrue(ContentUris.parseId(uri) > 0); in testRowNumberContentUri()
/frameworks/base/telephony/common/com/google/android/mms/util/
DPduCache.java21 import android.content.ContentUris;
161 purgeByThreadId(ContentUris.parseId(uri)); in purge()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java22 import android.content.ContentUris;
570 long msgId = ContentUris.parseId(uri); in load()
1034 long msgId = ContentUris.parseId(uri); in updateHeaders()
1167 long msgId = ContentUris.parseId(uri); in updateParts()
1213 msgId = ContentUris.parseId(uri); in persist()
1399 msgId = ContentUris.parseId(res); in persist()
1493 long msgId = ContentUris.parseId(from); in move()
1511 return ContentUris.withAppendedId(to, msgId); in move()
/frameworks/base/media/java/android/media/
DRingtoneManager.java30 import android.content.ContentUris;
500 final Uri uri = ContentUris.withAppendedId(Uri.parse(cursor.getString(URI_COLUMN_INDEX)), in getUriFromCursor()
514 final long ringtoneId = ContentUris.parseId(ringtoneUri); in getRingtonePosition()
DMediaScanner.java22 import android.content.ContentUris;
1132 rowId = ContentUris.parseId(result);
1137 result = ContentUris.withAppendedId(tableUri, rowId);
1147 mMediaProvider.update(ContentUris.withAppendedId(mFilesUri, rowId),
1187 final Uri ringtoneUri = ContentUris.withAppendedId(uri, rowId);
1919 rowId = ContentUris.parseId(uri);
1922 uri = ContentUris.withAppendedId(mPlaylistsUri, rowId);
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java23 import android.content.ContentUris;
238 ContentUris.appendId(builder, parsedTime.toEpochMilli()); in createCalendarViewIntent()
/frameworks/base/core/java/android/app/
DDownloadManager.java28 import android.content.ContentUris;
1164 return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
1552 return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
1658 …return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, downloadId).toString();
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java19 import android.content.ContentUris;
338 uri = ContentUris.withAppendedId(uri, 100); in testPathOperations()
342 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()

12