Lines Matching refs:operations
399 ArrayList<ContentProviderOperation> operations = new ArrayList<ContentProviderOperation>(); in createRawContact() local
400 operations.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI) in createRawContact()
410 operations.add(ContentProviderOperation.newInsert(Data.CONTENT_URI) in createRawContact()
419 results = resolver.applyBatch(ContactsContract.AUTHORITY, operations); in createRawContact()
1280 final ArrayList<ContentProviderOperation> operations = new ArrayList<>(batchSize); in splitContact() local
1284 if (!buildSplitTwoContacts(operations, rawContactIds[i], rawContactIds[j], in splitContact()
1294 if (operations.size() > 0 && !applyOperations(resolver, operations)) { in splitContact()
1314 private boolean buildSplitTwoContacts(ArrayList<ContentProviderOperation> operations, in buildSplitTwoContacts() argument
1326 buildSplitContactDiff(operations, rawContactIds1[i], rawContactIds2[j], hardSplit); in buildSplitTwoContacts()
1328 if (operations.size() > 0 && operations.size() % batchSize == 0) { in buildSplitTwoContacts()
1329 if (!applyOperations(resolver, operations)) { in buildSplitTwoContacts()
1332 operations.clear(); in buildSplitTwoContacts()
1427 final ArrayList<ContentProviderOperation> operations = new ArrayList<>(batchSize); in joinSeveralContacts() local
1431 buildJoinContactDiff(operations, rawContactIds[i], rawContactIds[j]); in joinSeveralContacts()
1434 if (operations.size() > 0 && operations.size() % batchSize == 0) { in joinSeveralContacts()
1435 if (!applyOperations(resolver, operations)) { in joinSeveralContacts()
1441 operations.clear(); in joinSeveralContacts()
1445 if (operations.size() > 0 && !applyOperations(resolver, operations)) { in joinSeveralContacts()
1518 ArrayList<ContentProviderOperation> operations) { in applyOperations() argument
1521 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in applyOperations()
1549 ArrayList<ContentProviderOperation> operations = new ArrayList<ContentProviderOperation>(); in joinContacts() local
1555 buildJoinContactDiff(operations, rawContactIds[i], rawContactIds[j]); in joinContacts()
1590 operations.add(builder.build()); in joinContacts()
1594 final boolean success = applyOperations(resolver, operations); in joinContacts()
1717 private void buildJoinContactDiff(ArrayList<ContentProviderOperation> operations, in buildJoinContactDiff() argument
1724 operations.add(builder.build()); in buildJoinContactDiff()
1732 private void buildSplitContactDiff(ArrayList<ContentProviderOperation> operations, in buildSplitContactDiff() argument
1742 operations.add(builder.build()); in buildSplitContactDiff()