Searched refs:cpoWrapper (Results 1 – 6 of 6) sorted by relevance
190 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffNoneInsert() local191 assertTrue("Expected version enforcement", CompatUtils.isAssertQueryCompat(cpoWrapper)); in testEntityDiffNoneInsert()194 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffNoneInsert() local195 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()196 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testEntityDiffNoneInsert()200 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffNoneInsert() local201 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()202 assertTrue("Incorrect type", CompatUtils.isInsertCompat(cpoWrapper)); in testEntityDiffNoneInsert()206 final CPOWrapper cpoWrapper = diff.get(3); in testEntityDiffNoneInsert() local207 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()[all …]
389 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() local390 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()391 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testTrimEmptySingle()395 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptySingle() local396 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()397 assertTrue("Incorrect type", CompatUtils.isInsertCompat(cpoWrapper)); in testTrimEmptySingle()401 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptySingle() local402 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()403 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testTrimEmptySingle()413 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() local[all …]
225 static String getTypeString(CPOWrapper cpoWrapper) { in getTypeString() argument226 if (CompatUtils.isAssertQueryCompat(cpoWrapper)) { in getTypeString()228 } else if (CompatUtils.isInsertCompat(cpoWrapper)) { in getTypeString()230 } else if (CompatUtils.isUpdateCompat(cpoWrapper)) { in getTypeString()232 } else if (CompatUtils.isDeleteCompat(cpoWrapper)) { in getTypeString()312 for (CPOWrapper cpoWrapper : diff) { in countExceptionUpdates()313 final ContentProviderOperation oper = cpoWrapper.getOperation(); in countExceptionUpdates()315 && CompatUtils.isUpdateCompat(cpoWrapper)) { in countExceptionUpdates()
46 public static boolean isInsertCompat(CPOWrapper cpoWrapper) { in isInsertCompat() argument48 return cpoWrapper.getOperation().isInsert(); in isInsertCompat()50 return (cpoWrapper.getType() == TYPE_INSERT); in isInsertCompat()56 public static boolean isUpdateCompat(CPOWrapper cpoWrapper) { in isUpdateCompat() argument58 return cpoWrapper.getOperation().isUpdate(); in isUpdateCompat()60 return (cpoWrapper.getType() == TYPE_UPDATE); in isUpdateCompat()66 public static boolean isDeleteCompat(CPOWrapper cpoWrapper) { in isDeleteCompat() argument68 return cpoWrapper.getOperation().isDelete(); in isDeleteCompat()70 return (cpoWrapper.getType() == TYPE_DELETE); in isDeleteCompat()75 public static boolean isAssertQueryCompat(CPOWrapper cpoWrapper) { in isAssertQueryCompat() argument[all …]
228 for (CPOWrapper cpoWrapper : cpoWrappers) { in diffToStringWrapper()229 ops.add(cpoWrapper.getOperation()); in diffToStringWrapper()
526 for (CPOWrapper cpoWrapper : diffWrapper) { in saveContact()527 diff.add(cpoWrapper.getOperation()); in saveContact()738 final CPOWrapper cpoWrapper = diffWrapper.get(i); in getInsertedRawContactId() local739 final boolean isInsert = CompatUtils.isInsertCompat(cpoWrapper); in getInsertedRawContactId()740 if (isInsert && cpoWrapper.getOperation().getUri().getEncodedPath().contains( in getInsertedRawContactId()