Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/provider/
DBrowserContract.java257 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "bookmarks"); field in BrowserContract.Bookmarks
308 Uri.withAppendedPath(CONTENT_URI, "folder");
416 public static final Uri CONTENT_URI = field in BrowserContract.Accounts
454 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "history"); field in BrowserContract.History
477 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "searches"); field in BrowserContract.Searches
525 public static final Uri CONTENT_URI = field in BrowserContract.SyncState
533 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
541 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
549 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
556 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
381 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
391 return cr.query(CONTENT_URI, projection, where, in query()
398 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
590 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
614 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage()
633 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
653 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
675 resolver, CONTENT_URI, address, body, subject, date, true, false); in addMessage()
693 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
[all …]
DContactsContract.java421 public static final Uri CONTENT_URI = field in ContactsContract.Directory
677 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
712 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
720 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
728 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
736 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
743 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
766 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
767 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
774 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
[all …]
DCalendarContract.java184 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in CalendarContract
571 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.CalendarEntity
771 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars"); field in CalendarContract.Calendars
968 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/attendees"); field in CalendarContract.Attendees
987 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query()
1388 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.EventsEntity
1546 subCursor = mResolver.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1551 subCursor = mProvider.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1561 entity.addSubValue(Reminders.CONTENT_URI, reminderValues); in getEntityAndIncrementCursor()
1568 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()
DCallLog.java60 public static final Uri CONTENT_URI = field in CallLog
81 public static final Uri CONTENT_URI = field in CallLog.Calls
104 private static final Uri CONTENT_URI_LIMIT_1 = CONTENT_URI.buildUpon()
155 public static final Uri CONTENT_URI_WITH_VOICEMAIL = CONTENT_URI.buildUpon()
794 cursor = resolver.query(Phone.CONTENT_URI, in addCall()
963 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
1054 resolver.update(Data.CONTENT_URI, values, Data._ID + "=?", new String[] {dataId}); in updateNormalizedNumber()
/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()
404 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
408 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_putAndGetConfig()
412 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
417 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_putAndGetConfig()
420 results = r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_GET_CONFIG, name, null); in testCall_putAndGetConfig()
424 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, name, null); in testCall_putAndGetConfig()
438 r.call(DeviceConfig.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_deleteConfig()
442 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/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()
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
DPhotoContract.java40 public static final String CONTENT_URI = "contentUri"; field
63 PhotoViewColumns.CONTENT_URI,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java81 findCursor = mContentResolver.query(Telephony.CarrierColumns.CONTENT_URI, columns, in getCarrierInfoForImsiEncryption()
133 mContentResolver.insert(Telephony.CarrierColumns.CONTENT_URI, contentValues); in updateOrInsertCarrierKey()
143 int nRows = mContentResolver.update(Telephony.CarrierColumns.CONTENT_URI, in updateOrInsertCarrierKey()
227 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, whereArgs); in deleteCarrierInfoForImsiEncryption()
241 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, null, null); in deleteAllCarrierKeysForImsiEncryption()
DCarrierResolver.java19 import static android.provider.Telephony.Carriers.CONTENT_URI;
71 Telephony.Carriers.CONTENT_URI, "preferapn");
105 if (Telephony.Carriers.CONTENT_URI.equals(uri)) {
108 } else if (CarrierId.All.CONTENT_URI.equals(uri)) {
125 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
254 CarrierId.All.CONTENT_URI, in loadCarrierMatchingRulesOnMccMnc()
283 CarrierId.All.CONTENT_URI, in getCarrierNameFromId()
313 CarrierId.All.CONTENT_URI, in getCarrierMatchingRulesFromMccMnc()
346 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "preferapn/subId/" in getPreferApn()
373 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, in isPreferApnUserEdited()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java285 Settings.Global.CONTENT_URI); in onRestore()
287 Settings.Secure.CONTENT_URI); in onRestore()
289 Settings.System.CONTENT_URI); in onRestore()
312 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal, in onRestore()
322 Settings.Secure.CONTENT_URI, in onRestore()
333 Settings.Global.CONTENT_URI, in onRestore()
434 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal, in onRestoreFile()
446 Settings.Secure.CONTENT_URI, in onRestoreFile()
459 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, movedToGlobal, in onRestoreFile()
596 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
[all …]
/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/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/
DSubscriptionInfoUpdaterTest.java158 SubscriptionManager.CONTENT_URI.getAuthority(), in setUp()
308 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimNotReadyDisabledUiccApps()
600 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
605 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
613 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
649 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
678 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
722 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticUnchanged()
748 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
781 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticAddToGroup()
[all …]
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/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.java61 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime()
70 cursor = provider.query(null, null, Settings.Secure.CONTENT_URI, in getSystemLongPressTime()

1234