/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 | 673 ContentValues contentValues = new ContentValues(); in notifyDirectoryChange() local 674 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
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 | 120 ContentValues contentValues = new ContentValues(); in updateOrInsertCarrierKey() local 121 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey() 122 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey() 123 contentValues.put(Telephony.CarrierColumns.KEY_TYPE, in updateOrInsertCarrierKey() 125 contentValues.put(Telephony.CarrierColumns.KEY_IDENTIFIER, in updateOrInsertCarrierKey() 127 contentValues.put(Telephony.CarrierColumns.PUBLIC_KEY, keyBytes); in updateOrInsertCarrierKey() 128 contentValues.put(Telephony.CarrierColumns.EXPIRATION_TIME, in updateOrInsertCarrierKey() 133 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 | 621 ContentValues contentValues = new ContentValues(2); in restoreSettings() local 676 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionInfoUpdaterTest.java | 308 ContentValues contentValues = valueCapture.getValue(); in testSimNotReadyDisabledUiccApps() local 309 assertTrue(contentValues != null && contentValues.getAsBoolean( in testSimNotReadyDisabledUiccApps() 326 ContentValues contentValues = valueCapture.getValue(); in testSimRemovedWhileDisablingUiccApps() local 327 assertTrue(contentValues != null && contentValues.getAsBoolean( in testSimRemovedWhileDisablingUiccApps()
|
/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()
|