Home
last modified time | relevance | path

Searched refs:currentContactId (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java80 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
84 Log.v(TAG, "aggregateContact: rid=" + rawContactId + " cid=" + currentContactId); in aggregateContact()
109 if (currentContactId == 0 in aggregateContact()
110 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact()
116 if (contactId != -1 && contactId != currentContactId) { in aggregateContact()
173 if (currentContactId != 0) { in aggregateContact()
174 mRawContactCountQuery.bindLong(1, currentContactId); in aggregateContact()
182 && currentContactId != 0 in aggregateContact()
185 contactId = currentContactId; in aggregateContact()
188 if (contactId == currentContactId) { in aggregateContact()
[all …]
DContactAggregator2.java92 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
103 Log.v(TAG, "aggregateContact: rid=" + rawContactId + " cid=" + currentContactId); in aggregateContact()
118 if (currentContactId == 0 in aggregateContact()
119 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact()
132 if (currentContactId != 0) { in aggregateContact()
133 mRawContactCountQuery.bindLong(1, currentContactId); in aggregateContact()
155 if (currentContactId != 0 in aggregateContact()
177 updateAggregateData(txContext, currentContactId); in aggregateContact()
186 reAggregateRawContacts(txContext, db, currentContactId, rawContactId, accountId, in aggregateContact()
355 Long currentContactId = matchingCandidates.getContactId(connectedRawContactId); in reAggregateRawContacts() local
[all …]
DAbstractContactAggregator.java733 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java369 long currentContactId = -1; in buildAndInsertIndex() local
372 if (contactId != currentContactId) { in buildAndInsertIndex()
373 if (currentContactId != -1) { in buildAndInsertIndex()
374 insertIndexRow(db, currentContactId, mIndexBuilder); in buildAndInsertIndex()
377 currentContactId = contactId; in buildAndInsertIndex()
387 if (currentContactId != -1) { in buildAndInsertIndex()
388 insertIndexRow(db, currentContactId, mIndexBuilder); in buildAndInsertIndex()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DParticipantRefresh.java493 final long currentContactId = participantData.getContactId(); in refreshFromContacts() local
520 if (currentContactId != ParticipantData.PARTICIPANT_CONTACT_ID_NOT_FOUND) { in refreshFromContacts()
535 if (matchingContactId == -1 || currentContactId == contactId) { in refreshFromContacts()
549 if (currentContactId < 0 in refreshFromContacts()
551 || currentContactId == contactId) { in refreshFromContacts()
568 final boolean isContactIdChanged = (matchingContactId != currentContactId); in refreshFromContacts()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java120 final int currentContactId = cursor.getInt(ParticipantsQuery.INDEX_CONTACT_ID); in verifyParticipant() local
124 if (currentContactId != contactId) { in verifyParticipant()
126 " expected=" + contactId + " actual=" + currentContactId); in verifyParticipant()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectPhoneNumbersListAdapter.java150 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView() local
153 if (currentContactId == previousContactId) { in bindView()
DMultiSelectEmailAddressesListAdapter.java150 final long currentContactId = cursor.getLong(EmailQuery.CONTACT_ID); in bindView() local
153 if (currentContactId == previousContactId) { in bindView()
DPhoneNumberListAdapter.java422 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView() local
425 if (currentContactId == previousContactId) { in bindView()
432 if (currentContactId == nextContactId) { in bindView()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java655 long currentContactId = contactCursor.getLong(contactIdColumn); in filterByRange() local
656 if (previousContactId != currentContactId) { in filterByRange()
657 previousContactId = currentContactId; in filterByRange()
659 contactIdsCursor.addRow(new Long[]{currentContactId}); in filterByRange()
661 Log.v(TAG, "contactIdsCursor.addRow: " + currentContactId); in filterByRange()