/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SearchIndexManagerTest.java | 54 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName() local 75 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName_phoneticOnly() local 100 long contactId = queryContactId(rawContactId); in testSearchIndexForChineseName() local 136 long contactId = queryContactId(rawContactId); in testSearchIndexForKoreanName() local 200 long contactId = queryContactId(rawContactId); in testSearchIndexForOrganization() local 218 long contactId = queryContactId(rawContactId); in testSearchIndexForPhoneNumber() local 227 long contactId = queryContactId(rawContactId); in testSearchIndexForEmail() local 237 long contactId = queryContactId(rawContactId); in testSearchIndexForNickname() local 245 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredPostal() local 260 long contactId = queryContactId(rawContactId); in testSearchIndexForIm() local [all …]
|
D | ContactLookupKeyTest.java | 62 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingDisplayNameAndNoAccount() local 72 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount() local 76 Contacts._ID, contactId); in testLookupKeyUsingDisplayNameAndNoAccount() local 101 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingSourceIdAndNoAccount() local 158 long contactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact() local 187 long contactId = queryContactId(rawContactId1); in testGetLookupUri() local
|
D | ContactsProvider2Test.java | 1251 long contactId = queryContactId(rawContactId); in testDataDirectoryWithLookupUri() local 1303 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithIdBasedUri() local 1325 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithLookupUri() local 1344 private void assertEntityRows(Uri entityUri, long contactId, long rawContactId1, in assertEntityRows() 1415 long contactId = queryContactId(rawContactId); in testDataInsert() local 1573 long contactId = queryContactId(rawContactId); in testPhonesQuery() local 2291 long contactId = c.getLong(c.getColumnIndex(PhoneLookup._ID)); in testPhoneLookupEnterprise_noCorpProfile() local 2320 long contactId = c.getLong(c.getColumnIndex(PhoneLookup._ID)); in testPhoneLookupEnterprise_withCorpProfile_nullResult() local 2425 long contactId = c.getLong(c.getColumnIndex(Phone.CONTACT_ID)); in testQueryMergedDataPhones() local 2469 long contactId = c.getLong(c.getColumnIndex(Phone.CONTACT_ID)); in testQueryMergedDataPhones_nullCorp() local [all …]
|
D | GroupsTest.java | 233 final long contactId = this.queryContactId(rawContactId); in assertRawContactVisible() local 237 public void assertContactVisible(long contactId, boolean expected) { in assertContactVisible() 247 public ContentProviderOperation buildVisibleAssert(long contactId, boolean visible) { in buildVisibleAssert() 261 final long contactId = this.queryContactId(rawContactId); in testDelayVisibleTransaction() local
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | ContactUtil.java | 33 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()
|
D | DatabaseAsserts.java | 70 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/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProvider.java | 141 private static boolean shouldhaveAdditionalData(long contactId) { in shouldhaveAdditionalData() 146 private static int calculateIsSuperPrimary(long contactId) { in calculateIsSuperPrimary() 151 private static int calculateIsPrimary(long contactId) { in calculateIsPrimary() 156 private static void addEmail(long contactId, ContentValues values) { in addEmail() 167 private static void addNickname(long contactId, ContentValues values) { in addNickname() 173 private static void addPhone(long contactId, ContentValues values) { in addPhone() 184 private static void addStructuredPostal(long contactId, ContentValues values) { in addStructuredPostal() 206 private void addStructuredName(long contactId, ContentValues values) { in addStructuredName() 239 private void addEmailToBuilder(PersonBuilderHelper builderHelper, long contactId) { in addEmailToBuilder() 247 private void addNicknameToBuilder(PersonBuilderHelper builderHelper, long contactId) { in addNicknameToBuilder() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactMatcher.java | 161 private MatchScore getMatchingScore(long contactId) { in getMatchingScore() 180 public void matchIdentity(long contactId) { in matchIdentity() 191 public void matchName(long contactId, int candidateNameType, String candidateName, in matchName() 242 public void updateScoreWithPhoneNumberMatch(long contactId) { in updateScoreWithPhoneNumberMatch() 246 public void updateScoreWithEmailMatch(long contactId) { in updateScoreWithEmailMatch() 250 public void updateScoreWithNicknameMatch(long contactId) { in updateScoreWithNicknameMatch() 254 private void updatePrimaryScore(long contactId, int score) { in updatePrimaryScore() 258 private void updateSecondaryScore(long contactId, int score) { in updateSecondaryScore() 262 public void keepIn(long contactId) { in keepIn() 266 public void keepOut(long contactId) { in keepOut() [all …]
|
D | RawContactMatcher.java | 166 private MatchScore getMatchingScore(long rawContactId, long contactId, long accountId) { in getMatchingScore() 189 public void matchName(long rawContactId, long contactId, long accountId, int in matchName() 240 public void matchIdentity(long rawContactId, long contactId, long accountId) { in matchIdentity() 244 public void updateScoreWithPhoneNumberMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithPhoneNumberMatch() 248 public void updateScoreWithEmailMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithEmailMatch() 252 public void updateScoreWithNicknameMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithNicknameMatch() 256 private void updatePrimaryScore(long rawContactId, long contactId, long accountId, int score) { in updatePrimaryScore() 260 private void updateSecondaryScore(long rawContactId, long contactId, long accountId, in updateSecondaryScore() 265 public void keepIn(long rawContactId, long contactId, long accountId) { in keepIn() 269 public void keepOut(long rawContactId, long contactId, long accountId) { in keepOut() [all …]
|
D | MatchScore.java | 38 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/ |
D | AllIntentsActivity.java | 295 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/ |
D | ContactAggregator.java | 92 long contactId = -1; // Best matching contact ID. in aggregateContact() local 246 private void clearSuperPrimarySetting(SQLiteDatabase db, long contactId, long rawContactId) { in clearSuperPrimarySetting() 415 long contactId, long currentContactId, long rawContactId, in reAggregateRawContacts() 472 public void updateAggregationAfterVisibilityChange(long contactId) { in updateAggregationAfterVisibilityChange() 514 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated() 570 long contactId = -1; in pickBestMatchBasedOnExceptions() local 720 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch() local 766 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local 791 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnEmailMatches() local 822 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches() local [all …]
|
D | AbstractContactAggregator.java | 514 long contactId = mDbHelper.getContactId(rawContactId); in triggerAggregation() local 572 protected final void markContactForAggregation(SQLiteDatabase db, long contactId) { in markContactForAggregation() 641 long contactId = insertContact(db, rawContactId); in onRawContactInsert() local 676 long contactId = 0; in aggregateContact() local 695 public void updateAggregateData(TransactionContext txContext, long contactId) { in updateAggregateData() 709 protected final void updateAggregatedStatusUpdate(long contactId) { in updateAggregatedStatusUpdate() 719 public final void updateLastStatusUpdateId(long contactId) { in updateLastStatusUpdateId() 865 TransactionContext txContext, Set<Long> rawContactIds, Long contactId) { in createContactForRawContacts() 896 protected final void setContactId(long rawContactId, long contactId) { in setContactId() 917 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated() [all …]
|
D | ContactAggregator2.java | 331 Long contactId = null; in reAggregateRawContacts() local 397 private boolean canBeReused(SQLiteDatabase db, Long contactId, in canBeReused() 457 public void updateAggregationAfterVisibilityChange(long contactId) { in updateAggregationAfterVisibilityChange() 521 long contactId = -1; in updateMatchScoresBasedOnExceptions() local 566 final long contactId = c.getLong(IdentityLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnIdentityMatch() local 590 long contactId = c.getLong(NameLookupMatchQuery.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local 620 long contactId = c.getLong(EmailLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnEmailMatches() local 648 long contactId = c.getLong(NameLookupMatchQueryWithParameter.CONTACT_ID); in updateMatchScoresBasedOnNameMatches() local 691 long contactId = c.getLong(PhoneLookupQuery.CONTACT_ID); in updateMatchScoresBasedOnPhoneMatches() local 758 Long contactId = c.getLong(ContactNameLookupQuery.CONTACT_ID); in matchAllCandidates() local [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/ |
D | PersonEnterpriseTransformer.java | 121 long contactId = Long.parseLong(originalDocument.getId()); in transformDocument() local 142 static String getCorpImageUri(long contactId) { in getCorpImageUri() 173 long contactId = Long.parseLong(pathSegments.get(3)); in getCorpLookupUri() local 183 private static String getCorpLookupUriFromLookupKey(@NonNull String lookupKey, long contactId) { in getCorpLookupUriFromLookupKey()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
D | ContactsTableUtil.java | 58 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
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleRecipientEntry.java | 32 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/apps/Messaging/src/com/android/messaging/util/ |
D | ContactUtil.java | 195 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/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterpriseContactsCursorWrapper.java | 82 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/ |
D | ContactViewHolder.java | 44 private long contactId; field in ContactViewHolder 65 String headerText, String displayName, Uri contactUri, long contactId, boolean showHeader) { in bind()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | ParticipantRefreshTest.java | 82 private void addParticipant(final String normalizedDestination, final long contactId, in addParticipant() 104 private void verifyParticipant(final String normalizedDestination, final long contactId, in verifyParticipant()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2Test.java | 158 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate() local 1205 long contactId = queryContactId(rawContactId); in testDisplayNameSources() local 1244 long contactId = queryContactId(rawContactId1); in testMergeSuperPrimaryName_rawContact1() local 1263 long contactId = queryContactId(rawContactId1); in testMergeSuperPrimaryName_rawContact2AndEdit() local 1301 long contactId = queryContactId(rawContactId1); in testMergedSuperPrimaryName_changeSuperPrimary() local 1546 long contactId = queryContactId(rawContactId1); in testAggregation_phoneticNamePriority1() local 1564 long contactId = queryContactId(rawContactId1); in testAggregation_phoneticNamePriority2() local 1580 long contactId = queryContactId(rawContactId1); in testAggregation_nameComplexity1() local 1597 long contactId = queryContactId(rawContactId1); in testAggregation_nameComplexity2() local 1794 private void assertSuggestions(long contactId, long... suggestions) { in assertSuggestions() [all …]
|
D | ContactAggregatorTest.java | 158 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate() local 1207 long contactId = queryContactId(rawContactId); in testDisplayNameSources() local 1246 long contactId = queryContactId(rawContactId1); in testMergeSuperPrimaryName_rawContact1() local 1265 long contactId = queryContactId(rawContactId1); in testMergeSuperPrimaryName_rawContact2AndEdit() local 1303 long contactId = queryContactId(rawContactId1); in testMergedSuperPrimaryName_changeSuperPrimary() local 1548 long contactId = queryContactId(rawContactId1); in testAggregation_phoneticNamePriority1() local 1566 long contactId = queryContactId(rawContactId1); in testAggregation_phoneticNamePriority2() local 1582 long contactId = queryContactId(rawContactId1); in testAggregation_nameComplexity1() local 1599 long contactId = queryContactId(rawContactId1); in testAggregation_nameComplexity2() local 1682 private void assertSuggestions(long contactId, long... suggestions) { in assertSuggestions() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntry.java | 43 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/compat/ |
D | PinnedPositionsCompat.java | 41 public static void undemote(ContentResolver contentResolver, long contactId) { in undemote()
|