Home
last modified time | relevance | path

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

123

/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.java444 public static final Uri CONTENT_URI = field in ContactsContract.Directory
619 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
648 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
656 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
664 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
672 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
679 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
702 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
703 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
710 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
[all …]
DBrowser.java238 return cr.query(Bookmarks.CONTENT_URI, in getAllBookmarks()
253 return cr.query(Combined.CONTENT_URI, in getAllVisitedUrls()
297 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, in getVisitedLike()
326 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), in updateVisitedHistory()
346 cr.insert(History.CONTENT_URI, values); in updateVisitedHistory()
368 c = cr.query(History.CONTENT_URI, projection, History.VISITS + " > 0", null, null); in getVisitedHistory()
402 cursor = cr.query(History.CONTENT_URI, in truncateHistory()
410 cr.delete(ContentUris.withAppendedId(History.CONTENT_URI, cursor.getLong(0)), in truncateHistory()
433 cursor = cr.query(History.CONTENT_URI, in canClearHistory()
469 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 …]
DCallLog.java42 public static final Uri CONTENT_URI = field in CallLog
52 public static final Uri CONTENT_URI = field in CallLog.Calls
94 public static final Uri CONTENT_URI_WITH_VOICEMAIL = CONTENT_URI.buildUpon()
358 cursor = resolver.query(Phone.CONTENT_URI, in addCall()
390 Uri result = resolver.insert(CONTENT_URI, values); in addCall()
408 CONTENT_URI, in getLastOutgoingCall()
424 resolver.delete(CONTENT_URI, "_id IN " + in removeExpiredEntries()
DVoicemailContract.java113 public static final Uri CONTENT_URI = field in VoicemailContract.Voicemails
201 return Voicemails.CONTENT_URI.buildUpon() in buildSourceUri()
209 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status"); field in VoicemailContract.Status
312 return Status.CONTENT_URI.buildUpon() in buildSourceUri()
DContacts.java60 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in Contacts
153 public static final Uri CONTENT_URI = field in Contacts.Settings
206 Cursor cursor = cr.query(Settings.CONTENT_URI, new String[]{VALUE}, in getSetting()
231 cr.update(Settings.CONTENT_URI, values, null, null); in setSetting()
354 public static final Uri CONTENT_URI = field in Contacts.People
449 Uri uri = ContentUris.withAppendedId(CONTENT_URI, personId); in markAsContacted()
464 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in tryGetMyContactsGroupId()
510 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in addToGroup()
543 return resolver.insert(GroupMembership.CONTENT_URI, values); in addToGroup()
562 Uri contactUri = resolver.insert(People.CONTENT_URI, values); in createPersonInMyContactsGroup()
[all …]
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()
DDownloads.java89 public static final Uri CONTENT_URI = field in Downloads.Impl
805 context.getContentResolver().delete(Impl.CONTENT_URI, QUERY_WHERE_CLAUSE, in removeAllDownloadsByPackage()
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java277 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
286 return cr.query(CONTENT_URI, projection, where, in query()
293 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
431 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
453 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
473 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
493 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
513 public static final Uri CONTENT_URI = Uri.parse("content://sms/draft"); field in Telephony.Sms.Draft
536 public static final Uri CONTENT_URI = Uri.parse("content://sms/outbox"); field in Telephony.Sms.Outbox
558 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage()
[all …]
/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java401 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal); in onRestore()
404 restoreSettings(data, Settings.Secure.CONTENT_URI, movedToGlobal); in onRestore()
406 restoreSettings(data, Settings.Global.CONTENT_URI, null); in onRestore()
502 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal); in onRestoreFile()
509 restoreSettings(buffer, nBytes, Settings.Secure.CONTENT_URI, movedToGlobal); in onRestoreFile()
518 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, movedToGlobal); in onRestoreFile()
606 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
616 Cursor cursor = getContentResolver().query(Settings.Secure.CONTENT_URI, PROJECTION, null, in getSecureSettings()
626 Cursor cursor = getContentResolver().query(Settings.Global.CONTENT_URI, PROJECTION, null, in getGlobalSettings()
655 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings()
[all …]
/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/chips/src/com/android/ex/chips/
DQueries.java39 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) {
57 }, Email.CONTENT_FILTER_URI, Email.CONTENT_URI) {
/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/testing/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()
DExportTestProvider.java49 entity.addSubValue(Data.CONTENT_URI, contentValues); in MockEntityIterator()
103 TestCase.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority)); in queryEntities()
DImportTestResolver.java37 equalsString(authority, RawContacts.CONTENT_URI.toString()); in applyBatch()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); in testCursorFinalizer()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursor.java39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null); in onCreate()

123