Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/tv/
DTvContract.java30 import android.content.ContentUris;
479 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
576 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
598 return buildProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildProgramsUriForChannel()
635 return buildProgramsUriForChannel(ContentUris.parseId(channelUri), startTime, endTime); in buildProgramsUriForChannel()
644 return ContentUris.withAppendedId(RecordedPrograms.CONTENT_URI, recordedProgramId); in buildRecordedProgramUri()
653 return ContentUris.withAppendedId(PreviewPrograms.CONTENT_URI, previewProgramId); in buildPreviewProgramUri()
675 return buildPreviewProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildPreviewProgramsUriForChannel()
684 return ContentUris.withAppendedId(WatchNextPrograms.CONTENT_URI, watchNextProgramId); in buildWatchNextProgramUri()
694 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, watchedProgramId); in buildWatchedProgramUri()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DFakeSatelliteProvider.java19 import android.content.ContentUris;
72 return ContentUris.withAppendedId(Telephony.SatelliteDatagrams.CONTENT_URI, id); in insert()
/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/
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()
DCalendarContract.java31 import android.content.ContentUris;
1920 ContentUris.appendId(builder, begin); in query()
1921 ContentUris.appendId(builder, end); in query()
1949 ContentUris.appendId(builder, begin); in query()
1950 ContentUris.appendId(builder, end); in query()
2263 ContentUris.appendId(builder, startDay); in query()
2264 ContentUris.appendId(builder, endDay); in query()
2620 intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime)); in scheduleAlarm()
DBrowserContract.java24 import android.content.ContentUris;
330 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;
874 fileUri = ContentUris.withAppendedId(uri, id); in getFontFromProvider()
877 fileUri = ContentUris.withAppendedId(fileBaseUri, id); in getFontFromProvider()
DContactsContract.java34 import android.content.ContentUris;
1707 return ContentUris.withAppendedId(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in getLookupUri()
1729 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
/frameworks/base/services/core/java/com/android/server/updates/
DApnDbInstallReceiver.java20 import android.content.ContentUris;
/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/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/base/services/core/java/com/android/server/notification/
DCalendarTracker.java20 import android.content.ContentUris;
121 ContentUris.appendId(uriBuilder, time); in checkEvent()
122 ContentUris.appendId(uriBuilder, time + EVENT_CHECK_LOOKAHEAD); in checkEvent()
/frameworks/base/core/java/android/content/
DContentUris.java74 public class ContentUris { class
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeTelephonyProvider.java19 import android.content.ContentUris;
162 return ContentUris.withAppendedId(Telephony.SimInfo.CONTENT_URI, id); in insert()
/frameworks/base/telephony/common/com/google/android/mms/util/
DPduCache.java21 import android.content.ContentUris;
161 purgeByThreadId(ContentUris.parseId(uri)); in purge()
/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/media/java/android/media/
DRingtoneManager.java30 import android.content.ContentUris;
538 Uri baseUri = ContentUris.removeId(canonicalUri).buildUpon().clearQuery().build(); in getRingtoneUriForRestore()
584 ringtoneUri = ContentUris.withAppendedId(baseUri, cursor.getLong(0)); in getRingtoneUriForRestore()
598 final Uri uri = ContentUris.withAppendedId(Uri.parse(cursor.getString(URI_COLUMN_INDEX)), in getUriFromCursor()
1250 ContentUris.withAppendedId(baseUri, cursor.getLong(0))); in computeDefaultRingtoneUri()
/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/core/java/android/app/
DDownloadManager.java31 import android.content.ContentUris;
1208 return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in getUriForDownloadedFile()
1649 return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in getDownloadUri()
1755 …return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, downloadId).toString(); in getLocalUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java24 import android.content.ContentUris;
393 resultUri = ContentUris.withAppendedId(uriWithUserId,
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java19 import android.content.ContentUris;
365 uri = ContentUris.withAppendedId(uri, 100); in testPathOperations()
369 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()
/frameworks/base/ravenwood/texts/
Dravenwood-annotation-allowed-classes.txt193 android.content.ContentUris

12