Home
last modified time | relevance | path

Searched refs:TransactionContext (Results 1 – 19 of 19) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTransactionContextTest.java33 TransactionContext context = new TransactionContext(false); in testClearExceptSearchIndexUpdates_returnsNewSets()
55 TransactionContext context = new TransactionContext(false); in testMarkDirtyAndChanged_onlyUpdatesChanged()
64 TransactionContext context = new TransactionContext(false); in testMarkDirtyAndChanged_onlyUpdatesDirtyAndChanged()
73 TransactionContext context = new TransactionContext(false); in testRawContactInserted_affectsChangedContacts()
86 TransactionContext context = new TransactionContext(false); in testMarkRawContactChangedOrDeletedOrInserted_affectsChangedContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DProfileAggregator.java29 import com.android.providers.contacts.TransactionContext;
62 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db, in onRawContactInsert()
69 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction()
74 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
DAbstractContactAggregator.java40 import com.android.providers.contacts.TransactionContext;
428 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction()
502 public final void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
644 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in onRawContactInsert()
673 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in aggregateContact()
699 public void updateAggregateData(TransactionContext txContext, long contactId) { in updateAggregateData()
733 abstract void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
869 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts()
DContactAggregator.java39 import com.android.providers.contacts.TransactionContext;
79 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
416 private void reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, in reAggregateRawContacts()
DContactAggregator2.java46 import com.android.providers.contacts.TransactionContext;
91 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
312 private void reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, in reAggregateRawContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java112 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
156 public boolean update(SQLiteDatabase db, TransactionContext txContext, in update()
253 private void handlePrimaryAndSuperPrimary(TransactionContext txContext, ContentValues values, in handlePrimaryAndSuperPrimary()
318 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
373 protected void fixRawContactDisplayName(SQLiteDatabase db, TransactionContext txContext, in fixRawContactDisplayName()
381 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact()
421 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
DDataRowHandlerForGroupMembership.java76 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
88 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
124 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) {
136 private void updateVisibility(TransactionContext txContext, long rawContactId) {
147 private void resolveGroupSourceIdInValues(TransactionContext txContext,
DDataRowHandlerForIdentity.java35 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
48 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
63 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForEmail.java37 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
52 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
73 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForNickname.java39 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
75 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForPhoto.java58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
131 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForOrganization.java41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
95 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForPhoneNumber.java42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
101 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForStructuredName.java47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
65 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
94 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForCommonDataKind.java44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
51 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
DDataRowHandlerForStructuredPostal.java55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
DTransactionContext.java32 public class TransactionContext { class
50 public TransactionContext(boolean forProfile) { in TransactionContext() method in TransactionContext
DContactsProvider2.java1382 private final TransactionContext mContactTransactionContext = new TransactionContext(false);
1383 private final TransactionContext mProfileTransactionContext = new TransactionContext(true);
1384 private final ThreadLocal<TransactionContext> mTransactionContext =
1385 new ThreadLocal<TransactionContext>();
2873 final TransactionContext context = mTransactionContext.get(); in insertData()
DContactsDatabaseHelper.java4054 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { in updateContactVisibleOnlyIfChanged()
4062 public void updateContactVisible(TransactionContext txContext, long contactId) { in updateContactVisible()
4067 TransactionContext txContext, long contactId, boolean onlyIfChanged) { in updateContactVisible()