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

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactDeltaTests.java 32 import com.android.contacts.common.model.CPOWrapper;
170 final ArrayList<CPOWrapper> diff = Lists.newArrayList();
188 final ArrayList<CPOWrapper> diff = Lists.newArrayList();
193 final CPOWrapper cpoWrapper = diff.get(0);
194 assertTrue("Expected version enforcement", CompatUtils.isAssertQueryCompat(cpoWrapper));
197 final CPOWrapper cpoWrapper = diff.get(1);
198 final ContentProviderOperation oper = cpoWrapper.getOperation();
199 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper));
    [all...]
RawContactModifierTests.java 39 import com.android.contacts.common.model.CPOWrapper;
392 final ArrayList<CPOWrapper> diff = Lists.newArrayList();
396 final CPOWrapper cpoWrapper = diff.get(0);
397 final ContentProviderOperation oper = cpoWrapper.getOperation();
398 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper));
402 final CPOWrapper cpoWrapper = diff.get(1);
403 final ContentProviderOperation oper = cpoWrapper.getOperation();
404 assertTrue("Incorrect type", CompatUtils.isInsertCompat(cpoWrapper));
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactDeltaList.java 34 import com.android.contacts.common.model.CPOWrapper;
216 * ArrayList of CPOWrapper.
218 public ArrayList<CPOWrapper> buildDiffWrapper() {
222 final ArrayList<CPOWrapper> diffWrapper = Lists.newArrayList();
257 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE));
272 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE));
284 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE));
316 private static String diffToStringWrapper(ArrayList<CPOWrapper> cpoWrappers) {
318 for (CPOWrapper cpoWrapper : cpoWrappers)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 55 import com.android.contacts.common.model.CPOWrapper;
431 final ArrayList<CPOWrapper> diffWrapper = state.buildDiffWrapper();
435 for (CPOWrapper cpoWrapper : diffWrapper) {
436 diff.add(cpoWrapper.getOperation());
626 final ArrayList<CPOWrapper> diffWrapper,
640 final ArrayList<CPOWrapper> diffWrapper, final ContentProviderResult[] results) {
647 final CPOWrapper cpoWrapper = diffWrapper.get(i);
648 final boolean isInsert = CompatUtils.isInsertCompat(cpoWrapper);
    [all...]

Completed in 245 milliseconds