Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2386 ContentValues updatedValues = new ContentValues(values); in insertInTransactionInner() local
2388 scrubEventData(updatedValues, null); in insertInTransactionInner()
2390 validateEventData(updatedValues); in insertInTransactionInner()
2393 updatedValues = updateLastDate(updatedValues); in insertInTransactionInner()
2394 if (updatedValues == null) { in insertInTransactionInner()
2398 Long calendar_id = updatedValues.getAsLong(Events.CALENDAR_ID); in insertInTransactionInner()
2405 String color_id = updatedValues.getAsString(Events.EVENT_COLOR_KEY); in insertInTransactionInner()
2416 updatedValues.put(Events.EVENT_COLOR, color); in insertInTransactionInner()
2419 if (!updatedValues.containsKey(Events.ORGANIZER)) { in insertInTransactionInner()
2426 updatedValues.put(Events.ORGANIZER, owner); in insertInTransactionInner()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierProviderTest.java199 ContentValues updatedValues = new ContentValues(); in testUpdateCertificates() local
200 updatedValues.put(CarrierDatabaseHelper.PUBLIC_KEY, test_key2); in testUpdateCertificates()
201 mContentResolver.update(CarrierProvider.CONTENT_URI, updatedValues, in testUpdateCertificates()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4468 final ContentValues updatedValues = new ContentValues(); in updateGroups() local
4469 updatedValues.putAll(originalValues); in updateGroups()
4471 if (!callerIsSyncAdapter && !updatedValues.containsKey(Groups.DIRTY)) { in updateGroups()
4472 updatedValues.put(Groups.DIRTY, 1); in updateGroups()
4474 if (updatedValues.containsKey(Groups.GROUP_VISIBLE)) { in updateGroups()
4479 final boolean isAccountNameChanging = updatedValues.containsKey(Groups.ACCOUNT_NAME); in updateGroups()
4480 final boolean isAccountTypeChanging = updatedValues.containsKey(Groups.ACCOUNT_TYPE); in updateGroups()
4481 final boolean isDataSetChanging = updatedValues.containsKey(Groups.DATA_SET); in updateGroups()
4484 final String updatedAccountName = updatedValues.getAsString(Groups.ACCOUNT_NAME); in updateGroups()
4485 final String updatedAccountType = updatedValues.getAsString(Groups.ACCOUNT_TYPE); in updateGroups()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java3850 ContentValues updatedValues = new ContentValues(); in testUpdateProfileRawContact() local
3851 updatedValues.put(RawContacts.SEND_TO_VOICEMAIL, 0); in testUpdateProfileRawContact()
3852 updatedValues.put(RawContacts.CUSTOM_RINGTONE, "rachmaninoff3"); in testUpdateProfileRawContact()
3853 updatedValues.put(RawContacts.STARRED, 1); in testUpdateProfileRawContact()
3854 mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues, null, null); in testUpdateProfileRawContact()
3856 assertStoredValues(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues); in testUpdateProfileRawContact()