| /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
| D | SearchIndexManagerTest.java | 53 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName() local 74 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName_phoneticOnly() local 99 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForChineseName() local 116 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByChineseName() local 135 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForKoreanName() local 151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanName() local 175 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanNameWithTwoCharactersFamilyName() local 199 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForOrganization() local 217 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForPhoneNumber() local 226 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForEmail() local [all …]
|
| D | ContactsProvider2Test.java | 1235 long rawContactId = ContentUris.parseId(rowUri); in testRawContactsInsert() local 1247 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri() local 1408 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert() local 1436 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId() local 1493 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo() local 1517 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed() local 1566 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery() local 1632 final long rawContactId = RawContactUtil.createRawContact(mResolver); in testPhonesNormalizedNumber() local 1883 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup() local 1920 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup() local [all …]
|
| D | BaseContactsProvider2Test.java | 258 protected Uri insertOrganization(long rawContactId, ContentValues values) { in insertOrganization() 262 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization() 266 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary, in insertOrganization() 282 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber) { in insertPhoneNumber() 286 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() 300 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() 318 protected Uri insertEmail(long rawContactId, String email) { in insertEmail() 322 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 | 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 | NameLookupBuilder.java | 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, in insertNameLookup() 88 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { in insertNameLookup() 222 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, in insertNameVariants() 249 private void insertNameVariant(long rawContactId, long dataId, int tokenCount, in insertNameVariant() 270 private void insertCollationKey(long rawContactId, long dataId, int tokenCount) { in insertCollationKey()
|
| 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 | 78 long rawContactId, long accountId, long currentContactId, in aggregateContact() 246 private void clearSuperPrimarySetting(SQLiteDatabase db, long contactId, long rawContactId) { in clearSuperPrimarySetting() 313 private int canJoinIntoContact(SQLiteDatabase db, long rawContactId, in canJoinIntoContact() 415 long contactId, long currentContactId, long rawContactId, in reAggregateRawContacts() 485 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() local 514 private void setContactIdAndMarkAggregated(long rawContactId, long contactId) { in setContactIdAndMarkAggregated() 548 private long pickBestMatchBasedOnExceptions(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnExceptions() 611 private long pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnData() 637 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) { in pickBestMatchBasedOnSecondaryData() 668 private long updateMatchScoresBasedOnDataMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnDataMatches() [all …]
|
| D | ContactAggregator2.java | 90 long rawContactId, long accountId, long currentContactId, in aggregateContact() 189 private boolean needAggregate(SQLiteDatabase db, long rawContactId) { in needAggregate() 209 rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) { in findRawContactMatchingCandidates() 311 long currentCidForRawContact, long rawContactId, long accountId, in reAggregateRawContacts() 470 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID); in updateAggregationAfterVisibilityChange() local 499 private void updateMatchScoresBasedOnExceptions(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnExceptions() 553 private void updateMatchScoresBasedOnIdentityMatch(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnIdentityMatch() 578 private void updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnNameMatches() 607 private void updateMatchScoresBasedOnEmailMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnEmailMatches() 664 private void updateMatchScoresBasedOnPhoneMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnPhoneMatches() [all …]
|
| D | ProfileAggregator.java | 52 String accountName, long rawContactId, String sourceId, String displayName) { in appendLookupKey() 61 long rawContactId) { in onRawContactInsert() 73 long rawContactId) { in aggregateContact()
|
| D | AbstractContactAggregator.java | 251 long rawContactId; field in AbstractContactAggregator.DisplayNameCandidate 498 public final void triggerAggregation(TransactionContext txContext, long rawContactId) { in triggerAggregation() 535 public final void markNewForAggregation(long rawContactId, int aggregationMode) { in markNewForAggregation() 539 public final void markForAggregation(long rawContactId, int aggregationMode, boolean force) { in markForAggregation() 579 long rawContactId = cursor.getLong(RawContactIdAndAggregationModeQuery._ID); in markContactForAggregation() local 620 final long rawContactId = cursor.getLong(0); in markAllVisibleForAggregation() local 640 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in onRawContactInsert() 647 protected final long insertContact(SQLiteDatabase db, long rawContactId) { in insertContact() 669 TransactionContext txContext, SQLiteDatabase db, long rawContactId) { in aggregateContact() 730 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 | 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 …]
|
| /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
|