| /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 | 1234 long rawContactId = ContentUris.parseId(rowUri); in testRawContactsInsert() local 1246 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri() local 1407 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert() local 1435 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId() local 1492 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo() local 1516 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed() local 1565 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery() local 1631 final long rawContactId = RawContactUtil.createRawContact(mResolver); in testPhonesNormalizedNumber() local 1882 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup() local 1919 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup() local [all …]
|
| D | BaseContactsProvider2Test.java | 253 protected Uri insertOrganization(long rawContactId, ContentValues values) { in insertOrganization() 257 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization() 261 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary, in insertOrganization() 277 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber) { in insertPhoneNumber() 281 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary) { in insertPhoneNumber() 285 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 290 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 295 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 313 protected Uri insertEmail(long rawContactId, String email) { in insertEmail() 317 protected Uri insertEmail(long rawContactId, String email, boolean primary) { in insertEmail() [all …]
|
| D | CloneContactsProvider2Test.java | 191 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testPrimaryContactsProviderInsert() local 206 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testCloneContactsProviderUpdate() local 236 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testCloneContactsProviderDelete() local 344 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testCloneContactsProviderReads_callerNotInAllowlist() local 369 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testContactsProviderReads_callerInAllowlist() local 399 long rawContactId = insertRawContactsThroughPrimaryProvider(inputContentValues); in testQueryPrimaryProfileProvider_callingFromParentUser() local
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| D | TransactionContext.java | 57 public void rawContactInserted(long rawContactId, long accountId) { in rawContactInserted() 64 public void rawContactUpdated(long rawContactId) { in rawContactUpdated() 69 public void markRawContactDirtyAndChanged(long rawContactId, boolean isSyncAdapter) { in markRawContactDirtyAndChanged() 80 public void markRawContactChangedOrDeletedOrInserted(long rawContactId) { in markRawContactChangedOrDeletedOrInserted() 92 public void invalidateSearchIndexForRawContact(long rawContactId) { in invalidateSearchIndexForRawContact() 137 public Long getAccountIdOrNullForRawContact(long rawContactId) { in getAccountIdOrNullForRawContact() 142 public boolean isNewRawContact(long rawContactId) { in isNewRawContact()
|
| 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 | 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 | DataRowHandler.java | 116 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 162 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 255 long dataId, long rawContactId) { in handlePrimaryAndSuperPrimary() 319 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local 336 private void fixPrimary(SQLiteDatabase db, long rawContactId) { in fixPrimary() 372 long rawContactId) { in fixRawContactDisplayName() 379 private boolean isNewRawContact(TransactionContext txContext, long rawContactId) { in isNewRawContact() 419 public void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation()
|
| D | DataRowHandlerForPhoneNumber.java | 48 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 78 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 111 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local 122 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, in updatePhoneLookup()
|
| D | DataRowHandlerForNickname.java | 43 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 83 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
| D | DataRowHandlerForEmail.java | 41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 67 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 82 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); in delete() local
|
| D | DataRowHandlerForOrganization.java | 47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() 71 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); in update() local 105 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/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 | 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 …]
|
| 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 | AbstractContactAggregator.java | 253 long rawContactId; field in AbstractContactAggregator.DisplayNameCandidate 502 public final void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation() 539 public final void markNewForAggregation(long rawContactId, int aggregationMode) { in markNewForAggregation() 543 public final void markForAggregation(long rawContactId, int aggregationMode, boolean force) { in markForAggregation() 583 long rawContactId = cursor.getLong(RawContactIdAndAggregationModeQuery._ID); in markContactForAggregation() local 624 final long rawContactId = cursor.getLong(0); in markAllVisibleForAggregation() local 644 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in onRawContactInsert() 651 protected final long insertContact(SQLiteDatabase db, long rawContactId) { in insertContact() 673 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in aggregateContact() 734 long rawContactId, long accountId, long currentContactId, in aggregateContact() [all …]
|
| /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 | 68 long rawContactId = RawContactUtil.createRawContactWithName(resolver, account); in assertAndCreateContact() local 83 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName() local 115 public ContactIdPair(long contactId, long rawContactId) { in ContactIdPair()
|
| /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 …]
|
| /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/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/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
|