Home
last modified time | relevance | path

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

/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java239 private boolean containsNonEmptyName(final ContentValues contentValues) { in containsNonEmptyName() argument
240 final String familyName = contentValues.getAsString(StructuredName.FAMILY_NAME); in containsNonEmptyName()
241 final String middleName = contentValues.getAsString(StructuredName.MIDDLE_NAME); in containsNonEmptyName()
242 final String givenName = contentValues.getAsString(StructuredName.GIVEN_NAME); in containsNonEmptyName()
243 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in containsNonEmptyName()
244 final String suffix = contentValues.getAsString(StructuredName.SUFFIX); in containsNonEmptyName()
246 contentValues.getAsString(StructuredName.PHONETIC_FAMILY_NAME); in containsNonEmptyName()
248 contentValues.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in containsNonEmptyName()
250 contentValues.getAsString(StructuredName.PHONETIC_GIVEN_NAME); in containsNonEmptyName()
251 final String displayName = contentValues.getAsString(StructuredName.DISPLAY_NAME); in containsNonEmptyName()
[all …]
DVCardComposer.java538 ContentValues contentValues = namedContentValues.values; in createOneEntryInternal() local
539 String key = contentValues.getAsString(Data.MIMETYPE); in createOneEntryInternal()
547 contentValuesList.add(contentValues); in createOneEntryInternal()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContactEntry.java34 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()
DContentValuesVerifierElem.java36 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()
DPropertyNodesVerifierElem.java67 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()
DContentValuesBuilder.java27 public ContentValuesBuilder(final ContentValues contentValues) { in ContentValuesBuilder() argument
28 mContentValues = contentValues; in ContentValuesBuilder()
DImportTestProvider.java74 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()
DExportTestProvider.java48 for (ContentValues contentValues : contentValuesList) { in MockEntityIterator()
49 entity.addSubValue(Data.CONTENT_URI, contentValues); in MockEntityIterator()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardJapanizationTests.java44 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()
DVCardExporterTests.java245 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/cmds/content/src/com/android/commands/content/
DContent.java354 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand() argument
356 mContentValues = contentValues; in InsertCommand()
447 public UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) { in UpdateCommand() argument
448 super(uri, userId, contentValues); in UpdateCommand()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java640 ContentValues contentValues = new ContentValues(2); in restoreSettings() local
677 contentValues.clear(); in restoreSettings()
678 contentValues.put(Settings.NameValueTable.NAME, key); in restoreSettings()
679 contentValues.put(Settings.NameValueTable.VALUE, value); in restoreSettings()
680 getContentResolver().insert(destination, contentValues); in restoreSettings()
DSettingsProvider.java1117 public static void populate(SettingsCache cache, ContentValues contentValues) { in populate() argument
1121 String name = contentValues.getAsString(Settings.NameValueTable.NAME); in populate()
1126 String value = contentValues.getAsString(Settings.NameValueTable.VALUE); in populate()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java210 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/
DDownloadManager.java718 private void putIfNonNull(ContentValues contentValues, String key, Object value) { in putIfNonNull() argument
720 contentValues.put(key, value.toString()); in putIfNonNull()
/frameworks/base/core/java/android/provider/
DContactsContract.java618 ContentValues contentValues = new ContentValues(); in notifyDirectoryChange() local
619 resolver.update(Directory.CONTENT_URI, contentValues, null, null); in notifyDirectoryChange()