Searched refs:cpoWrapper (Results 1 – 6 of 6) sorted by relevance
189 final CPOWrapper cpoWrapper = diff.get(0); in testEntityDiffNoneInsert() local190 assertTrue("Expected version enforcement", CompatUtils.isAssertQueryCompat(cpoWrapper)); in testEntityDiffNoneInsert()193 final CPOWrapper cpoWrapper = diff.get(1); in testEntityDiffNoneInsert() local194 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()195 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testEntityDiffNoneInsert()199 final CPOWrapper cpoWrapper = diff.get(2); in testEntityDiffNoneInsert() local200 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()201 assertTrue("Incorrect type", CompatUtils.isInsertCompat(cpoWrapper)); in testEntityDiffNoneInsert()205 final CPOWrapper cpoWrapper = diff.get(3); in testEntityDiffNoneInsert() local206 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testEntityDiffNoneInsert()[all …]
388 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() local389 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()390 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testTrimEmptySingle()394 final CPOWrapper cpoWrapper = diff.get(1); in testTrimEmptySingle() local395 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()396 assertTrue("Incorrect type", CompatUtils.isInsertCompat(cpoWrapper)); in testTrimEmptySingle()400 final CPOWrapper cpoWrapper = diff.get(2); in testTrimEmptySingle() local401 final ContentProviderOperation oper = cpoWrapper.getOperation(); in testTrimEmptySingle()402 assertTrue("Expected aggregation mode change", CompatUtils.isUpdateCompat(cpoWrapper)); in testTrimEmptySingle()412 final CPOWrapper cpoWrapper = diff.get(0); in testTrimEmptySingle() local[all …]
214 static String getTypeString(CPOWrapper cpoWrapper) { in getTypeString() argument215 if (CompatUtils.isAssertQueryCompat(cpoWrapper)) { in getTypeString()217 } else if (CompatUtils.isInsertCompat(cpoWrapper)) { in getTypeString()219 } else if (CompatUtils.isUpdateCompat(cpoWrapper)) { in getTypeString()221 } else if (CompatUtils.isDeleteCompat(cpoWrapper)) { in getTypeString()300 for (CPOWrapper cpoWrapper : diff) { in countExceptionUpdates()301 final ContentProviderOperation oper = cpoWrapper.getOperation(); in countExceptionUpdates()303 && 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()
522 for (CPOWrapper cpoWrapper : diffWrapper) { in saveContact()523 diff.add(cpoWrapper.getOperation()); in saveContact()734 final CPOWrapper cpoWrapper = diffWrapper.get(i); in getInsertedRawContactId() local735 final boolean isInsert = CompatUtils.isInsertCompat(cpoWrapper); in getInsertedRawContactId()736 if (isInsert && cpoWrapper.getOperation().getUri().getEncodedPath().contains( in getInsertedRawContactId()