Home
last modified time | relevance | path

Searched refs:contentValues (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/java/android/provider/
H A DVoicemailContract.java412 ContentValues contentValues = getContentValues(voicemail); in insert() local
429 ContentValues contentValues = getContentValues(voicemails.get(i)); in insert() local
452 ContentValues contentValues = new ContentValues(); in getContentValues() local
454 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues()
456 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues()
457 contentValues.put(Voicemails.SOURCE_DATA, voicemail.getSourceData()); in getContentValues()
458 contentValues.put(Voicemails.IS_READ, voicemail.isRead() ? 1 : 0); in getContentValues()
462 contentValues.put(Voicemails.PHONE_ACCOUNT_COMPONENT_NAME, in getContentValues()
464 contentValues.put(Voicemails.PHONE_ACCOUNT_ID, phoneAccount.getId()); in getContentValues()
468 contentValues.put(Voicemails.TRANSCRIPTION, voicemail.getTranscription()); in getContentValues()
[all …]
H A DContactsContract.java691 ContentValues contentValues = new ContentValues(); in notifyDirectoryChange() local
692 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
5291 ContentValues contentValues = namedContentValues.values; in queryRawContactEntity() local
5292 String key = contentValues.getAsString(Data.MIMETYPE); in queryRawContactEntity()
5299 contentValuesList.add(contentValues); in queryRawContactEntity()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java164 public void restoreValue(Context context, ContentResolver cr, ContentValues contentValues, in restoreValue() argument
215 contentValues.clear(); in restoreValue()
216 contentValues.put(Settings.NameValueTable.NAME, in restoreValue()
218 contentValues.put(Settings.NameValueTable.VALUE, deviceVendorHint); in restoreValue()
219 cr.insert(destination, contentValues); in restoreValue()
235 contentValues.clear(); in restoreValue()
236 contentValues.put(Settings.NameValueTable.NAME, name); in restoreValue()
237 contentValues.put(Settings.NameValueTable.VALUE, value); in restoreValue()
238 cr.insert(destination, contentValues); in restoreValue()
H A DSettingsBackupAgent.java797 ContentValues contentValues = new ContentValues(2); in restoreSettings() local
886 contentValues.clear(); in restoreSettings()
887 contentValues.put(Settings.NameValueTable.NAME, in restoreSettings()
889 contentValues.put(Settings.NameValueTable.VALUE, value); in restoreSettings()
890 cr.insert(destination, contentValues); in restoreSettings()
898 settingsHelper.restoreValue(this, cr, contentValues, destination, key, value, in restoreSettings()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java201 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() argument
202 final Set<Entry<String, Object>> valueSet = contentValues.valueSet(); in getCursor()
/aosp14/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java558 public InsertCommand(Uri uri, int userId, ContentValues contentValues, Bundle extras) { in InsertCommand() argument
560 mContentValues = contentValues; in InsertCommand()
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsBackupAgentTest.java341 ContentValues contentValues, in restoreValue() argument
/aosp14/frameworks/base/core/java/android/app/
H A DDownloadManager.java857 private void putIfNonNull(ContentValues contentValues, String key, Object value) { in putIfNonNull() argument
859 contentValues.put(key, value.toString()); in putIfNonNull()