Home
last modified time | relevance | path

Searched refs:CPOWrapper (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaTests.java166 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffNone()
184 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffNoneInsert()
189 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffNoneInsert()
193 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffNoneInsert()
199 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffNoneInsert()
205 final CPOWrapper cpoWrapper = diff.get(3); in testEntityDiffNoneInsert()
227 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testEntityDiffUpdateInsert()
232 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffUpdateInsert()
236 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffUpdateInsert()
242 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffUpdateInsert()
[all …]
DRawContactDeltaListTests.java172 static void assertDiffPattern(RawContactDelta delta, CPOWrapper... pattern) { in assertDiffPattern()
173 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in assertDiffPattern()
179 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) { in assertDiffPattern()
183 static void assertDiffPattern(ArrayList<CPOWrapper> diff, CPOWrapper... pattern) { in assertDiffPattern()
186 final CPOWrapper expected = pattern[i]; in assertDiffPattern()
187 final CPOWrapper found = diff.get(i); in assertDiffPattern()
214 static String getTypeString(CPOWrapper cpoWrapper) { in getTypeString()
227 static CPOWrapper buildAssertVersion(long version) { in buildAssertVersion()
233 static CPOWrapper buildAggregationModeUpdate(int mode) { in buildAggregationModeUpdate()
239 static CPOWrapper buildUpdateAggregationSuspended() { in buildUpdateAggregationSuspended()
[all …]
DRawContactModifierTests.java384 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptySingle()
388 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle()
394 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptySingle()
400 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptySingle()
412 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle()
487 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptyUntouched()
512 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); in testTrimEmptyAfterUpdate()
523 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptyAfterUpdate()
529 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptyAfterUpdate()
535 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptyAfterUpdate()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java128 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()
DRawContactDelta.java405 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()
DCPOWrapper.java25 public class CPOWrapper { class
29 public CPOWrapper(ContentProviderOperation builder, int type) { in CPOWrapper() method in CPOWrapper
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java24 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/
DCPOWrapper.java25 public class CPOWrapper { class
30 public CPOWrapper(ContentProviderOperation builder, int type) { in CPOWrapper() method in CPOWrapper
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java62 import com.android.contacts.model.CPOWrapper;
518 final ArrayList<CPOWrapper> diffWrapper = state.buildDiffWrapper(); in saveContact()
522 for (CPOWrapper cpoWrapper : diffWrapper) { in saveContact()
713 final ArrayList<CPOWrapper> diffWrapper, in getRawContactId()
727 final ArrayList<CPOWrapper> diffWrapper, final ContentProviderResult[] results) { in getInsertedRawContactId()
734 final CPOWrapper cpoWrapper = diffWrapper.get(i); in getInsertedRawContactId()
/packages/apps/Contacts/
Dproguard.flags58 -keep class com.android.contacts.model.CPOWrapper { *; }