/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SearchIndexManagerTest.java | 52 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName() local 73 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName_phoneticOnly() local 98 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForChineseName() local 115 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByChineseName() local 134 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForKoreanName() local 150 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanName() local 174 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanNameWithTwoCharactersFamilyName() local 198 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForOrganization() local 216 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForPhoneNumber() local 225 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForEmail() local [all …]
|
D | ContactsProvider2Test.java | 1016 long rawContactId = ContentUris.parseId(rowUri); in testRawContactsInsert() local 1028 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri() local 1189 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert() local 1217 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId() local 1274 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo() local 1298 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed() local 1347 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery() local 1413 final long rawContactId = RawContactUtil.createRawContact(mResolver); in testPhonesNormalizedNumber() local 1664 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup() local 1701 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup() local [all …]
|
D | BaseContactsProvider2Test.java | 240 protected Uri insertOrganization(long rawContactId, ContentValues values) { in insertOrganization() 244 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization() 248 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary, in insertOrganization() 264 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber) { in insertPhoneNumber() 268 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary) { in insertPhoneNumber() 272 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 277 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 282 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 300 protected Uri insertEmail(long rawContactId, String email) { in insertEmail() 304 protected Uri insertEmail(long rawContactId, String email, boolean primary) { in insertEmail() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | TransactionContext.java | 58 public void rawContactInserted(long rawContactId, long accountId) { in rawContactInserted() 65 public void rawContactUpdated(long rawContactId) { in rawContactUpdated() 70 public void markRawContactDirtyAndChanged(long rawContactId, boolean isSyncAdapter) { in markRawContactDirtyAndChanged() 81 public void markRawContactMetadataDirty(long rawContactId, boolean isMetadataSyncAdapter) { in markRawContactMetadataDirty() 90 public void markBackupIdChangedRawContact(long rawContactId) { in markBackupIdChangedRawContact() 97 public void markRawContactChangedOrDeletedOrInserted(long rawContactId) { in markRawContactChangedOrDeletedOrInserted() 109 public void invalidateSearchIndexForRawContact(long rawContactId) { in invalidateSearchIndexForRawContact() 164 public Long getAccountIdOrNullForRawContact(long rawContactId) { in getAccountIdOrNullForRawContact() 169 public boolean isNewRawContact(long rawContactId) { in isNewRawContact()
|
D | DataRowHandlerForGroupMembership.java | 76 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 90 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 104 private void updateRawContactsStar(SQLiteDatabase db, long rawContactId, boolean starred) { in updateRawContactsStar() 113 private boolean hasFavoritesGroupMembership(SQLiteDatabase db, long rawContactId) { in hasFavoritesGroupMembership()
|
D | DataRowHandlerForIdentity.java | 35 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 67 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in delete() local
|
D | NameLookupBuilder.java | 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() 99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { in insertNameLookup() 239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, in insertNameVariants() 266 private void insertNameVariant(long rawContactId, long dataId, int tokenCount, in insertNameVariant() 287 private void insertCollationKey(long rawContactId, long dataId, int tokenCount) { in insertCollationKey() 302 private void insertNicknamePermutations(long rawContactId, long dataId, int fromIndex, in insertNicknamePermutations()
|
D | DataRowHandler.java | 112 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 160 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 254 long dataId, long rawContactId, boolean callerIsMetadataSyncAdapter) { in handlePrimaryAndSuperPrimary() 320 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local 338 private void fixPrimary(SQLiteDatabase db, long rawContactId) { in fixPrimary() 374 long rawContactId) { in fixRawContactDisplayName() 381 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact() 421 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
|
D | DataRowHandlerForNickname.java | 39 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
D | DataRowHandlerForPhoneNumber.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 70 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 103 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local 114 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, in updatePhoneLookup()
|
D | DataRowHandlerForEmail.java | 37 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
D | DataRowHandlerForOrganization.java | 41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 97 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
D | DataRowHandlerForPhoto.java | 58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 80 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 132 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 44 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() 53 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName() 60 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() 67 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() 99 public static Uri insertPhoneticName(ContentResolver resolver, long rawContactId, in insertPhoneticName()
|
D | DatabaseAsserts.java | 58 long rawContactId = RawContactUtil.createRawContactWithName(resolver); in assertAndCreateContact() local 73 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName() local 105 public ContactIdPair(long contactId, long rawContactId) { in ContactIdPair()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactLoaderUtils.java | 58 final long rawContactId = ContentUris.parseId(uri); in ensureIsContactUri() local 71 final long rawContactId = ContentUris.parseId(uri); in ensureIsContactUri() local
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactLoaderUtils.java | 58 final long rawContactId = ContentUris.parseId(uri); in ensureIsContactUri() local 71 final long rawContactId = ContentUris.parseId(uri); in ensureIsContactUri() local
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 80 long rawContactId, long accountId, long currentContactId, in aggregateContact() 248 private void clearSuperPrimarySetting(SQLiteDatabase db, long contactId, long rawContactId) { in clearSuperPrimarySetting() 315 private int canJoinIntoContact(SQLiteDatabase db, long rawContactId, in canJoinIntoContact() 417 long contactId, long currentContactId, long rawContactId, in reAggregateRawContacts() 487 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() local 516 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated() 550 private long pickBestMatchBasedOnExceptions(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnExceptions() 613 private long pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnData() 639 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) { in pickBestMatchBasedOnSecondaryData() 670 private long updateMatchScoresBasedOnDataMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnDataMatches() [all …]
|
D | ProfileAggregator.java | 54 String accountName, long rawContactId, String sourceId, String displayName) { in appendLookupKey() 63 long rawContactId) { in onRawContactInsert() 75 long rawContactId) { in aggregateContact()
|
D | ContactAggregator2.java | 92 long rawContactId, long accountId, long currentContactId, in aggregateContact() 191 private boolean needAggregate(SQLiteDatabase db, long rawContactId) { in needAggregate() 211 rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) { in findRawContactMatchingCandidates() 313 long currentCidForRawContact, long rawContactId, long accountId, in reAggregateRawContacts() 472 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() local 501 private void updateMatchScoresBasedOnExceptions(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnExceptions() 555 private void updateMatchScoresBasedOnIdentityMatch(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnIdentityMatch() 580 private void updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnNameMatches() 609 private void updateMatchScoresBasedOnEmailMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnEmailMatches() 666 private void updateMatchScoresBasedOnPhoneMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnPhoneMatches() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | SuggestionEditConfirmationDialogFragment.java | 33 public static void show(ContactEditorFragment fragment, Uri contactUri, long rawContactId) { in show() 58 final long rawContactId = in onCreateDialog() local
|
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/ |
D | ContactTestUtils.java | 69 long rawContactId = ContentUris.parseId(rawContactUri); in createContact() local 77 long rawContactId, in insertStructuredName() 87 long rawContactId, in insertPhoneNumber()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | RawContactMatcher.java | 168 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 …]
|
D | RawContactMatchingCandidates.java | 78 public Long getContactId(Long rawContactId) { in getContactId() 85 public Long getAccountId(Long rawContactId) { in getAccountId()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | AccountImageHelper.java | 65 long rawContactId = 0; in getAccountPictureUri() local 93 private static void syncContactHiResPhoto(Context context, long rawContactId) { in syncContactHiResPhoto()
|