/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | TransactionContextTest.java | 33 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()
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ProfileAggregator.java | 29 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()
|
H A D | AbstractContactAggregator.java | 40 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()
|
H A D | ContactAggregator.java | 39 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()
|
H A D | ContactAggregator2.java | 46 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()
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForIdentity.java | 35 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()
|
H A D | DataRowHandlerForNickname.java | 39 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()
|
H A D | DataRowHandler.java | 112 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 155 public boolean update(SQLiteDatabase db, TransactionContext txContext, in update() 250 private void handlePrimaryAndSuperPrimary(TransactionContext txContext, ContentValues values, in handlePrimaryAndSuperPrimary() 313 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() 367 protected void fixRawContactDisplayName(SQLiteDatabase db, TransactionContext txContext, in fixRawContactDisplayName() 375 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact() 415 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
|
H A D | DataRowHandlerForGroupMembership.java | 76 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,
|
H A D | DataRowHandlerForEmail.java | 37 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()
|
H A D | DataRowHandlerForPhoto.java | 58 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()
|
H A D | DataRowHandlerForOrganization.java | 41 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()
|
H A D | DataRowHandlerForCommonDataKind.java | 44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 51 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
|
H A D | DataRowHandlerForPhoneNumber.java | 42 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()
|
H A D | DataRowHandlerForStructuredPostal.java | 55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update()
|
H A D | TransactionContext.java | 32 public class TransactionContext { class 49 public TransactionContext(boolean forProfile) { in TransactionContext() method in TransactionContext
|
H A D | DataRowHandlerForStructuredName.java | 47 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()
|
H A D | ContactsProvider2.java | 1388 private final TransactionContext mContactTransactionContext = new TransactionContext(false); 1389 private final TransactionContext mProfileTransactionContext = new TransactionContext(true); 1390 private final ThreadLocal<TransactionContext> mTransactionContext = 1391 new ThreadLocal<TransactionContext>(); 3016 final TransactionContext context = mTransactionContext.get(); in insertData()
|
H A D | ContactsDatabaseHelper.java | 4078 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { in updateContactVisibleOnlyIfChanged() 4086 public void updateContactVisible(TransactionContext txContext, long contactId) { in updateContactVisible() 4091 TransactionContext txContext, long contactId, boolean onlyIfChanged) { in updateContactVisible()
|