Searched refs:updatedValues (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactMetadataProviderTest.java | 242 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()
|
D | ContactsProvider2Test.java | 3128 ContentValues updatedValues = new ContentValues(); in testUpdateMetadataOnRawContactBackupIdChange() local 3129 updatedValues.put(RawContacts.BACKUP_ID, backupId); in testUpdateMetadataOnRawContactBackupIdChange() 3130 mResolver.update(RawContacts.CONTENT_URI, updatedValues, null, null); in testUpdateMetadataOnRawContactBackupIdChange() 4184 ContentValues updatedValues = new ContentValues(); in testUpdateProfileRawContact() local 4185 updatedValues.put(RawContacts.SEND_TO_VOICEMAIL, 0); in testUpdateProfileRawContact() 4186 updatedValues.put(RawContacts.CUSTOM_RINGTONE, "rachmaninoff3"); in testUpdateProfileRawContact() 4187 updatedValues.put(RawContacts.STARRED, 1); in testUpdateProfileRawContact() 4188 mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues, null, null); in testUpdateProfileRawContact() 4190 assertStoredValues(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues); in testUpdateProfileRawContact()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 2362 ContentValues updatedValues = new ContentValues(values); in insertInTransactionInner() local 2364 scrubEventData(updatedValues, null); in insertInTransactionInner() 2366 validateEventData(updatedValues); in insertInTransactionInner() 2369 updatedValues = updateLastDate(updatedValues); in insertInTransactionInner() 2370 if (updatedValues == null) { in insertInTransactionInner() 2374 Long calendar_id = updatedValues.getAsLong(Events.CALENDAR_ID); in insertInTransactionInner() 2381 String color_id = updatedValues.getAsString(Events.EVENT_COLOR_KEY); in insertInTransactionInner() 2392 updatedValues.put(Events.EVENT_COLOR, color); in insertInTransactionInner() 2395 if (!updatedValues.containsKey(Events.ORGANIZER)) { in insertInTransactionInner() 2402 updatedValues.put(Events.ORGANIZER, owner); in insertInTransactionInner() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | CarrierProviderTest.java | 199 ContentValues updatedValues = new ContentValues(); in testUpdateCertificates() local 200 updatedValues.put(CarrierDatabaseHelper.PUBLIC_KEY, dummy_key2); in testUpdateCertificates() 201 mContentResolver.update(CarrierProvider.CONTENT_URI, updatedValues, in testUpdateCertificates()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 4340 final ContentValues updatedValues = new ContentValues(); in updateGroups() local 4341 updatedValues.putAll(originalValues); in updateGroups() 4343 if (!callerIsSyncAdapter && !updatedValues.containsKey(Groups.DIRTY)) { in updateGroups() 4344 updatedValues.put(Groups.DIRTY, 1); in updateGroups() 4346 if (updatedValues.containsKey(Groups.GROUP_VISIBLE)) { in updateGroups() 4351 final boolean isAccountNameChanging = updatedValues.containsKey(Groups.ACCOUNT_NAME); in updateGroups() 4352 final boolean isAccountTypeChanging = updatedValues.containsKey(Groups.ACCOUNT_TYPE); in updateGroups() 4353 final boolean isDataSetChanging = updatedValues.containsKey(Groups.DATA_SET); in updateGroups() 4356 final String updatedAccountName = updatedValues.getAsString(Groups.ACCOUNT_NAME); in updateGroups() 4357 final String updatedAccountType = updatedValues.getAsString(Groups.ACCOUNT_TYPE); in updateGroups() [all …]
|