/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
H A D | ContactsTableUtil.java | 70 * @param rawContactIds A set of raw contacts ids to refresh the contact for. 73 Set<Long> rawContactIds) { 74 if (rawContactIds.isEmpty()) { 78 db.execSQL(buildUpdateLastUpdateSql(rawContactIds)); 84 * @param rawContactIds The raw contact ids that contacts should be updated for. 87 private static String buildUpdateLastUpdateSql(Set<Long> rawContactIds) { argument 100 + " IN (" + TextUtils.join(",", rawContactIds) + ") " 72 updateContactLastUpdateByRawContactId(SQLiteDatabase db, Set<Long> rawContactIds) argument
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | UpdateGroupMembersAsyncTask.java | 61 final long[] rawContactIds = getRawContactIds(); 62 if (rawContactIds.length == 0) { 69 rawContactIdsToAdd = rawContactIds; 74 rawContactIdsToRemove = rawContactIds; 109 final long[] rawContactIds = new long[cursor.getCount()]; 113 rawContactIds[i] = cursor.getLong(0); 119 return rawContactIds;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
H A D | ContactAggregatorHelper.java | 43 // Index to rawContactIds mapping 44 final Map<Integer, Set<Long>> rawContactIds = new ArrayMap<>(); 50 rawContactIds.put(index, rIds); 68 final Set<Long> rIdSet = rawContactIds.get(i); 71 rawContactIds.remove(i); 81 Set<Long> ids = rawContactIds.get(Iterables.getOnlyElement(s));
|
H A D | RawContactMatcher.java | 287 ArrayList<Long> rawContactIds = null; 296 if (rawContactIds == null) { 297 rawContactIds = new ArrayList<>(); 299 rawContactIds.add(score.getRawContactId()); 303 return rawContactIds;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsRequest.java | 218 public void setRawContactIds(ArrayList<String> rawContactIds) { argument 219 mRawContactIds = rawContactIds;
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactSaveService.java | 100 public static final String EXTRA_RAW_CONTACT_IDS = "rawContactIds"; 1244 public static Intent createSplitContactIntent(Context context, long[][] rawContactIds, argument 1248 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); 1258 public static Intent createHardSplitContactIntent(Context context, long[][] rawContactIds) { argument 1261 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds); 1267 final long rawContactIds[][] = (long[][]) intent 1271 if (rawContactIds == null) { 1281 for (int i = 0; i < rawContactIds.length; i++) { 1282 for (int j = 0; j < rawContactIds.length; j++) { 1284 if (!buildSplitTwoContacts(operations, rawContactIds[ [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | SearchIndexManager.java | 289 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { argument 292 " contacts / " + rawContactIds.size() + " raw contacts"); 302 if (!rawContactIds.isEmpty()) { 307 // in rawContactIds. For every raw contact in rawContactIds that we are updating 314 sb.append(TextUtils.join(",", rawContactIds));
|
H A D | ContactsDatabaseHelper.java | 2959 final long[] rawContactIds; 2975 rawContactIds = new long[count]; 2983 rawContactIds[i] = c.getLong(1); 3020 String.valueOf(rawContactIds[i]),
|
H A D | ContactsProvider2.java | 9868 final Set<Long> rawContactIds = new ArraySet<>(); 9876 rawContactIds.add(rid); 9883 final String rids = TextUtils.join(",", rawContactIds);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ContactEditorSpringBoardActivity.java | 262 final long[][] rawContactIds = getRawContactIds(); 263 final Intent intent = ContactSaveService.createHardSplitContactIntent(this, rawContactIds);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | AbstractContactAggregator.java | 459 final long[] rawContactIds; 466 rawContactIds = new long[actualCount]; 472 rawContactIds[index] = c.getLong(AggregationQuery._ID); 486 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], 827 String rawContactIds = TextUtils.join(",", rawContactIdSet); 828 findIdPairs(db, buildExceptionMatchingSql(rawContactIds, rawContactIds), 830 findIdPairs(db, buildIdentityMatchingSql(rawContactIds, rawContactIds, 832 findIdPairs(db, buildEmailMatchingSql(rawContactIds, rawContactId 867 createContactForRawContacts(SQLiteDatabase db, TransactionContext txContext, Set<Long> rawContactIds, Long contactId) argument 910 markAggregated(SQLiteDatabase db, String rawContactIds) argument [all...] |
H A D | ContactAggregator2.java | 243 * Find out which mime-types are shared by more than one contacts for {@code rawContactIds}. 245 * {@code rawContactIds} should be a comma separated ID list. 247 private void clearSuperPrimarySetting(SQLiteDatabase db, String rawContactIds) { argument 251 Data.RAW_CONTACT_ID + " IN (" + rawContactIds + ") group by " + 282 " IN (" + rawContactIds + ")";
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | ContactsUtils.java | 336 ArrayList<Long> rawContactIds = new ArrayList<Long>(); 343 rawContactIds.add(rawContactIdCursor.getLong(0)); 351 return rawContactIds;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | RawContactDeltaList.java | 397 public void setJoinWithRawContacts(long[] rawContactIds) { argument 398 mJoinWithRawContactIds = rawContactIds;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ContactEditorFragment.java | 1601 public void doJoinSuggestedContact(long[] rawContactIds) { argument 1606 mState.setJoinWithRawContacts(rawContactIds);
|