/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsMessageStoreUtil.java | 107 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() local 108 contentValues.put(valueColumn, value); in updateValueOfProviderUri() 109 performUpdate(uri, contentValues, errorMessage); in updateValueOfProviderUri() 114 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() local 115 contentValues.put(valueColumn, value); in updateValueOfProviderUri() 116 performUpdate(uri, contentValues, errorMessage); in updateValueOfProviderUri() 121 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() local 122 contentValues.put(valueColumn, value); in updateValueOfProviderUri() 123 performUpdate(uri, contentValues, errorMessage); in updateValueOfProviderUri() 128 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() local [all …]
|
D | RcsMessageQueryHelper.java | 110 void createContentValuesForGenericMessage(ContentValues contentValues, int threadId, in createContentValuesForGenericMessage() argument 112 contentValues.put(GLOBAL_ID_COLUMN, rcsMessageCreationParams.getRcsMessageGlobalId()); in createContentValuesForGenericMessage() 113 contentValues.put(SUB_ID_COLUMN, rcsMessageCreationParams.getSubId()); in createContentValuesForGenericMessage() 114 contentValues.put(STATUS_COLUMN, rcsMessageCreationParams.getMessageStatus()); in createContentValuesForGenericMessage() 115 contentValues.put(ORIGINATION_TIMESTAMP_COLUMN, in createContentValuesForGenericMessage() 117 contentValues.put(RCS_THREAD_ID_COLUMN, threadId); in createContentValuesForGenericMessage() 183 ContentValues contentValues = new ContentValues(); in getContentValuesForFileTransfer() local 184 contentValues.put(SESSION_ID_COLUMN, in getContentValuesForFileTransfer() 186 contentValues.put(CONTENT_URI_COLUMN, in getContentValuesForFileTransfer() 188 contentValues.put(CONTENT_TYPE_COLUMN, fileTransferCreationParameters.getContentMimeType()); in getContentValuesForFileTransfer() [all …]
|
D | RcsThreadQueryHelper.java | 94 ContentValues contentValues = new ContentValues(1); in create1To1Thread() local 95 contentValues.put(RCS_PARTICIPANT_ID_COLUMN, participantId); in create1To1Thread() 96 Uri insertionUri = mContentResolver.insert(RCS_1_TO_1_THREAD_URI, contentValues); in create1To1Thread() 114 ContentValues contentValues = new ContentValues(1); in createGroupThread() local 115 contentValues.put(GROUP_NAME_COLUMN, groupName); in createGroupThread() 117 contentValues.put(GROUP_ICON_COLUMN, groupIcon.toString()); in createGroupThread() 121 contentValues); in createGroupThread()
|
D | RcsMessageStoreController.java | 330 ContentValues contentValues = new ContentValues(); 339 contentValues.put(CANONICAL_ADDRESS_ID_COLUMN, canonicalAddressId); 340 contentValues.put(RCS_ALIAS_COLUMN, alias); 343 Uri newParticipantUri = mContentResolver.insert(RCS_PARTICIPANT_URI, contentValues); 497 ContentValues contentValues = new ContentValues(2); 498 contentValues.put(RCS_THREAD_ID_COLUMN, rcsThreadId); 499 contentValues.put(RCS_PARTICIPANT_ID_COLUMN, participantId); 501 mContentResolver.insert(getAllParticipantsInThreadUri(rcsThreadId), contentValues); 519 ContentValues contentValues = new ContentValues(); 521 contentValues.put(ARRIVAL_TIMESTAMP_COLUMN, [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardBuilder.java | 205 private boolean containsNonEmptyName(final ContentValues contentValues) { in containsNonEmptyName() argument 206 final String familyName = contentValues.getAsString(StructuredName.FAMILY_NAME); in containsNonEmptyName() 207 final String middleName = contentValues.getAsString(StructuredName.MIDDLE_NAME); in containsNonEmptyName() 208 final String givenName = contentValues.getAsString(StructuredName.GIVEN_NAME); in containsNonEmptyName() 209 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in containsNonEmptyName() 210 final String suffix = contentValues.getAsString(StructuredName.SUFFIX); in containsNonEmptyName() 212 contentValues.getAsString(StructuredName.PHONETIC_FAMILY_NAME); in containsNonEmptyName() 214 contentValues.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in containsNonEmptyName() 216 contentValues.getAsString(StructuredName.PHONETIC_GIVEN_NAME); in containsNonEmptyName() 217 final String displayName = contentValues.getAsString(StructuredName.DISPLAY_NAME); in containsNonEmptyName() [all …]
|
D | VCardComposer.java | 552 ContentValues contentValues = namedContentValues.values; in createOneEntryInternal() local 553 String key = contentValues.getAsString(Data.MIMETYPE); in createOneEntryInternal() 561 contentValuesList.add(contentValues); in createOneEntryInternal()
|
/frameworks/base/core/java/android/provider/ |
D | VoicemailContract.java | 412 ContentValues contentValues = getContentValues(voicemail); in insert() local 413 return contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() 429 ContentValues contentValues = getContentValues(voicemails.get(i)); in insert() local 430 contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() local 452 ContentValues contentValues = new ContentValues(); in getContentValues() local 453 contentValues.put(Voicemails.DATE, String.valueOf(voicemail.getTimestampMillis())); in getContentValues() 454 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues() 455 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues() 456 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues() 457 contentValues.put(Voicemails.SOURCE_DATA, voicemail.getSourceData()); in getContentValues() [all …]
|
D | ContactsContract.java | 672 ContentValues contentValues = new ContentValues(); in notifyDirectoryChange() local 673 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | RcsMessageStoreControllerTest.java | 128 ContentValues contentValues = new ContentValues(1); in testUpdateRcsParticipantAlias() local 129 contentValues.put("rcs_alias", "New Alias"); in testUpdateRcsParticipantAlias() 131 Uri.parse("content://rcs/participant/551"), null, null, contentValues, 0)); in testUpdateRcsParticipantAlias() 142 ContentValues contentValues = new ContentValues(1); in testSet1To1ThreadFallbackThreadId() local 143 contentValues.put(FALLBACK_THREAD_ID_COLUMN, 456L); in testSet1To1ThreadFallbackThreadId() 145 Uri.parse("content://rcs/p2p_thread/123"), null, null, contentValues, 0)); in testSet1To1ThreadFallbackThreadId() 155 ContentValues contentValues = new ContentValues(1); in testSetGroupThreadName() local 156 contentValues.put(GROUP_NAME_COLUMN, "new name"); in testSetGroupThreadName() 158 Uri.parse("content://rcs/group_thread/345"), null, null, contentValues, 0)); in testSetGroupThreadName() 169 ContentValues contentValues = new ContentValues(1); in testSetGroupThreadIcon() local [all …]
|
D | FakeProviderWithAsserts.java | 64 ExpectedInsert(Uri uri, ContentValues contentValues, Uri returnValue) { in ExpectedInsert() argument 66 mContentValues = contentValues; in ExpectedInsert() 79 ContentValues contentValues, int returnValue) { in ExpectedUpdate() argument 83 mContentValues = contentValues; in ExpectedUpdate() 114 public Uri insert(Uri uri, ContentValues contentValues) { in insert() argument 117 assertThatContentValuesAreEquivalent(contentValues, expectedInsert.mContentValues); in insert() 122 public int update(Uri uri, ContentValues contentValues, String whereClause, in update() argument 126 assertThatContentValuesAreEquivalent(contentValues, expectedUpdate.mContentValues); in update()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContactEntry.java | 34 ContentValues contentValues = new ContentValues(); in addContentValues() local 35 contentValues.put(Data.MIMETYPE, mimeType); in addContentValues() 36 mContentValuesList.add(contentValues); in addContentValues() 37 return new ContentValuesBuilder(contentValues); in addContentValues()
|
D | ContentValuesVerifierElem.java | 36 ContentValues contentValues = new ContentValues(); in addExpected() local 37 contentValues.put(Data.MIMETYPE, mimeType); in addExpected() 38 mResolver.addExpectedContentValues(contentValues); in addExpected() 39 return new ContentValuesBuilder(contentValues); in addExpected()
|
D | PropertyNodesVerifierElem.java | 67 String propName, String propValue, ContentValues contentValues) { in addExpectedNodeWithOrder() argument 69 null, contentValues, null, null); in addExpectedNodeWithOrder() 73 String propName, List<String> propValueList, ContentValues contentValues) { in addExpectedNodeWithOrder() argument 75 null, contentValues, null, null); in addExpectedNodeWithOrder() 152 ContentValues contentValues) { in addExpectedNode() argument 153 return addExpectedNode(propName, propValue, null, null, contentValues, null, null); in addExpectedNode() 157 List<String> propValueList, ContentValues contentValues) { in addExpectedNode() argument 159 propValueList, null, contentValues, null, null); in addExpectedNode()
|
D | ContentValuesBuilder.java | 27 public ContentValuesBuilder(final ContentValues contentValues) { in ContentValuesBuilder() argument 28 mContentValues = contentValues; in ContentValuesBuilder()
|
D | ImportTestProvider.java | 74 ContentValues contentValues = operation.resolveValueBackReferences( in applyBatch() local 177 private String convertToEasilyReadableString(ContentValues contentValues) { in convertToEasilyReadableString() argument 178 if (contentValues == null) { in convertToEasilyReadableString() 183 for (Entry<String, Object> entry : contentValues.valueSet()) { in convertToEasilyReadableString()
|
D | ExportTestProvider.java | 48 for (ContentValues contentValues : contentValuesList) { in MockEntityIterator() 49 entity.addSubValue(Data.CONTENT_URI, contentValues); in MockEntityIterator()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 121 ContentValues contentValues = new ContentValues(); in updateOrInsertCarrierKey() local 122 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey() 123 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey() 124 contentValues.put(Telephony.CarrierColumns.KEY_TYPE, in updateOrInsertCarrierKey() 126 contentValues.put(Telephony.CarrierColumns.KEY_IDENTIFIER, in updateOrInsertCarrierKey() 128 contentValues.put(Telephony.CarrierColumns.PUBLIC_KEY, keyBytes); in updateOrInsertCarrierKey() 129 contentValues.put(Telephony.CarrierColumns.EXPIRATION_TIME, in updateOrInsertCarrierKey() 134 mContentResolver.insert(Telephony.CarrierColumns.CONTENT_URI, contentValues); in updateOrInsertCarrierKey()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardJapanizationTests.java | 44 ContentValues contentValues = in testNameUtf8Common() local 48 contentValues) in testNameUtf8Common() 52 null, contentValues, null, null); in testNameUtf8Common() 119 final ContentValues contentValues = in testPhoneticNameCommon() local 126 contentValues) in testPhoneticNameCommon() 129 contentValues) in testPhoneticNameCommon() 131 contentValues); in testPhoneticNameCommon() 135 contentValues); in testPhoneticNameCommon() 220 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ? in testPostalAddressWithJapaneseCommon() local 232 contentValues); in testPostalAddressWithJapaneseCommon()
|
D | VCardExporterTests.java | 245 final ContentValues contentValues = new ContentValues(); in testStructuredNamePhoneticNameCommon() local 246 contentValues.put("SORT-AS", in testStructuredNamePhoneticNameCommon() 255 contentValues); in testStructuredNamePhoneticNameCommon() 344 final ContentValues contentValues = new ContentValues(); in testStructuredNameComplicatedCommon() local 345 contentValues.put("SORT-AS", in testStructuredNameComplicatedCommon() 354 contentValues); in testStructuredNameComplicatedCommon()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 119 public void restoreValue(Context context, ContentResolver cr, ContentValues contentValues, in restoreValue() argument 156 contentValues.clear(); in restoreValue() 157 contentValues.put(Settings.NameValueTable.NAME, name); in restoreValue() 158 contentValues.put(Settings.NameValueTable.VALUE, value); in restoreValue() 159 cr.insert(destination, contentValues); in restoreValue()
|
D | SettingsBackupAgent.java | 607 ContentValues contentValues = new ContentValues(2); in restoreSettings() local 657 settingsHelper.restoreValue(this, cr, contentValues, destination, key, value, in restoreSettings()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 504 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand() argument 506 mContentValues = contentValues; in InsertCommand() 675 public UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) { in UpdateCommand() argument 676 super(uri, userId, contentValues); in UpdateCommand()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 211 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() argument 212 final Set<Entry<String, Object>> valueSet = contentValues.valueSet(); in getCursor()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 850 private void putIfNonNull(ContentValues contentValues, String key, Object value) { in putIfNonNull() argument 852 contentValues.put(key, value.toString()); in putIfNonNull()
|