Searched defs:txContext (Results 1 - 14 of 14) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForIdentity.java36 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 DDataRowHandlerForNickname.java40 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 DDataRowHandlerForCommonDataKind.java44 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 DDataRowHandlerForEmail.java38 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 DDataRowHandlerForOrganization.java42 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 DDataRowHandlerForPhoneNumber.java42 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 DDataRowHandlerForPhoto.java58 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 DDataRowHandlerForStructuredPostal.java55 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 DDataRowHandlerForGroupMembership.java76 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 DDataRowHandlerForStructuredName.java47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, argument
51 long dataId = super.insert(db, txContext, rawContactId, values);
59 fixRawContactDisplayName(db, txContext, rawContactId);
60 triggerAggregation(txContext, rawContactId);
65 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, argument
77 super.update(db, txContext, values, c, callerIsSyncAdapter);
88 fixRawContactDisplayName(db, txContext, rawContactId);
89 triggerAggregation(txContext, rawContactId);
94 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { argument
98 int count = super.delete(db, txContext,
[all...]
H A DDataRowHandler.java109 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 DContactsDatabaseHelper.java4809 public boolean updateContactVisibleOnlyIfChanged(TransactionContext txContext, long contactId) { argument
4810 return updateContactVisible(txContext, contactId, true);
4817 public void updateContactVisible(TransactionContext txContext, long contactId) { argument
4818 updateContactVisible(txContext, contactId, false);
4822 TransactionContext txContext, long contactId, boolean onlyIfChanged) {
4873 txContext.invalidateSearchIndexForContact(contactId);
4821 updateContactVisible( TransactionContext txContext, long contactId, boolean onlyIfChanged) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DProfileAggregator.java62 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 DContactAggregator.java430 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { argument
489 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i],
504 public void triggerAggregation(TransactionContext txContext, long rawContactId) { argument
523 updateAggregateData(txContext, contactId);
529 aggregateContact(txContext, mDbHelper.getWritableDatabase(), rawContactId);
644 TransactionContext txContext, SQLiteDatabase db, long rawContactId) {
647 mDbHelper.updateContactVisible(txContext, contactId);
672 TransactionContext txContext, SQLiteDatabase db, long rawContactId) {
695 aggregateContact(txContext, db, rawContactId, accountId, contactId,
699 public void updateAggregateData(TransactionContext txContext, lon argument
643 onRawContactInsert( TransactionContext txContext, SQLiteDatabase db, long rawContactId) argument
671 aggregateContact( TransactionContext txContext, SQLiteDatabase db, long rawContactId) argument
733 aggregateContact(TransactionContext txContext, SQLiteDatabase db, long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1148 reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, long contactId, long currentContactId, long rawContactId, Set<Long> existingRawContactIds) argument
1266 createContactForRawContacts(SQLiteDatabase db, TransactionContext txContext, Set<Long> rawContactIds, Long contactId) argument
[all...]

Completed in 391 milliseconds