Home
last modified time | relevance | path

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

1234

/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.java296 public static final Uri CONTENT_URI = Uri.parse("content://sms-changes"); field
393 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
403 return cr.query(CONTENT_URI, projection, where, in query()
410 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
602 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
626 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage()
645 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
665 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
687 resolver, CONTENT_URI, address, body, subject, date, true, false); in addMessage()
705 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
[all …]
DContactsContract.java430 public static final Uri CONTENT_URI = field in ContactsContract.Directory
686 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
721 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
729 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
737 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
745 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
752 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
775 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
776 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
783 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(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
352 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_putAndGetConfig()
356 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
361 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_putAndGetConfig()
364 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
368 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, name, null); in testCall_putAndGetConfig()
382 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_deleteConfig()
386 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); 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/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()
1672 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" field in TvContract.Channels
[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/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.java293 Settings.Global.CONTENT_URI); in onRestore()
295 Settings.Secure.CONTENT_URI); in onRestore()
297 Settings.System.CONTENT_URI); in onRestore()
320 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal, in onRestore()
330 Settings.Secure.CONTENT_URI, in onRestore()
341 Settings.Global.CONTENT_URI, in onRestore()
448 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal, in onRestoreFile()
460 Settings.Secure.CONTENT_URI, in onRestoreFile()
473 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, movedToGlobal, in onRestoreFile()
610 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java92 findCursor = mContentResolver.query(Telephony.CarrierColumns.CONTENT_URI, columns, in getCarrierInfoForImsiEncryption()
191 mContentResolver.insert(Telephony.CarrierColumns.CONTENT_URI, contentValues); in updateOrInsertCarrierKey()
201 int nRows = mContentResolver.update(Telephony.CarrierColumns.CONTENT_URI, in updateOrInsertCarrierKey()
291 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, whereArgs); in deleteCarrierInfoForImsiEncryption()
305 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, null, null); in deleteAllCarrierKeysForImsiEncryption()
DCarrierResolver.java75 Telephony.Carriers.CONTENT_URI, "preferapn");
115 if (Telephony.Carriers.CONTENT_URI.equals(uri)) {
118 } else if (CarrierId.All.CONTENT_URI.equals(uri)) {
182 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
319 CarrierId.All.CONTENT_URI, in loadCarrierMatchingRulesOnMccMnc()
351 CarrierId.All.CONTENT_URI, in getCarrierNameFromId()
381 CarrierId.All.CONTENT_URI, in getCarrierMatchingRulesFromMccMnc()
414 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "preferapn/subId/" in getPreferApn()
441 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, in isPreferApnUserEdited()
955 Uri.withAppendedPath(CarrierId.All.CONTENT_URI, in getCarrierListVersion()
[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/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()
DSubscriptionInfoUpdaterTest.java157 SubscriptionManager.CONTENT_URI.getAuthority(), in setUp()
307 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimNotReadyDisabledUiccApps()
325 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimRemovedWhileDisablingUiccApps()
626 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
631 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
639 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
675 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
704 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
748 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticUnchanged()
774 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java183 DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, compositeName, args); in putWithContentProvider()
190 DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, compositeName, null); in getFromContentProvider()
199 DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, compositeName, null); in deleteFromContentProvider()
/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()

1234