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;
60 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db, in onRawContactInsert()
67 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction()
72 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
DAbstractContactAggregator.java40 import com.android.providers.contacts.TransactionContext;
424 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction()
498 public final void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
640 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in onRawContactInsert()
669 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in aggregateContact()
695 public void updateAggregateData(TransactionContext txContext, long contactId) { in updateAggregateData()
729 abstract void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
865 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts()
DContactAggregator.java39 import com.android.providers.contacts.TransactionContext;
77 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
414 private void reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, in reAggregateRawContacts()
DContactAggregator2.java46 import com.android.providers.contacts.TransactionContext;
89 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
310 private void reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, in reAggregateRawContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
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()
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,
DDataRowHandler.java116 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
159 public boolean update(SQLiteDatabase db, TransactionContext txContext, in update()
254 private void handlePrimaryAndSuperPrimary(TransactionContext txContext, ContentValues values, in handlePrimaryAndSuperPrimary()
317 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
371 protected void fixRawContactDisplayName(SQLiteDatabase db, TransactionContext txContext, in fixRawContactDisplayName()
379 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact()
419 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
DDataRowHandlerForEmail.java41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
58 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
80 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DDataRowHandlerForNickname.java43 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
59 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
81 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.java47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
103 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()
DDataRowHandlerForPhoneNumber.java48 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
67 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
109 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
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
49 public TransactionContext(boolean forProfile) { in TransactionContext() method in TransactionContext
DDataRowHandlerForStructuredName.java61 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert()
80 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
110 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete()
DContactsProvider2.java1428 private final TransactionContext mContactTransactionContext = new TransactionContext(false);
1429 private final TransactionContext mProfileTransactionContext = new TransactionContext(true);
1430 private final ThreadLocal<TransactionContext> mTransactionContext =
1431 new ThreadLocal<TransactionContext>();
3299 final TransactionContext context = mTransactionContext.get(); in insertData()
DContactsDatabaseHelper.java4312 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { in updateContactVisibleOnlyIfChanged()
4320 public void updateContactVisible(TransactionContext txContext, long contactId) { in updateContactVisible()
4325 TransactionContext txContext, long contactId, boolean onlyIfChanged) { in updateContactVisible()