Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DAidlMockedVehicleHal.java317 List<VehiclePropValue> updatedValues = subCallbackToValues.get(subCallback); in setValues() local
318 propValues.payloads = new VehiclePropValue[updatedValues.size()]; in setValues()
319 for (int i = 0; i < updatedValues.size(); i++) { in setValues()
320 propValues.payloads[i] = updatedValues.get(i); in setValues()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2385 ContentValues updatedValues = new ContentValues(values); in insertInTransactionInner() local
2387 scrubEventData(updatedValues, null); in insertInTransactionInner()
2389 validateEventData(updatedValues); in insertInTransactionInner()
2392 updatedValues = updateLastDate(updatedValues); in insertInTransactionInner()
2393 if (updatedValues == null) { in insertInTransactionInner()
2397 Long calendar_id = updatedValues.getAsLong(Events.CALENDAR_ID); in insertInTransactionInner()
2404 String color_id = updatedValues.getAsString(Events.EVENT_COLOR_KEY); in insertInTransactionInner()
2415 updatedValues.put(Events.EVENT_COLOR, color); in insertInTransactionInner()
2418 if (!updatedValues.containsKey(Events.ORGANIZER)) { in insertInTransactionInner()
2425 updatedValues.put(Events.ORGANIZER, owner); in insertInTransactionInner()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierProviderTest.java195 ContentValues updatedValues = new ContentValues(); in testUpdateCertificates() local
196 updatedValues.put(CarrierDatabaseHelper.PUBLIC_KEY, test_key2); in testUpdateCertificates()
197 mContentResolver.update(CarrierProvider.CONTENT_URI, updatedValues, in testUpdateCertificates()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4709 final ContentValues updatedValues = new ContentValues(); in updateGroups() local
4710 updatedValues.putAll(originalValues); in updateGroups()
4712 if (!callerIsSyncAdapter && !updatedValues.containsKey(Groups.DIRTY)) { in updateGroups()
4713 updatedValues.put(Groups.DIRTY, 1); in updateGroups()
4715 if (updatedValues.containsKey(Groups.GROUP_VISIBLE)) { in updateGroups()
4720 final boolean isAccountNameChanging = updatedValues.containsKey(Groups.ACCOUNT_NAME); in updateGroups()
4721 final boolean isAccountTypeChanging = updatedValues.containsKey(Groups.ACCOUNT_TYPE); in updateGroups()
4722 final boolean isDataSetChanging = updatedValues.containsKey(Groups.DATA_SET); in updateGroups()
4725 final String updatedAccountName = updatedValues.getAsString(Groups.ACCOUNT_NAME); in updateGroups()
4726 final String updatedAccountType = updatedValues.getAsString(Groups.ACCOUNT_TYPE); in updateGroups()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java4076 ContentValues updatedValues = new ContentValues(); in testUpdateProfileRawContact() local
4077 updatedValues.put(RawContacts.SEND_TO_VOICEMAIL, 0); in testUpdateProfileRawContact()
4078 updatedValues.put(RawContacts.CUSTOM_RINGTONE, "rachmaninoff3"); in testUpdateProfileRawContact()
4079 updatedValues.put(RawContacts.STARRED, 1); in testUpdateProfileRawContact()
4080 mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues, null, null); in testUpdateProfileRawContact()
4082 assertStoredValues(Profile.CONTENT_RAW_CONTACTS_URI, updatedValues); in testUpdateProfileRawContact()