Home
last modified time | relevance | path

Searched refs:CONTENT_URI (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/provider/
DBrowserContract.java254 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks"); field in BrowserContract.Bookmarks
304 Uri.withAppendedPath(CONTENT_URI, "folder");
410 public static final Uri CONTENT_URI = field in BrowserContract.Accounts
447 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "history"); field in BrowserContract.History
470 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "searches"); field in BrowserContract.Searches
518 public static final Uri CONTENT_URI = field in BrowserContract.SyncState
526 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
534 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
542 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
549 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
[all …]
DContactsContract.java387 public static final Uri CONTENT_URI = field in ContactsContract.Directory
562 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
591 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
599 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
607 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
615 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
622 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
645 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
646 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
653 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
[all …]
DBrowser.java239 return cr.query(Bookmarks.CONTENT_URI, in getAllBookmarks()
254 return cr.query(Combined.CONTENT_URI, in getAllVisitedUrls()
298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, in getVisitedLike()
327 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), in updateVisitedHistory()
347 cr.insert(History.CONTENT_URI, values); in updateVisitedHistory()
369 c = cr.query(History.CONTENT_URI, projection, History.VISITS + " > 0", null, null); in getVisitedHistory()
403 cursor = cr.query(History.CONTENT_URI, in truncateHistory()
410 cr.delete(ContentUris.withAppendedId(History.CONTENT_URI, cursor.getLong(0)), in truncateHistory()
432 cursor = cr.query(History.CONTENT_URI, in canClearHistory()
468 cursor = cr.query(History.CONTENT_URI, new String[] { History.URL }, whereClause, in deleteHistoryWhere()
[all …]
DCalendarContract.java163 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in CalendarContract
493 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.CalendarEntity
693 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars"); field in CalendarContract.Calendars
856 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/attendees"); field in CalendarContract.Attendees
875 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query()
1276 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.EventsEntity
1434 subCursor = mResolver.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1439 subCursor = mProvider.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1449 entity.addSubValue(Reminders.CONTENT_URI, reminderValues); in getEntityAndIncrementCursor()
1456 subCursor = mResolver.query(Attendees.CONTENT_URI, ATTENDEES_PROJECTION, in getEntityAndIncrementCursor()
[all …]
DVoicemailContract.java113 public static final Uri CONTENT_URI = field in VoicemailContract.Voicemails
207 return Voicemails.CONTENT_URI.buildUpon() in buildSourceUri()
215 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status"); field in VoicemailContract.Status
318 return Status.CONTENT_URI.buildUpon() in buildSourceUri()
DContacts.java59 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in Contacts
152 public static final Uri CONTENT_URI = field in Contacts.Settings
205 Cursor cursor = cr.query(Settings.CONTENT_URI, new String[]{VALUE}, in getSetting()
230 cr.update(Settings.CONTENT_URI, values, null, null); in setSetting()
353 public static final Uri CONTENT_URI = field in Contacts.People
448 Uri uri = ContentUris.withAppendedId(CONTENT_URI, personId); in markAsContacted()
463 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in tryGetMyContactsGroupId()
509 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in addToGroup()
542 return resolver.insert(GroupMembership.CONTENT_URI, values); in addToGroup()
561 Uri contactUri = resolver.insert(People.CONTENT_URI, values); in createPersonInMyContactsGroup()
[all …]
DCallLog.java54 public static final Uri CONTENT_URI = field in CallLog
64 public static final Uri CONTENT_URI = field in CallLog.Calls
127 public static final Uri CONTENT_URI_WITH_VOICEMAIL = CONTENT_URI.buildUpon()
488 cursor = resolver.query(Phone.CONTENT_URI, in addCall()
540 ContentProvider.maybeAddUserId(CONTENT_URI, user.id), values); in addCall()
547 result = addEntryAndRemoveExpiredEntries(context, CONTENT_URI, values); in addCall()
564 CONTENT_URI, in getLastOutgoingCall()
617 resolver.update(Data.CONTENT_URI, values, Data._ID + "=?", new String[] {dataId}); in updateNormalizedNumber()
DUserDictionary.java40 public static final Uri CONTENT_URI = field in UserDictionary
53 public static final Uri CONTENT_URI = field in UserDictionary.Words
178 Uri result = resolver.insert(CONTENT_URI, values); in addWord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHbpcdLookup.java28 public static final Uri CONTENT_URI = field in HbpcdLookup
46 public static final Uri CONTENT_URI = field in HbpcdLookup.MccIdd
59 public static final Uri CONTENT_URI = field in HbpcdLookup.MccLookup
79 public static final Uri CONTENT_URI = field in HbpcdLookup.MccSidConflicts
92 public static final Uri CONTENT_URI = field in HbpcdLookup.MccSidRange
105 public static final Uri CONTENT_URI = field in HbpcdLookup.ArbitraryMccSidMatch
118 public static final Uri CONTENT_URI = field in HbpcdLookup.NanpAreaCode
DHbpcdUtils.java52 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2, in getMcc()
78 Cursor c3 = resolver.query(MccSidConflicts.CONTENT_URI, projection3, in getMcc()
110 Cursor c5 = resolver.query(MccSidRange.CONTENT_URI, projection5, in getMcc()
142 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection, in getIddByMcc()
DSubscriptionController.java319 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI, in getSubInfo()
540 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI, in getAllSubInfoCount()
604 Cursor cursor = resolver.query(SubscriptionManager.CONTENT_URI, in addSubInfoRecord()
620 Uri uri = resolver.insert(SubscriptionManager.CONTENT_URI, value); in addSubInfoRecord()
637 resolver.update(SubscriptionManager.CONTENT_URI, value, in addSubInfoRecord()
650 cursor = resolver.query(SubscriptionManager.CONTENT_URI, null, in addSubInfoRecord()
728 SubscriptionManager.CONTENT_URI.getAuthority(), 0) == null || in setPlmnSpn()
772 int result = mContext.getContentResolver().update(SubscriptionManager.CONTENT_URI, value, in setCarrierText()
795 int result = mContext.getContentResolver().update(SubscriptionManager.CONTENT_URI, value, in setIconTint()
844 int result = mContext.getContentResolver().update(SubscriptionManager.CONTENT_URI, value, in setDisplayNameUsingSrc()
[all …]
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java301 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
310 return cr.query(CONTENT_URI, projection, where, in query()
317 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
503 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
526 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage()
544 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
564 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
585 resolver, CONTENT_URI, address, body, subject, date, true, false); in addMessage()
602 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
622 public static final Uri CONTENT_URI = Uri.parse("content://sms/draft"); field in Telephony.Sms.Draft
[all …]
/frameworks/base/media/java/android/media/tv/
DTvContract.java118 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
175 Uri.Builder builder = Channels.CONTENT_URI.buildUpon(); in buildChannelsUriForInput()
214 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
223 return Programs.CONTENT_URI.buildUpon() in buildProgramsUriForChannel()
281 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, watchedProgramId); in buildWatchedProgramUri()
351 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" field in TvContract.Channels
795 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" field in TvContract.Programs
1153 public static final Uri CONTENT_URI = field in TvContract.WatchedPrograms
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
DPhotoContract.java40 public static final String CONTENT_URI = "contentUri"; field
63 PhotoViewColumns.CONTENT_URI,
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerDataHelper.java76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, in writeEntry()
98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, in deleteAll()
112 TrackerProvider.CONTENT_URI, TrackerEntry.ATTRIBUTES, in query()
DTrackerListHelper.java50 Cursor cursor = mActivity.managedQuery(TrackerProvider.CONTENT_URI, in bindListUI()
56 TrackerProvider.CONTENT_URI); in bindListUI()
DTrackerProvider.java37 public static final Uri CONTENT_URI = Uri field in TrackerProvider
103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId); in insert()
/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java63 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider()
67 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); in testProvider()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java57 Uri.withAppendedPath(Data.CONTENT_URI, "usagefeedback");
120 final Cursor cursor = mResolver.query(Email.CONTENT_URI, in updateWithAddress()
170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI, in updateWithPhoneNumber()
248 if (mResolver.update(ContactsContract.Contacts.CONTENT_URI, values, in update()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java483 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal); in onRestore()
486 restoreSettings(data, Settings.Secure.CONTENT_URI, movedToGlobal); in onRestore()
488 restoreSettings(data, Settings.Global.CONTENT_URI, null); in onRestore()
588 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal); in onRestoreFile()
595 restoreSettings(buffer, nBytes, Settings.Secure.CONTENT_URI, movedToGlobal); in onRestoreFile()
604 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, movedToGlobal); in onRestoreFile()
692 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
702 Cursor cursor = getContentResolver().query(Settings.Secure.CONTENT_URI, PROJECTION, null, in getSecureSettings()
712 Cursor cursor = getContentResolver().query(Settings.Global.CONTENT_URI, PROJECTION, null, in getGlobalSettings()
741 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DQueries.java42 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) {
62 }, Email.CONTENT_FILTER_URI, Email.CONTENT_URI) {
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java60 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime()
69 cursor = provider.query(null, Settings.Secure.CONTENT_URI, in getSystemLongPressTime()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java68 Uri uri = Uri.withAppendedPath(RawContacts.CONTENT_URI, String.valueOf(i)); in applyBatch()
82 if (uri.equals(RawContacts.CONTENT_URI)) { in applyBatch()
85 } else if (uri.equals(Data.CONTENT_URI)) { in applyBatch()
DExportTestResolver.java27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider); in ExportTestResolver()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); in testCursorFinalizer()

1234