Home
last modified time | relevance | path

Searched refs:updatedValues (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java242 ContentValues updatedValues = new ContentValues(); in testInsertAndUpdateMetadataSync() local
243 updatedValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
244 updatedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
245 updatedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
246 updatedValues.put(MetadataSync.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
247 updatedValues.put(MetadataSync.DATA, updatedJson); in testInsertAndUpdateMetadataSync()
248 updatedValues.put(MetadataSync.DELETED, deleted); in testInsertAndUpdateMetadataSync()
249 mResolver.insert(MetadataSync.CONTENT_URI, updatedValues); in testInsertAndUpdateMetadataSync()
DContactsProvider2Test.java3166 ContentValues updatedValues = new ContentValues(); in testUpdateMetadataOnRawContactBackupIdChange() local
3167 updatedValues.put(RawContacts.BACKUP_ID, backupId); in testUpdateMetadataOnRawContactBackupIdChange()
3168 mResolver.update(RawContacts.CONTENT_URI, updatedValues, null, null); in testUpdateMetadataOnRawContactBackupIdChange()
4280 ContentValues updatedValues = new ContentValues(); in testUpdateProfileRawContact() local
4281 updatedValues.put(RawContacts.SEND_TO_VOICEMAIL, 0); in testUpdateProfileRawContact()
4282 updatedValues.put(RawContacts.CUSTOM_RINGTONE, "rachmaninoff3"); in testUpdateProfileRawContact()
4283 updatedValues.put(RawContacts.STARRED, 1); in testUpdateProfileRawContact()
4284 mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues, null, null); in testUpdateProfileRawContact()
4286 assertStoredValues(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues); in testUpdateProfileRawContact()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2111 ContentValues updatedValues = new ContentValues(values); in insertInTransaction() local
2113 scrubEventData(updatedValues, null); in insertInTransaction()
2115 validateEventData(updatedValues); in insertInTransaction()
2118 updatedValues = updateLastDate(updatedValues); in insertInTransaction()
2119 if (updatedValues == null) { in insertInTransaction()
2123 Long calendar_id = updatedValues.getAsLong(Events.CALENDAR_ID); in insertInTransaction()
2130 String color_id = updatedValues.getAsString(Events.EVENT_COLOR_KEY); in insertInTransaction()
2141 updatedValues.put(Events.EVENT_COLOR, color); in insertInTransaction()
2144 if (!updatedValues.containsKey(Events.ORGANIZER)) { in insertInTransaction()
2151 updatedValues.put(Events.ORGANIZER, owner); in insertInTransaction()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4399 final ContentValues updatedValues = new ContentValues(); in updateGroups() local
4400 updatedValues.putAll(originalValues); in updateGroups()
4402 if (!callerIsSyncAdapter && !updatedValues.containsKey(Groups.DIRTY)) { in updateGroups()
4403 updatedValues.put(Groups.DIRTY, 1); in updateGroups()
4405 if (updatedValues.containsKey(Groups.GROUP_VISIBLE)) { in updateGroups()
4410 final boolean isAccountNameChanging = updatedValues.containsKey(Groups.ACCOUNT_NAME); in updateGroups()
4411 final boolean isAccountTypeChanging = updatedValues.containsKey(Groups.ACCOUNT_TYPE); in updateGroups()
4412 final boolean isDataSetChanging = updatedValues.containsKey(Groups.DATA_SET); in updateGroups()
4415 final String updatedAccountName = updatedValues.getAsString(Groups.ACCOUNT_NAME); in updateGroups()
4416 final String updatedAccountType = updatedValues.getAsString(Groups.ACCOUNT_TYPE); in updateGroups()
[all …]