Home
last modified time | relevance | path

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

1234

/frameworks/base/media/java/android/media/tv/
DTvContract.java24 import android.content.ContentUris;
129 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
226 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
248 return buildProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildProgramsUriForChannel()
283 return buildProgramsUriForChannel(ContentUris.parseId(channelUri), startTime, endTime); in buildProgramsUriForChannel()
292 return ContentUris.withAppendedId(RecordedPrograms.CONTENT_URI, recordedProgramId); in buildRecordedProgramUri()
302 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, watchedProgramId); in buildWatchedProgramUri()
/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.java20 import android.content.ContentUris;
98 : ContentUris.parseId(uri); in maybeStartManagedQuickContact()
DSyncStateContract.java23 import android.content.ContentUris;
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
DCalendarContract.java27 import android.content.ContentUris;
1754 ContentUris.appendId(builder, begin); in query()
1755 ContentUris.appendId(builder, end); in query()
1783 ContentUris.appendId(builder, begin); in query()
1784 ContentUris.appendId(builder, end); in query()
2037 ContentUris.appendId(builder, startDay); in query()
2038 ContentUris.appendId(builder, endDay); in query()
2393 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()
DContacts.java22 import android.content.ContentUris;
448 Uri uri = ContentUris.withAppendedId(CONTENT_URI, personId); in markAsContacted()
567 if (addToMyContactsGroup(resolver, ContentUris.parseId(contactUri)) == null) { in createPersonInMyContactsGroup()
1458 long locId = ContentUris.parseId(loc); in addPostalLocation()
1463 resolver.update(ContentUris.withAppendedId(CONTENT_URI, postalId), values, null, null); in addPostalLocation()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java24 import android.content.ContentUris;
82 long id = ContentUris.parseId(url); in insertImage()
/frameworks/base/core/java/android/content/
DContentUris.java70 public class ContentUris { class
/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;
116 ContentUris.appendId(uriBuilder, time); in checkEvent()
117 ContentUris.appendId(uriBuilder, time + EVENT_CHECK_LOOKAHEAD); in checkEvent()
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcalendar-provider.jd345 … {@link android.provider.BaseColumns#_ID} を、URI({@link android.content.ContentUris#withAppendedId(…
353 URL に含まれる ID をエンコードすることでも、アップデートを実行できます。この例では、カレンダーの表示名をこの({@link android.content.ContentUris#withA…
365 Uri updateUri = ContentUris.withAppendedId(Calendars.CONTENT_URI, calID);
580 イベントのアップデートを実行する場合は、イベントの <code>_ID</code> を、URI({@link android.content.ContentUris#withAppendedId(…
588 ここでは、{@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()} を使用す…
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcalendar-provider.jd349 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}),
357 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}):</p>
365 Uri updateUri = ContentUris.withAppendedId(Calendars.CONTENT_URI, calID);
583 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}),
590 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}:</p>
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/docs/html-intl/intl/ko/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);
582 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
589 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcalendar-provider.jd347 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}) 或以第一個選擇…
354 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}) 方式變更日曆的…
365 Uri updateUri = ContentUris.withAppendedId(Calendars.CONTENT_URI, calID);
581 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}) 或以第一個選擇項目方式提供。
589 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()} 方式變更活動的標題:
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcalendar-provider.jd347 ID ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}) 或第一个…
355 中编码 ID 来执行更新。下例使用 ({@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppe…
365 Uri updateUri = ContentUris.withAppendedId(Calendars.CONTENT_URI, calID);
582 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
589 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/media/java/android/media/
DRingtoneManager.java23 import android.content.ContentUris;
426 return ContentUris.withAppendedId(Uri.parse(cursor.getString(URI_COLUMN_INDEX)), cursor in getUriFromCursor()
456 if (ringtoneUri.equals(ContentUris.withAppendedId(currentUri, cursor in getRingtonePosition()
DMediaScanner.java21 import android.content.ContentUris;
1016 rowId = ContentUris.parseId(result);
1021 result = ContentUris.withAppendedId(tableUri, rowId);
1075 final Uri ringtoneUri = ContentUris.withAppendedId(uri, rowId);
1846 rowId = ContentUris.parseId(uri);
1849 uri = ContentUris.withAppendedId(mPlaylistsUri, rowId);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DPduCache.java20 import android.content.ContentUris;
156 purgeByThreadId(ContentUris.parseId(uri)); in purge()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java30 import android.content.ContentUris;
559 long msgId = ContentUris.parseId(uri); in load()
1073 long msgId = ContentUris.parseId(uri); in updateHeaders()
1204 long msgId = ContentUris.parseId(uri); in updateParts()
1249 msgId = ContentUris.parseId(uri); in persist()
1435 msgId = ContentUris.parseId(res); in persist()
1526 long msgId = ContentUris.parseId(from); in move()
1544 return ContentUris.withAppendedId(to, msgId); in move()
/frameworks/base/core/java/android/app/
DDownloadManager.java23 import android.content.ContentUris;
1092 return ContentUris.withAppendedId(Downloads.Impl.CONTENT_URI, id);
1428 return ContentUris.withAppendedId(mBaseUri, id);
1522 return ContentUris.withAppendedId(mBaseUri, downloadId).toString();
/frameworks/base/docs/html-intl/intl/in/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);
583 android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()})
589 {@link android.content.ContentUris#withAppendedId(android.net.Uri,long) withAppendedId()}
602 updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
626 deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
882 ContentUris.appendId(builder, startMillis);
883 ContentUris.appendId(builder, endMillis);
1119 Uri uri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java20 import android.content.ContentUris;
199 assertTrue(ContentUris.parseId(uri) > 0); in testRowNumberContentUri()
/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 updateUri = 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 …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java19 import android.content.ContentUris;
324 uri = ContentUris.withAppendedId(uri, 100); in testPathOperations()
328 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()

1234