/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForGroupMembership.java | 76 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 78 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, true); in insert() 79 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 83 updateVisibility(txContext, rawContactId); in insert() 88 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 92 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, false); in update() 93 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 100 updateVisibility(txContext, rawContactId); in update() 124 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { 127 int count = super.delete(db, txContext, c); [all …]
|
D | DataRowHandlerForNickname.java | 40 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 44 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 47 fixRawContactDisplayName(db, txContext, rawContactId); in insert() 49 triggerAggregation(txContext, rawContactId); in insert() 55 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 60 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 68 fixRawContactDisplayName(db, txContext, rawContactId); in update() 69 triggerAggregation(txContext, rawContactId); in update() 76 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 80 int count = super.delete(db, txContext, c); in delete() [all …]
|
D | DataRowHandlerForEmail.java | 38 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 42 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 44 fixRawContactDisplayName(db, txContext, rawContactId); in insert() 47 triggerAggregation(txContext, rawContactId); in insert() 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 66 fixRawContactDisplayName(db, txContext, rawContactId); in update() 67 triggerAggregation(txContext, rawContactId); in update() 74 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 78 int count = super.delete(db, txContext, c); in delete() [all …]
|
D | DataRowHandlerForPhoneNumber.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 46 final long dataId = super.insert(db, txContext, rawContactId, values); in insert() 52 fixRawContactDisplayName(db, txContext, rawContactId); in insert() 54 triggerAggregation(txContext, rawContactId); in insert() 60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 64 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 75 fixRawContactDisplayName(db, txContext, rawContactId); in update() 77 triggerAggregation(txContext, rawContactId); in update() 101 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 105 int count = super.delete(db, txContext, c); in delete() [all …]
|
D | DataRowHandler.java | 109 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 137 txContext.invalidateSearchIndexForRawContact(rawContactId); in insert() 149 public boolean update(SQLiteDatabase db, TransactionContext txContext, in update() argument 162 txContext.invalidateSearchIndexForRawContact(rawContactId); in update() 165 txContext.markRawContactDirtyAndChanged(rawContactId, callerIsSyncAdapter); in update() 248 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 261 txContext.invalidateSearchIndexForRawContact(rawContactId); in delete() 302 protected void fixRawContactDisplayName(SQLiteDatabase db, TransactionContext txContext, in fixRawContactDisplayName() argument 304 if (!isNewRawContact(txContext, rawContactId)) { in fixRawContactDisplayName() 310 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact() argument [all …]
|
D | DataRowHandlerForStructuredName.java | 47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 51 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 59 fixRawContactDisplayName(db, txContext, rawContactId); in insert() 60 triggerAggregation(txContext, rawContactId); in insert() 65 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 77 super.update(db, txContext, values, c, callerIsSyncAdapter); in update() 88 fixRawContactDisplayName(db, txContext, rawContactId); in update() 89 triggerAggregation(txContext, rawContactId); in update() 94 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 98 int count = super.delete(db, txContext, c); in delete() [all …]
|
D | DataRowHandlerForIdentity.java | 36 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 38 final long dataId = super.insert(db, txContext, rawContactId, values); in insert() 42 triggerAggregation(txContext, rawContactId); in insert() 49 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 52 super.update(db, txContext, values, c, callerIsSyncAdapter); in update() 57 triggerAggregation(txContext, rawContactId); in update() 64 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 65 final int count = super.delete(db, txContext, c); in delete() 69 triggerAggregation(txContext, rawContactId); in delete()
|
D | DataRowHandlerForOrganization.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 47 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 49 fixRawContactDisplayName(db, txContext, rawContactId); in insert() 54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 56 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 90 fixRawContactDisplayName(db, txContext, rawContactId); in update() 96 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 100 int count = super.delete(db, txContext, c); in delete() 101 fixRawContactDisplayName(db, txContext, rawContactId); in delete()
|
D | DataRowHandlerForPhoto.java | 58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 70 long dataId = super.insert(db, txContext, rawContactId, values); in insert() 71 if (!txContext.isNewRawContact(rawContactId)) { in insert() 78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 92 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update() 131 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() argument 133 int count = super.delete(db, txContext, c); in delete()
|
D | DataRowHandlerForCommonDataKind.java | 44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 47 return super.insert(db, txContext, rawContactId, values); in insert() 51 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 59 return super.update(db, txContext, values, c, callerIsSyncAdapter); in update()
|
D | DataRowHandlerForStructuredPostal.java | 55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() argument 58 return super.insert(db, txContext, rawContactId, values); in insert() 62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() argument 71 super.update(db, txContext, values, c, callerIsSyncAdapter); in update()
|
D | ContactsDatabaseHelper.java | 4809 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { in updateContactVisibleOnlyIfChanged() argument 4810 return updateContactVisible(txContext, contactId, true); in updateContactVisibleOnlyIfChanged() 4817 public void updateContactVisible(TransactionContext txContext, long contactId) { in updateContactVisible() argument 4818 updateContactVisible(txContext, contactId, false); in updateContactVisible() 4822 TransactionContext txContext, long contactId, boolean onlyIfChanged) { in updateContactVisible() argument 4873 txContext.invalidateSearchIndexForContact(contactId); in updateContactVisible()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 430 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction() argument 489 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction() 504 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation() argument 523 updateAggregateData(txContext, contactId); in triggerAggregation() 529 aggregateContact(txContext, mDbHelper.getWritableDatabase(), rawContactId); in triggerAggregation() 644 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in onRawContactInsert() argument 647 mDbHelper.updateContactVisible(txContext, contactId); in onRawContactInsert() 672 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in aggregateContact() argument 695 aggregateContact(txContext, db, rawContactId, accountId, contactId, in aggregateContact() 699 public void updateAggregateData(TransactionContext txContext, long contactId) { in updateAggregateData() argument [all …]
|
D | ProfileAggregator.java | 62 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db, in onRawContactInsert() argument 64 aggregateContact(txContext, db, rawContactId); in onRawContactInsert() 69 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction() argument 74 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() argument 86 updateAggregateData(txContext, mContactId); in aggregateContact()
|