Searched refs:CPOWrapper (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaTests.java | 167 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffNone() 185 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffNoneInsert() 190 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffNoneInsert() 194 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffNoneInsert() 200 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffNoneInsert() 206 final CPOWrapper cpoWrapper = diff.get(3); in testEntityDiffNoneInsert() 228 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffUpdateInsert() 233 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffUpdateInsert() 237 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffUpdateInsert() 243 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffUpdateInsert() [all …]
|
D | RawContactDeltaListTests.java | 177 static void assertDiffPattern(RawContactDelta delta, CPOWrapper... pattern) { in assertDiffPattern() 178 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in assertDiffPattern() 184 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) { in assertDiffPattern() 188 static void assertDiffPattern(ArrayList<CPOWrapper> diff, CPOWrapper... pattern) { in assertDiffPattern() 193 final CPOWrapper expected = pattern[i]; in assertDiffPattern() 194 final CPOWrapper found = diff.get(i); in assertDiffPattern() 225 static String getTypeString(CPOWrapper cpoWrapper) { in getTypeString() 238 static CPOWrapper buildAssertVersion(long version) { in buildAssertVersion() 244 static CPOWrapper buildAggregationModeUpdate(int mode) { in buildAggregationModeUpdate() 250 static CPOWrapper buildUpdateAggregationSuspended() { in buildUpdateAggregationSuspended() [all …]
|
D | RawContactModifierTests.java | 385 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptySingle() 389 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() 395 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptySingle() 401 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptySingle() 413 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() 488 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptyUntouched() 513 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptyAfterUpdate() 524 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptyAfterUpdate() 530 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptyAfterUpdate() 536 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptyAfterUpdate() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDeltaList.java | 128 public ArrayList<CPOWrapper> buildDiffWrapper() { in buildDiffWrapper() 132 final ArrayList<CPOWrapper> diffWrapper = Lists.newArrayList(); in buildDiffWrapper() 167 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper() 182 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper() 194 diffWrapper.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper() 226 private static String diffToStringWrapper(ArrayList<CPOWrapper> cpoWrappers) { in diffToStringWrapper() 228 for (CPOWrapper cpoWrapper : cpoWrappers) { in diffToStringWrapper() 249 private void buildSplitContactDiffWrapper(final ArrayList<CPOWrapper> diff, int[] backRefs) { in buildSplitContactDiffWrapper() 258 diff.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildSplitContactDiffWrapper()
|
D | RawContactDelta.java | 405 private void possibleAddWrapper(ArrayList<CPOWrapper> diff, BuilderWrapper bw) { in possibleAddWrapper() 407 diff.add(new CPOWrapper(bw.getBuilder().build(), bw.getType())); in possibleAddWrapper() 427 public void buildAssertWrapper(ArrayList<CPOWrapper> buildInto) { in buildAssertWrapper() 430 buildInto.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_ASSERT)); in buildAssertWrapper() 529 public void buildDiffWrapper(ArrayList<CPOWrapper> buildInto) { in buildDiffWrapper() 584 buildInto.add(firstIndex, new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper() 588 buildInto.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper() 595 buildInto.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper()
|
D | CPOWrapper.java | 25 public class CPOWrapper { class 29 public CPOWrapper(ContentProviderOperation builder, int type) { in CPOWrapper() method in CPOWrapper
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 24 import com.android.contacts.model.CPOWrapper; 46 public static boolean isInsertCompat(CPOWrapper cpoWrapper) { in isInsertCompat() 56 public static boolean isUpdateCompat(CPOWrapper cpoWrapper) { in isUpdateCompat() 66 public static boolean isDeleteCompat(CPOWrapper cpoWrapper) { in isDeleteCompat() 75 public static boolean isAssertQueryCompat(CPOWrapper cpoWrapper) { in isAssertQueryCompat()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | CPOWrapper.java | 25 public class CPOWrapper { class 30 public CPOWrapper(ContentProviderOperation builder, int type) { in CPOWrapper() method in CPOWrapper
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 63 import com.android.contacts.model.CPOWrapper; 522 final ArrayList<CPOWrapper> diffWrapper = state.buildDiffWrapper(); in saveContact() 526 for (CPOWrapper cpoWrapper : diffWrapper) { in saveContact() 717 final ArrayList<CPOWrapper> diffWrapper, in getRawContactId() 731 final ArrayList<CPOWrapper> diffWrapper, final ContentProviderResult[] results) { in getInsertedRawContactId() 738 final CPOWrapper cpoWrapper = diffWrapper.get(i); in getInsertedRawContactId()
|
/packages/apps/Contacts/ |
D | proguard.flags | 60 -keep class com.android.contacts.model.CPOWrapper { *; }
|