Home
last modified time | relevance | path

Searched refs:CONTENT_URI (Results 1 – 25 of 89) 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.java295 public static final Uri CONTENT_URI = Uri.parse("content://sms-changes"); field
380 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); in query()
390 return cr.query(CONTENT_URI, projection, where, in query()
397 public static final Uri CONTENT_URI = Uri.parse("content://sms"); field in Telephony.Sms
589 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox"); field in Telephony.Sms.Inbox
613 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage()
632 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
652 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent"); field in Telephony.Sms.Sent
674 resolver, CONTENT_URI, address, body, subject, date, true, false); in addMessage()
692 return addMessageToUri(subId, resolver, CONTENT_URI, address, body, in addMessage()
[all …]
DContactsContract.java418 public static final Uri CONTENT_URI = field in ContactsContract.Directory
674 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
709 public static final Uri CONTENT_URI = field in ContactsContract.SyncState
717 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
725 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri()
733 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set()
740 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
763 public static final Uri CONTENT_URI = field in ContactsContract.ProfileSyncState
764 Uri.withAppendedPath(Profile.CONTENT_URI, CONTENT_DIRECTORY);
771 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get()
[all …]
DCalendarContract.java183 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY); field in CalendarContract
570 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.CalendarEntity
770 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars"); field in CalendarContract.Calendars
967 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/attendees"); field in CalendarContract.Attendees
986 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query()
1387 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + field in CalendarContract.EventsEntity
1545 subCursor = mResolver.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1550 subCursor = mProvider.query(Reminders.CONTENT_URI, REMINDERS_PROJECTION, in getEntityAndIncrementCursor()
1560 entity.addSubValue(Reminders.CONTENT_URI, reminderValues); in getEntityAndIncrementCursor()
1567 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
148 public static final Uri CONTENT_URI_WITH_VOICEMAIL = CONTENT_URI.buildUpon()
787 cursor = resolver.query(Phone.CONTENT_URI, in addCall()
935 CONTENT_URI, in getLastOutgoingCall()
956 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
1047 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.java70 Telephony.Carriers.CONTENT_URI, "preferapn");
107 } else if (CarrierId.All.CONTENT_URI.equals(uri)) {
124 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
253 CarrierId.All.CONTENT_URI, in loadCarrierMatchingRulesOnMccMnc()
282 CarrierId.All.CONTENT_URI, in getCarrierNameFromId()
312 CarrierId.All.CONTENT_URI, in getCarrierMatchingRulesFromMccMnc()
345 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "preferapn/subId/" in getPreferApn()
372 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, in isPreferApnUserEdited()
859 Uri.withAppendedPath(CarrierId.All.CONTENT_URI, in getCarrierListVersion()
965 CarrierId.All.CONTENT_URI, in getCarrierIdsFromApnQuery()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java100 cursor = mUserContext.getContentResolver().query(Calendars.CONTENT_URI, projection, in getCalendarsWithAccess()
117 final Uri.Builder uriBuilder = Instances.CONTENT_URI.buildUpon(); in checkEvent()
186 final Cursor cursor = mUserContext.getContentResolver().query(Attendees.CONTENT_URI,
228 cr.registerContentObserver(Instances.CONTENT_URI, true, mObserver, userId);
229 cr.registerContentObserver(Events.CONTENT_URI, true, mObserver, userId);
230 cr.registerContentObserver(Calendars.CONTENT_URI, true, mObserver, userId);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java265 restoreSettings(data, Settings.System.CONTENT_URI, movedToGlobal, in onRestore()
271 restoreSettings(data, Settings.Secure.CONTENT_URI, movedToGlobal, null); in onRestore()
275 restoreSettings(data, Settings.Global.CONTENT_URI, null, movedToSecure); in onRestore()
361 restoreSettings(buffer, nBytes, Settings.System.CONTENT_URI, movedToGlobal, in onRestoreFile()
369 restoreSettings(buffer, nBytes, Settings.Secure.CONTENT_URI, movedToGlobal, null); in onRestoreFile()
378 restoreSettings(buffer, nBytes, Settings.Global.CONTENT_URI, movedToGlobal, in onRestoreFile()
514 Cursor cursor = getContentResolver().query(Settings.System.CONTENT_URI, PROJECTION, null, in getSystemSettings()
524 Cursor cursor = getContentResolver().query(Settings.Secure.CONTENT_URI, PROJECTION, null, in getSecureSettings()
534 Cursor cursor = getContentResolver().query(Settings.Global.CONTENT_URI, PROJECTION, null, in getGlobalSettings()
602 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java156 SubscriptionManager.CONTENT_URI.getAuthority(), in setUp()
306 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimNotReadyDisabledUiccApps()
324 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimRemovedWhileDisablingUiccApps()
625 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
630 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
638 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
674 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
703 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
747 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticUnchanged()
772 SubscriptionManager.CONTENT_URI.getAuthority(), in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
[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/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/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, Settings.Secure.CONTENT_URI, in getSystemLongPressTime()

1234