Home
last modified time | relevance | path

Searched defs:contactId (Results 1 – 25 of 98) sorted by relevance

1234

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSearchIndexManagerTest.java53 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName() local
74 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName_phoneticOnly() local
99 long contactId = queryContactId(rawContactId); in testSearchIndexForChineseName() local
135 long contactId = queryContactId(rawContactId); in testSearchIndexForKoreanName() local
199 long contactId = queryContactId(rawContactId); in testSearchIndexForOrganization() local
217 long contactId = queryContactId(rawContactId); in testSearchIndexForPhoneNumber() local
226 long contactId = queryContactId(rawContactId); in testSearchIndexForEmail() local
236 long contactId = queryContactId(rawContactId); in testSearchIndexForNickname() local
244 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredPostal() local
259 long contactId = queryContactId(rawContactId); in testSearchIndexForIm() local
[all …]
DContactLookupKeyTest.java54 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingDisplayNameAndNoAccount() local
64 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount() local
68 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount() local
89 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingSourceIdAndNoAccount() local
144 long contactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact() local
172 long contactId = queryContactId(rawContactId1); in testGetLookupUri() local
DContactsProvider2Test.java1025 long contactId = queryContactId(rawContactId); in testDataDirectoryWithLookupUri() local
1077 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithIdBasedUri() local
1099 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithLookupUri() local
1118 private void assertEntityRows(Uri entityUri, long contactId, long rawContactId1, in assertEntityRows()
1189 long contactId = queryContactId(rawContactId); in testDataInsert() local
1347 long contactId = queryContactId(rawContactId); in testPhonesQuery() local
2065 long contactId = c.getLong(c.getColumnIndex(PhoneLookup._ID)); in testPhoneLookupEnterprise_noCorpProfile() local
2094 long contactId = c.getLong(c.getColumnIndex(PhoneLookup._ID)); in testPhoneLookupEnterprise_withCorpProfile_nullResult() local
2199 long contactId = c.getLong(c.getColumnIndex(Phone.CONTACT_ID)); in testQueryMergedDataPhones() local
2243 long contactId = c.getLong(c.getColumnIndex(Phone.CONTACT_ID)); in testQueryMergedDataPhones_nullCorp() local
[all …]
DGroupsTest.java232 final long contactId = this.queryContactId(rawContactId); in assertRawContactVisible() local
236 public void assertContactVisible(long contactId, boolean expected) { in assertContactVisible()
246 public ContentProviderOperation buildVisibleAssert(long contactId, boolean visible) { in buildVisibleAssert()
260 final long contactId = this.queryContactId(rawContactId); in testDelayVisibleTransaction() local
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DContactUtil.java33 public static void update(ContentResolver resolver, long contactId, in update()
39 public static void delete(ContentResolver resolver, long contactId) { in delete()
44 public static boolean recordExistsForContactId(ContentResolver resolver, long contactId) { in recordExistsForContactId()
56 public static long queryContactLastUpdatedTimestamp(ContentResolver resolver, long contactId) { in queryContactLastUpdatedTimestamp()
DDatabaseAsserts.java70 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContact() local
85 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContactWithName() local
98 public static void assertHasDeleteLogGreaterThan(ContentResolver resolver, long contactId, in assertHasDeleteLogGreaterThan()
115 public ContactIdPair(long contactId, long rawContactId) { in ContactIdPair()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java58 public static void updateContactLastUpdateByContactId(SQLiteDatabase db, long contactId) { in updateContactLastUpdateByContactId()
112 public static int deleteContact(SQLiteDatabase db, long contactId) { in deleteContact()
134 long contactId = cursor.getLong(0); in deleteContactIfSingleton() local
DDeletedContactsTableUtil.java56 public static long insertDeletedContact(SQLiteDatabase db, long contactId) { in insertDeletedContact()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java163 private MatchScore getMatchingScore(long contactId) { in getMatchingScore()
182 public void matchIdentity(long contactId) { in matchIdentity()
193 public void matchName(long contactId, int candidateNameType, String candidateName, in matchName()
244 public void updateScoreWithPhoneNumberMatch(long contactId) { in updateScoreWithPhoneNumberMatch()
248 public void updateScoreWithEmailMatch(long contactId) { in updateScoreWithEmailMatch()
252 public void updateScoreWithNicknameMatch(long contactId) { in updateScoreWithNicknameMatch()
256 private void updatePrimaryScore(long contactId, int score) { in updatePrimaryScore()
260 private void updateSecondaryScore(long contactId, int score) { in updateSecondaryScore()
264 public void keepIn(long contactId) { in keepIn()
268 public void keepOut(long contactId) { in keepOut()
[all …]
DRawContactMatcher.java168 private MatchScore getMatchingScore(long rawContactId, long contactId, long accountId) { in getMatchingScore()
191 public void matchName(long rawContactId, long contactId, long accountId, int in matchName()
242 public void matchIdentity(long rawContactId, long contactId, long accountId) { in matchIdentity()
246 public void updateScoreWithPhoneNumberMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithPhoneNumberMatch()
250 public void updateScoreWithEmailMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithEmailMatch()
254 public void updateScoreWithNicknameMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithNicknameMatch()
258 private void updatePrimaryScore(long rawContactId, long contactId, long accountId, int score) { in updatePrimaryScore()
262 private void updateSecondaryScore(long rawContactId, long contactId, long accountId, in updateSecondaryScore()
267 public void keepIn(long rawContactId, long contactId, long accountId) { in keepIn()
271 public void keepOut(long rawContactId, long contactId, long accountId) { in keepOut()
[all …]
DMatchScore.java38 public MatchScore(long rawContactId, long contactId, long accountId) { in MatchScore()
44 public MatchScore(long contactId) { in MatchScore()
50 public void reset(long rawContactId, long contactId, long accountId) { in reset()
61 public void reset(long contactId) { in reset()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java295 long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
305 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
314 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
327 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
337 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
350 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
396 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
415 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
428 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
438 final long contactId = findArbitraryContactWithPhoneNumber(); in onListItemClick() local
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java94 long contactId = -1; // Best matching contact ID. in aggregateContact() local
248 private void clearSuperPrimarySetting(SQLiteDatabase db, long contactId, long rawContactId) { in clearSuperPrimarySetting()
417 long contactId, long currentContactId, long rawContactId, in reAggregateRawContacts()
474 public void updateAggregationAfterVisibilityChange(long contactId) { in updateAggregationAfterVisibilityChange()
516 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated()
572 long contactId = -1; in pickBestMatchBasedOnExceptions() local
722 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch() local
768 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local
793 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnEmailMatches() local
824 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches() local
[all …]
DAbstractContactAggregator.java518 long contactId = mDbHelper.getContactId(rawContactId); in triggerAggregation() local
576 protected final void markContactForAggregation(SQLiteDatabase db, long contactId) { in markContactForAggregation()
645 long contactId = insertContact(db, rawContactId); in onRawContactInsert() local
680 long contactId = 0; in aggregateContact() local
699 public void updateAggregateData(TransactionContext txContext, long contactId) { in updateAggregateData()
713 protected final void updateAggregatedStatusUpdate(long contactId) { in updateAggregatedStatusUpdate()
723 public final void updateLastStatusUpdateId(long contactId) { in updateLastStatusUpdateId()
869 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts()
900 protected final void setContactId(long rawContactId, long contactId) { in setContactId()
921 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated()
[all …]
DContactAggregator2.java333 Long contactId = null; in reAggregateRawContacts() local
399 private boolean canBeReused(SQLiteDatabase db, Long contactId, in canBeReused()
459 public void updateAggregationAfterVisibilityChange(long contactId) { in updateAggregationAfterVisibilityChange()
523 long contactId = -1; in updateMatchScoresBasedOnExceptions() local
568 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch() local
592 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local
622 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnEmailMatches() local
650 long contactId = c.getLong(NameLookupMatchQueryWithParameter.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local
693 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches() local
760 Long contactId = c.getLong(ContactNameLookupQuery.CONTACT_ID); in matchAllCandidates() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleRecipientEntry.java32 final long contactId, final Long directoryId, final long dataId, in BugleRecipientEntry()
41 final String destinationLabel, final long contactId, final Long directoryId, in constructTopLevelEntry()
51 final String destinationLabel, final long contactId, final Long directoryId, in constructSecondLevelEntry()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterpriseContactsCursorWrapper.java82 final long contactId = super.getLong(contactIdIndices[0]); in getString() local
168 private static String getCorpThumbnailUri(long contactId, Cursor originalCursor) { in getCorpThumbnailUri()
194 private static String getCorpDisplayPhotoUri(long contactId, Cursor originalCursor) { in getCorpDisplayPhotoUri()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactViewHolder.java44 private long contactId; field in ContactViewHolder
65 String headerText, String displayName, Uri contactUri, long contactId, boolean showHeader) { in bind()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java195 public static void showOrAddContact(final View view, final long contactId, in showOrAddContact()
413 private static CursorQueryData lookupStructuredName(final Context context, final long contactId, in lookupStructuredName()
443 public static String lookupFirstName(final Context context, final long contactId) { in lookupFirstName()
469 final String destinationLabel, final long contactId, final String lookupKey, in createRecipientEntry()
488 final long contactId = cursor.getLong(ContactUtil.INDEX_CONTACT_ID); in createRecipientEntryForPhoneQuery() local
514 public static boolean isValidContactId(final long contactId) { in isValidContactId()
521 public static boolean isEnterpriseContactId(final long contactId) { in isEnterpriseContactId()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPinnedPositionsCompat.java41 public static void undemote(ContentResolver contentResolver, long contactId) { in undemote()
DContactsCompat.java52 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId()
/packages/apps/Dialer/java/com/android/contacts/common/
DContactsUtils.java60 public static @UserType long determineUserType(Long directoryId, Long contactId) { in determineUserType()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java81 private void addParticipant(final String normalizedDestination, final long contactId, in addParticipant()
103 private void verifyParticipant(final String normalizedDestination, final long contactId, in verifyParticipant()
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntry.java43 public abstract long contactId(); in contactId() method in SpeedDialEntry
71 public abstract Builder setContactId(long contactId); in setContactId()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListAdapter.java143 public void setSelectedContact(long selectedDirectoryId, String lookupKey, long contactId) { in setSelectedContact()
170 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() local
192 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in isEnterpriseContact() local
326 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getSelectedContactPosition() local

1234