/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForIdentity.java | 36 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 38 final long dataId = super.insert(db, txContext, rawContactId, values); 42 triggerAggregation(txContext, rawContactId); 49 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 52 super.update(db, txContext, values, c, callerIsSyncAdapter); 57 triggerAggregation(txContext, rawContactId); 64 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 65 final int count = super.delete(db, txContext, c); 69 triggerAggregation(txContext, rawContactId);
|
H A D | DataRowHandlerForNickname.java | 40 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 44 long dataId = super.insert(db, txContext, rawContactId, values); 47 fixRawContactDisplayName(db, txContext, rawContactId); 49 triggerAggregation(txContext, rawContactId); 55 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 60 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 68 fixRawContactDisplayName(db, txContext, rawContactId); 69 triggerAggregation(txContext, rawContactId); 76 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 80 int count = super.delete(db, txContext, [all...] |
H A D | DataRowHandlerForCommonDataKind.java | 44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 47 return super.insert(db, txContext, rawContactId, values); 51 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 59 return super.update(db, txContext, values, c, callerIsSyncAdapter);
|
H A D | DataRowHandlerForEmail.java | 38 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 42 long dataId = super.insert(db, txContext, rawContactId, values); 44 fixRawContactDisplayName(db, txContext, rawContactId); 47 triggerAggregation(txContext, rawContactId); 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 66 fixRawContactDisplayName(db, txContext, rawContactId); 67 triggerAggregation(txContext, rawContactId); 74 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 78 int count = super.delete(db, txContext, [all...] |
H A D | DataRowHandlerForOrganization.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 47 long dataId = super.insert(db, txContext, rawContactId, values); 49 fixRawContactDisplayName(db, txContext, rawContactId); 54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 56 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 90 fixRawContactDisplayName(db, txContext, rawContactId); 96 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 100 int count = super.delete(db, txContext, c); 101 fixRawContactDisplayName(db, txContext, rawContactId);
|
H A D | DataRowHandlerForPhoneNumber.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 46 final long dataId = super.insert(db, txContext, rawContactId, values); 52 fixRawContactDisplayName(db, txContext, rawContactId); 54 triggerAggregation(txContext, rawContactId); 60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 64 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 75 fixRawContactDisplayName(db, txContext, rawContactId); 77 triggerAggregation(txContext, rawContactId); 101 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 105 int count = super.delete(db, txContext, [all...] |
H A D | DataRowHandlerForPhoto.java | 58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 70 long dataId = super.insert(db, txContext, rawContactId, values); 71 if (!txContext.isNewRawContact(rawContactId)) { 78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 92 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 131 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 133 int count = super.delete(db, txContext, c);
|
H A D | DataRowHandlerForStructuredPostal.java | 55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 58 return super.insert(db, txContext, rawContactId, values); 62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 71 super.update(db, txContext, values, c, callerIsSyncAdapter);
|
H A D | DataRowHandlerForGroupMembership.java | 76 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 78 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, true); 79 long dataId = super.insert(db, txContext, rawContactId, values); 83 updateVisibility(txContext, rawContactId); 88 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 92 resolveGroupSourceIdInValues(txContext, rawContactId, db, values, false); 93 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 100 updateVisibility(txContext, rawContactId); 124 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 127 int count = super.delete(db, txContext, 136 updateVisibility(TransactionContext txContext, long rawContactId) argument 147 resolveGroupSourceIdInValues(TransactionContext txContext, long rawContactId, SQLiteDatabase db, ContentValues values, boolean isInsert) argument [all...] |
H A D | DataRowHandlerForStructuredName.java | 47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 51 long dataId = super.insert(db, txContext, rawContactId, values); 60 fixRawContactDisplayName(db, txContext, rawContactId); 61 triggerAggregation(txContext, rawContactId); 66 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument 78 super.update(db, txContext, values, c, callerIsSyncAdapter); 93 fixRawContactDisplayName(db, txContext, rawContactId); 94 triggerAggregation(txContext, rawContactId); 99 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 103 int count = super.delete(db, txContext, [all...] |
H A D | DataRowHandler.java | 109 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument 137 txContext.invalidateSearchIndexForRawContact(rawContactId); 149 public boolean update(SQLiteDatabase db, TransactionContext txContext, argument 162 txContext.invalidateSearchIndexForRawContact(rawContactId); 165 txContext.markRawContactDirtyAndChanged(rawContactId, callerIsSyncAdapter); 248 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument 261 txContext.invalidateSearchIndexForRawContact(rawContactId); 302 protected void fixRawContactDisplayName(SQLiteDatabase db, TransactionContext txContext, argument 304 if (!isNewRawContact(txContext, rawContactId)) { 310 private boolean isNewRawContact(TransactionContext txContext, lon argument 350 triggerAggregation(TransactionContext txContext, long rawContactId) argument [all...] |
H A D | ContactsDatabaseHelper.java | 4573 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { argument 4574 return updateContactVisible(txContext, contactId, true); 4581 public void updateContactVisible(TransactionContext txContext, long contactId) { argument 4582 updateContactVisible(txContext, contactId, false); 4586 TransactionContext txContext, long contactId, boolean onlyIfChanged) { 4638 txContext.invalidateSearchIndexForContact(contactId); 4585 updateContactVisible( TransactionContext txContext, long contactId, boolean onlyIfChanged) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ProfileAggregator.java | 62 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db, argument 64 aggregateContact(txContext, db, rawContactId); 69 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { argument 74 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db, argument 86 updateAggregateData(txContext, mContactId);
|
H A D | ContactAggregator.java | 413 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { argument 472 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], 487 public void triggerAggregation(TransactionContext txContext, long rawContactId) { argument 506 updateAggregateData(txContext, contactId); 512 aggregateContact(txContext, mDbHelper.getWritableDatabase(), rawContactId); 627 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { 630 mDbHelper.updateContactVisible(txContext, contactId); 655 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { 678 aggregateContact(txContext, db, rawContactId, accountId, contactId, 682 public void updateAggregateData(TransactionContext txContext, lon argument 626 onRawContactInsert( TransactionContext txContext, SQLiteDatabase db, long rawContactId) argument 654 aggregateContact( TransactionContext txContext, SQLiteDatabase db, long rawContactId) argument 716 aggregateContact(TransactionContext txContext, SQLiteDatabase db, long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) argument 958 splitAutomaticallyAggregatedRawContacts( TransactionContext txContext, SQLiteDatabase db, long contactId) argument 1009 createNewContactForRawContact( TransactionContext txContext, SQLiteDatabase db, long rawContactId) argument [all...] |