/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 | 374 ContentValues contentValues = getContentValues(voicemail); in insert() local 375 return contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() 391 ContentValues contentValues = getContentValues(voicemails.get(i)); in insert() local 392 contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() local 414 ContentValues contentValues = new ContentValues(); in getContentValues() local 415 contentValues.put(Voicemails.DATE, String.valueOf(voicemail.getTimestampMillis())); in getContentValues() 416 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues() 417 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues() 418 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues() 419 contentValues.put(Voicemails.SOURCE_DATA, voicemail.getSourceData()); in getContentValues() [all …]
|
D | ContactsContract.java | 667 ContentValues contentValues = new ContentValues(); in notifyDirectoryChange() local 668 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()
|
/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/support/tv-provider/tests/src/android/support/media/tv/ |
D | ChannelTest.java | 58 ContentValues contentValues = emptyChannel.toContentValues(true); in testEmptyChannel() local 59 compareChannel(emptyChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testEmptyChannel() 75 ContentValues contentValues = sampleChannel.toContentValues(true); in testSampleChannel() local 76 compareChannel(sampleChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testSampleChannel() 85 ContentValues contentValues = fullyPopulatedChannel.toContentValues(true); in testFullyPopulatedChannel() local 86 compareChannel(fullyPopulatedChannel, Channel.fromCursor(getChannelCursor(contentValues)), in testFullyPopulatedChannel() 99 ContentValues contentValues = fullyPopulatedChannel.toContentValues(); in testChannelWithSystemContentProvider() local 101 Uri channelUri = resolver.insert(Channels.CONTENT_URI, contentValues); in testChannelWithSystemContentProvider() 115 ContentValues contentValues = fullyPopulatedChannel.toContentValues(); in testChannelUpdateWithContentProvider() local 117 Uri channelUri = resolver.insert(Channels.CONTENT_URI, contentValues); in testChannelUpdateWithContentProvider() [all …]
|
D | WatchNextProgramTest.java | 61 ContentValues contentValues = emptyProgram.toContentValues(true); in testEmptyPreviewProgram() local 63 WatchNextProgram.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), in testEmptyPreviewProgram() 76 ContentValues contentValues = sampleProgram.toContentValues(true); in testSampleProgram() local 79 getProgramCursor(WatchNextProgram.PROJECTION, contentValues)), true); in testSampleProgram() 88 ContentValues contentValues = fullyPopulatedProgram.toContentValues(true); in testFullyPopulatedProgram() local 91 getProgramCursor(WatchNextProgram.PROJECTION, contentValues)), true); in testFullyPopulatedProgram() 234 ContentValues contentValues = previewProgram.toContentValues(true); in testWatchNextProgramWithPartialData() local 236 WatchNextProgram.fromCursor(getProgramCursor(partialProjection, contentValues)), in testWatchNextProgramWithPartialData() 350 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { in getProgramCursor() argument 355 builder.add(col, contentValues.get(col)); in getProgramCursor()
|
D | ProgramTest.java | 59 ContentValues contentValues = emptyProgram.toContentValues(); in testEmptyProgram() local 61 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testEmptyProgram() 77 ContentValues contentValues = sampleProgram.toContentValues(); in testSampleProgram() local 79 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testSampleProgram() 89 ContentValues contentValues = fullyPopulatedProgram.toContentValues(); in testFullyPopulatedProgram() local 91 Program.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), true); in testFullyPopulatedProgram() 257 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { in getProgramCursor() argument 262 builder.add(row, contentValues.get(row)); in getProgramCursor()
|
D | PreviewProgramTest.java | 62 ContentValues contentValues = emptyProgram.toContentValues(); in testEmptyPreviewProgram() local 64 PreviewProgram.fromCursor(getProgramCursor(Program.PROJECTION, contentValues)), in testEmptyPreviewProgram() 80 ContentValues contentValues = sampleProgram.toContentValues(true); in testSampleProgram() local 83 getProgramCursor(PreviewProgram.PROJECTION, contentValues)), true); in testSampleProgram() 92 ContentValues contentValues = fullyPopulatedProgram.toContentValues(true); in testFullyPopulatedPreviewProgram() local 95 getProgramCursor(PreviewProgram.PROJECTION, contentValues)), true); in testFullyPopulatedPreviewProgram() 253 ContentValues contentValues = previewProgram.toContentValues(true); in testPreviewProgramWithPartialData() local 255 PreviewProgram.fromCursor(getProgramCursor(partialProjection, contentValues)), in testPreviewProgramWithPartialData() 372 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { in getProgramCursor() argument 377 builder.add(col, contentValues.get(col)); in getProgramCursor()
|
D | ChannelLogoUtilsTest.java | 42 ContentValues contentValues = new Channel.Builder() in setUp() local 45 mChannelUri = mContentResolver.insert(TvContract.Channels.CONTENT_URI, contentValues); in setUp()
|
/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 | 112 public void restoreValue(Context context, ContentResolver cr, ContentValues contentValues, in restoreValue() argument 154 contentValues.clear(); in restoreValue() 155 contentValues.put(Settings.NameValueTable.NAME, name); in restoreValue() 156 contentValues.put(Settings.NameValueTable.VALUE, value); in restoreValue() 157 cr.insert(destination, contentValues); in restoreValue()
|
D | SettingsBackupAgent.java | 591 ContentValues contentValues = new ContentValues(2); in restoreSettings() local 626 settingsHelper.restoreValue(this, cr, contentValues, destination, key, value); in restoreSettings()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 481 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand() argument 483 mContentValues = contentValues; in InsertCommand() 649 public UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) { in UpdateCommand() argument 650 super(uri, userId, contentValues); in UpdateCommand()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 210 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() argument 211 final Set<Entry<String, Object>> valueSet = contentValues.valueSet(); in getCursor()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 814 private void putIfNonNull(ContentValues contentValues, String key, Object value) { in putIfNonNull() argument 816 contentValues.put(key, value.toString()); in putIfNonNull()
|