HomeSort by relevance Sort by last modified time
    Searched defs:ValuesDelta (Results 1 - 5 of 5) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/model/
GoogleSource.java 20 import com.android.contacts.model.EntityDelta.ValuesDelta;
127 final ValuesDelta stateValues = state.getValues();
221 state.addEntry(ValuesDelta.fromAfter(values));
EntityDelta.java 67 private ValuesDelta mValues;
73 private HashMap<String, ArrayList<ValuesDelta>> mEntries = Maps.newHashMap();
78 public EntityDelta(ValuesDelta values) {
88 entity.mValues = ValuesDelta.fromBefore(before.getEntityValues());
91 entity.addEntry(ValuesDelta.fromBefore(namedValues.values));
104 final ValuesDelta remoteValues = remote.mValues;
119 local.mValues = ValuesDelta.mergeAfter(local.mValues, remote.mValues);
122 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) {
123 for (ValuesDelta remoteEntry : mimeEntries) {
127 final ValuesDelta localEntry = local.getEntry(childId)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
EntityDeltaTests.java 20 import com.android.contacts.model.EntityDelta.ValuesDelta;
42 * Tests for {@link EntityDelta} and {@link ValuesDelta}. These tests
110 source.addEntry(ValuesDelta.fromAfter(phone));
123 final ValuesDelta child = source.getEntry(TEST_PHONE_ID);
137 final ValuesDelta child = source.getEntry(TEST_PHONE_ID);
146 * Test that {@link ValuesDelta#buildDiff(android.net.Uri)} is correctly
155 final ValuesDelta values = ValuesDelta.fromBefore(before);
166 final ValuesDelta values = ValuesDelta.fromAfter(after)
    [all...]
EntityModifierTests.java 30 import com.android.contacts.model.EntityDelta.ValuesDelta;
310 final ValuesDelta values = ValuesDelta.fromAfter(after);
322 final ValuesDelta values = EntityModifier.insertChild(state, kindPhone, typeHome);
339 final ValuesDelta values = EntityModifier.insertChild(state, kindPhone, typeHome);
380 final ValuesDelta values = EntityModifier.insertChild(state, kindPhone, typeHome);
405 final ValuesDelta values = EntityModifier.insertChild(state, kindPhone, typeHome);
436 state.addEntry(ValuesDelta.fromBefore(before));
469 final ValuesDelta child = state.getEntry(TEST_ID);
537 final ValuesDelta values = EntityModifier.insertChild(state, kindPhone, typeHome)
    [all...]
EntitySetTests.java 29 import com.android.contacts.model.EntityDelta.ValuesDelta;
111 final ValuesDelta values = ValuesDelta.fromAfter(after);
140 final EntityDelta after = new EntityDelta(ValuesDelta.fromAfter(contact));
142 after.addEntry(ValuesDelta.fromAfter(entry));
171 match.addEntry(ValuesDelta.fromAfter(values));
174 static ValuesDelta getPhone(EntitySet set, long rawContactId, long dataId) {
258 static ContentValues buildDataInsert(ValuesDelta values, long rawContactId) {
268 static ContentProviderOperation buildOper(Uri uri, int type, ValuesDelta values) {
379 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED)
    [all...]

Completed in 53 milliseconds