Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java78 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
82 Log.v(TAG, "aggregateContact: rid=" + rawContactId + " cid=" + currentContactId); in aggregateContact()
107 if (currentContactId == 0 in aggregateContact()
108 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact()
114 if (contactId != -1 && contactId != currentContactId) { in aggregateContact()
171 if (currentContactId != 0) { in aggregateContact()
172 mRawContactCountQuery.bindLong(1, currentContactId); in aggregateContact()
180 && currentContactId != 0 in aggregateContact()
183 contactId = currentContactId; in aggregateContact()
186 if (contactId == currentContactId) { in aggregateContact()
[all …]
DContactAggregator2.java90 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
101 Log.v(TAG, "aggregateContact: rid=" + rawContactId + " cid=" + currentContactId); in aggregateContact()
116 if (currentContactId == 0 in aggregateContact()
117 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact()
130 if (currentContactId != 0) { in aggregateContact()
131 mRawContactCountQuery.bindLong(1, currentContactId); in aggregateContact()
153 if (currentContactId != 0 in aggregateContact()
175 updateAggregateData(txContext, currentContactId); in aggregateContact()
184 reAggregateRawContacts(txContext, db, currentContactId, rawContactId, accountId, in aggregateContact()
353 Long currentContactId = matchingCandidates.getContactId(connectedRawContactId); in reAggregateRawContacts() local
[all …]
DAbstractContactAggregator.java730 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java370 long currentContactId = -1; in buildAndInsertIndex() local
373 if (contactId != currentContactId) { in buildAndInsertIndex()
374 if (currentContactId != -1) { in buildAndInsertIndex()
375 insertIndexRow(db, currentContactId, mIndexBuilder); in buildAndInsertIndex()
378 currentContactId = contactId; in buildAndInsertIndex()
388 if (currentContactId != -1) { in buildAndInsertIndex()
389 insertIndexRow(db, currentContactId, mIndexBuilder); in buildAndInsertIndex()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerImpl.java301 long currentContactId = -1; in indexContactsFromCursorAsync() local
306 if (contactId != currentContactId) { in indexContactsFromCursorAsync()
309 if (currentContactId != -1) { in indexContactsFromCursorAsync()
315 currentContactId = contactId; in indexContactsFromCursorAsync()
335 currentContactId, lookupKey) in indexContactsFromCursorAsync()
360 if (cursor.isAfterLast() && currentContactId != -1) { in indexContactsFromCursorAsync()
/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.java121 final int currentContactId = cursor.getInt(ParticipantsQuery.INDEX_CONTACT_ID); in verifyParticipant() local
125 if (currentContactId != contactId) { in verifyParticipant()
127 " 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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java823 long currentContactId = contactCursor.getLong(contactIdColumn); in filterByRange() local
824 if (previousContactId != currentContactId) { in filterByRange()
825 previousContactId = currentContactId; in filterByRange()
827 contactIdsCursor.addRow(new Long[] {currentContactId}); in filterByRange()
828 Log.v(TAG, "contactIdsCursor.addRow: " + currentContactId); in filterByRange()