Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/provider/
DBrowserContract.java258 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks"); field in BrowserContract.Bookmarks
309 Uri.withAppendedPath(CONTENT_URI, "folder");
417 public static final Uri CONTENT_URI = field in BrowserContract.Accounts
455 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "history"); field in BrowserContract.History
478 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "searches"); field in BrowserContract.Searches
526 public static final Uri CONTENT_URI = field in BrowserContract.SyncState
534 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
542 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
550 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
557 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
[all …]
DTelephony.java297 public static final Uri CONTENT_URI = Uri.parse("content://sms-changes"); field
394 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
404 return cr.query(CONTENT_URI, projection, where, in query()
411 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
603 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
627 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage()
646 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
666 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
688 resolver, CONTENT_URI, address, body, subject, date, true, false); in addMessage()
706 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
[all …]
DContactsContract.java434 public static final Uri CONTENT_URI = field in ContactsContract.Directory
692 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
727 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
735 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
743 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
751 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
758 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
781 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
782 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
789 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
[all …]
DCalendarContract.java185 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in CalendarContract
572 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.CalendarEntity
772 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars"); field in CalendarContract.Calendars
969 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/attendees"); field in CalendarContract.Attendees
988 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query()
1389 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.EventsEntity
1547 subCursor = mResolver.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1552 subCursor = mProvider.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1562 entity.addSubValue(Reminders.CONTENT_URI, reminderValues); in getEntityAndIncrementCursor()
1569 subCursor = mResolver.query(Attendees.CONTENT_URI, ATTENDEES_PROJECTION, in getEntityAndIncrementCursor()
[all …]
DContacts.java61 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in Contacts
154 public static final Uri CONTENT_URI = field in Contacts.Settings
207 Cursor cursor = cr.query(Settings.CONTENT_URI, new String[]{VALUE}, in getSetting()
232 cr.update(Settings.CONTENT_URI, values, null, null); in setSetting()
356 public static final Uri CONTENT_URI = field in Contacts.People
456 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in tryGetMyContactsGroupId()
502 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in addToGroup()
535 return resolver.insert(GroupMembership.CONTENT_URI, values); in addToGroup()
554 Uri contactUri = resolver.insert(People.CONTENT_URI, values); in createPersonInMyContactsGroup()
572 return resolver.query(GroupMembership.CONTENT_URI, null, "person=?", in queryGroups()
[all …]
DUserDictionary.java43 public static final Uri CONTENT_URI = field in UserDictionary
56 public static final Uri CONTENT_URI = field in UserDictionary.Words
181 Uri result = resolver.insert(CONTENT_URI, values); in addWord()
DVoicemailContract.java168 public static final Uri CONTENT_URI = field in VoicemailContract.Voicemails
396 return Voicemails.CONTENT_URI.buildUpon() in buildSourceUri()
478 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/status"); field in VoicemailContract.Status
697 return Status.CONTENT_URI.buildUpon() in buildSourceUri()
/frameworks/base/telephony/common/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.java51 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2, in getMcc()
77 Cursor c3 = resolver.query(MccSidConflicts.CONTENT_URI, projection3, in getMcc()
112 Cursor c5 = resolver.query(MccSidRange.CONTENT_URI, projection5, in getMcc()
144 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection, in getIddByMcc()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java79 testRowNameContentUri(Settings.Secure.CONTENT_URI, Settings.Secure.NAME, in testRowNameContentUriForSecure()
99 testRowNameContentUri(Settings.System.CONTENT_URI, Settings.System.NAME, in testRowNameContentUriForSystem()
348 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
353 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
358 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
364 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
368 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
373 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig()
388 r.call(Settings.Config.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_deleteConfig()
392 r.call(Settings.Config.CONTENT_URI, in testCall_deleteConfig()
[all …]
DSmsProviderTest.java66 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider()
70 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); in testProvider()
/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/media/java/android/media/tv/
DTvContract.java477 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
535 Uri.Builder builder = Channels.CONTENT_URI.buildUpon(); in buildChannelsUriForInput()
574 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
583 return Programs.CONTENT_URI.buildUpon() in buildProgramsUriForChannel()
642 return ContentUris.withAppendedId(RecordedPrograms.CONTENT_URI, recordedProgramId); in buildRecordedProgramUri()
651 return ContentUris.withAppendedId(PreviewPrograms.CONTENT_URI, previewProgramId); in buildPreviewProgramUri()
660 return PreviewPrograms.CONTENT_URI.buildUpon() in buildPreviewProgramsUriForChannel()
682 return ContentUris.withAppendedId(WatchNextPrograms.CONTENT_URI, watchNextProgramId); in buildWatchNextProgramUri()
692 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, watchedProgramId); in buildWatchedProgramUri()
1691 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" field in TvContract.Channels
[all …]
/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/services/core/java/com/android/server/notification/
DCalendarTracker.java101 cursor = mUserContext.getContentResolver().query(Calendars.CONTENT_URI, projection, in getCalendarsWithAccess()
120 final Uri.Builder uriBuilder = Instances.CONTENT_URI.buildUpon(); in checkEvent()
192 cursor = mUserContext.getContentResolver().query(Attendees.CONTENT_URI,
236 cr.registerContentObserver(Instances.CONTENT_URI, true, mObserver, userId);
237 cr.registerContentObserver(Events.CONTENT_URI, true, mObserver, userId);
238 cr.registerContentObserver(Calendars.CONTENT_URI, true, mObserver, userId);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java299 Settings.Global.CONTENT_URI); in onRestore()
301 Settings.Secure.CONTENT_URI); in onRestore()
303 Settings.System.CONTENT_URI); in onRestore()
326 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal, in onRestore()
334 restoreSettings(data, Settings.Secure.CONTENT_URI, movedToGlobal, in onRestore()
341 restoreSettings(data, Settings.Global.CONTENT_URI, /* movedToGlobal= */ null, in onRestore()
447 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal, in onRestoreFile()
457 restoreSettings(buffer, nBytes, Settings.Secure.CONTENT_URI, movedToGlobal, in onRestoreFile()
468 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, in onRestoreFile()
620 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
[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/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java94 findCursor = mContentResolver.query(Telephony.CarrierColumns.CONTENT_URI, columns, in getCarrierInfoForImsiEncryption()
223 mContentResolver.insert(Telephony.CarrierColumns.CONTENT_URI, contentValues); in updateOrInsertCarrierKey()
233 int nRows = mContentResolver.update(Telephony.CarrierColumns.CONTENT_URI, in updateOrInsertCarrierKey()
334 int count = mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, in deleteCarrierInfoForImsiEncryption()
351 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, null, null); in deleteAllCarrierKeysForImsiEncryption()
DCarrierResolver.java78 Telephony.Carriers.CONTENT_URI, "preferapn");
118 if (Telephony.Carriers.CONTENT_URI.equals(uri)) {
121 } else if (CarrierId.All.CONTENT_URI.equals(uri)) {
185 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
332 CarrierId.All.CONTENT_URI, in loadCarrierMatchingRulesOnMccMnc()
364 CarrierId.All.CONTENT_URI, in getCarrierNameFromId()
394 CarrierId.All.CONTENT_URI, in getCarrierMatchingRulesFromMccMnc()
427 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "preferapn/subId/" in getPreferApn()
454 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, in isPreferApnUserEdited()
970 Uri.withAppendedPath(CarrierId.All.CONTENT_URI, in getCarrierListVersion()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java182 Settings.Config.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, compositeName, args); in putWithContentProvider()
189 Settings.Config.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, compositeName, null); in getFromContentProvider()
198 Settings.Config.CONTENT_URI, in deleteFromContentProvider()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsNumberUtilsTest.java60 if (uri.compareTo(HbpcdLookup.MccIdd.CONTENT_URI) == 0) { in query()
87 } else if (uri.compareTo(HbpcdLookup.MccLookup.CONTENT_URI) == 0) { in query()
124 .addProvider(HbpcdLookup.MccIdd.CONTENT_URI.getAuthority(), mHbpcdContentProvider); in setUp()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java63 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime()
73 resolveCallingPackage(), 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()

12345