/packages/apps/Dialer/java/com/android/dialer/interactions/ |
H A D | ContactUpdateService.java | 35 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { argument 37 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId); 44 long dataId = intent.getLongExtra(EXTRA_PHONE_NUMBER_DATA_ID, -1); 46 ContactUpdateUtils.setSuperPrimary(this, dataId);
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
H A D | ContactUpdateUtils.java | 32 public static void setSuperPrimary(Context context, long dataId) { argument 33 if (dataId == -1) { 44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
H A D | ContactUpdateUtils.java | 30 public static void setSuperPrimary(Context context, long dataId) { argument 31 if (dataId == -1) { 44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | BugleRecipientEntry.java | 32 final long contactId, final Long directoryId, final long dataId, 36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey); 42 final long dataId, final String thumbnailUriAsString, final boolean isValid, 45 destinationLabel, contactId, directoryId, dataId, (thumbnailUriAsString != null 52 final long dataId, final String thumbnailUriAsString, final boolean isValid, 55 destinationLabel, contactId, directoryId, dataId, (thumbnailUriAsString != null 30 BugleRecipientEntry(final int entryType, final String displayName, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final Uri photoThumbnailUri, final boolean isFirstLevel, final boolean isValid, final String lookupKey) argument 39 constructTopLevelEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final String thumbnailUriAsString, final boolean isValid, final String lookupKey) argument 49 constructSecondLevelEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final Long directoryId, final long dataId, final String thumbnailUriAsString, final boolean isValid, final String lookupKey) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForEmail.java | 41 long dataId = super.insert(db, txContext, rawContactId, values); 44 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email); 48 return dataId; 59 long dataId = c.getLong(DataUpdateQuery._ID); 63 mDbHelper.deleteNameLookup(dataId); 64 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address); 74 long dataId = c.getLong(DataDeleteQuery._ID); 79 mDbHelper.deleteNameLookup(dataId);
|
H A D | DataRowHandlerForNickname.java | 43 long dataId = super.insert(db, txContext, rawContactId, values); 47 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 50 return dataId; 56 long dataId = c.getLong(DataUpdateQuery._ID); 65 mDbHelper.deleteNameLookup(dataId); 66 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 76 long dataId = c.getLong(DataDeleteQuery._ID); 81 mDbHelper.deleteNameLookup(dataId);
|
H A D | NameLookupBuilder.java | 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, argument 99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { argument 111 insertNameVariant(rawContactId, dataId, tokenCount, NameLookupType.NAME_EXACT, true); 126 insertCollationKey(rawContactId, dataId, MAX_NAME_TOKENS); 138 insertNameVariants(rawContactId, dataId, 0, tokenCount, !tooManyTokens, true); 139 insertNicknamePermutations(rawContactId, dataId, 0, tokenCount); 239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, argument 242 insertNameVariant(rawContactId, dataId, toIndex, 255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex, 266 private void insertNameVariant(long rawContactId, long dataId, in argument 287 insertCollationKey(long rawContactId, long dataId, int tokenCount) argument 302 insertNicknamePermutations(long rawContactId, long dataId, int fromIndex, int tokenCount) argument [all...] |
H A D | DataRowHandler.java | 117 final long dataId = db.insert(Tables.DATA, null, values); 123 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId); 130 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); 138 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); 147 return dataId; 159 long dataId = c.getLong(DataUpdateQuery._ID); 162 handlePrimaryAndSuperPrimary(txContext, values, dataId, rawContactId, 164 handleHashIdForUpdate(values, dataId); 167 mSelectionArgs1[0] = String.valueOf(dataId); 223 private void handleHashIdForUpdate(ContentValues values, long dataId) { argument 253 handlePrimaryAndSuperPrimary(TransactionContext txContext, ContentValues values, long dataId, long rawContactId, boolean callerIsMetadataSyncAdapter) argument 390 getAugmentedValues(SQLiteDatabase db, long dataId, ContentValues update) argument [all...] |
H A D | DataRowHandlerForOrganization.java | 46 long dataId = super.insert(db, txContext, rawContactId, values); 49 return dataId; 62 long dataId = c.getLong(DataUpdateQuery._ID); 70 mSelectionArgs1[0] = String.valueOf(dataId); 81 mSelectionArgs1[0] = String.valueOf(dataId); 88 mDbHelper.deleteNameLookup(dataId); 96 long dataId = c.getLong(DataUpdateQuery._ID); 101 mDbHelper.deleteNameLookup(dataId);
|
H A D | DataRowHandlerForPhoneNumber.java | 46 final long dataId = super.insert(db, txContext, rawContactId, values); 50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber); 56 return dataId; 69 long dataId = c.getLong(DataUpdateQuery._ID); 71 updatePhoneLookup(db, rawContactId, dataId, 102 long dataId = c.getLong(DataDeleteQuery._ID); 107 updatePhoneLookup(db, rawContactId, dataId, null, null); 114 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, argument 116 mSelectionArgs1[0] = String.valueOf(dataId); 123 phoneValues.put(PhoneLookupColumns.DATA_ID, dataId); [all...] |
H A D | DataRowHandlerForIdentity.java | 37 final long dataId = super.insert(db, txContext, rawContactId, values); 44 return dataId;
|
H A D | DataRowHandlerForStructuredName.java | 51 long dataId = super.insert(db, txContext, rawContactId, values); 55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 61 return dataId; 67 final long dataId = c.getLong(DataUpdateQuery._ID); 70 final ContentValues augmented = getAugmentedValues(db, dataId, values); 81 mDbHelper.deleteNameLookup(dataId); 83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 95 long dataId = c.getLong(DataDeleteQuery._ID); 100 mDbHelper.deleteNameLookup(dataId);
|
H A D | DataRowHandlerForCommonDataKind.java | 53 final long dataId = c.getLong(DataUpdateQuery._ID); 54 final ContentValues augmented = getAugmentedValues(db, dataId, values);
|
H A D | DataRowHandlerForStructuredPostal.java | 64 final long dataId = c.getLong(DataUpdateQuery._ID); 65 final ContentValues augmented = getAugmentedValues(db, dataId, values);
|
H A D | DataRowHandlerForPhoto.java | 70 long dataId = super.insert(db, txContext, rawContactId, values); 74 return dataId;
|
H A D | LegacyApiSupport.java | 1054 private int updateOrganizations(long dataId, ContentValues values) { argument 1058 Data._ID + "=" + dataId, null); 1061 private int updatePhones(long dataId, ContentValues values) { argument 1065 Data._ID + "=" + dataId, null); 1068 private int updateContactMethods(long dataId, ContentValues values) { argument 1071 mDataMimetypeQuery.bindLong(1, dataId); 1095 Data._ID + "=" + dataId, null); 1098 private int updateExtensions(long dataId, ContentValues values) { argument 1102 Data._ID + "=" + dataId, null); 1118 long dataId 1140 updatePhotoByDataId(long dataId, ContentValues values) argument 1165 updateLegacyPhotoData(long rawContactId, long dataId, ContentValues values) argument [all...] |
H A D | ContactsDatabaseHelper.java | 917 long rawContactId, long dataId, int lookupType, String name) { 921 mNameLookupInsert, rawContactId, dataId, lookupType, name); 2859 long dataId = cursor.getLong(StructuredNameQuery.ID); 2864 nameLookupBuilder.insertNameLookup(rawContactId, dataId, name, fullNameStyle); 2881 long dataId = cursor.getLong(EmailQuery.ID); 2885 insertNameLookup(nameLookupInsert, rawContactId, dataId, 2903 long dataId = cursor.getLong(NicknameQuery.ID); 2906 insertNameLookup(nameLookupInsert, rawContactId, dataId, 2917 public void insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, argument 2928 insertNormalizedNameLookup(stmt, rawContactId, dataId, lookupTyp 916 insertNameLookup( long rawContactId, long dataId, int lookupType, String name) argument 2931 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument 3947 getDataMimeType(long dataId) argument 4504 deleteStatusUpdate(long dataId) argument 4512 replaceStatusUpdate(Long dataId, long timestamp, String status, String resPackage, Integer iconResource, Integer labelResource) argument 4532 insertStatusUpdate(Long dataId, String status, String resPackage, Integer iconResource, Integer labelResource) argument 4814 setIsPrimary(long rawContactId, long dataId, long mimeTypeId) argument 4847 setIsSuperPrimary(long rawContactId, long dataId, long mimeTypeId) argument 4868 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument 4890 deleteNameLookup(long dataId) argument 4898 insertNameLookupForEmail(long rawContactId, long dataId, String email) argument 4916 insertNameLookupForNickname(long rawContactId, long dataId, String nickname) argument [all...] |
H A D | DataRowHandlerForGroupMembership.java | 79 long dataId = super.insert(db, txContext, rawContactId, values); 84 return dataId;
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
H A D | DataUtil.java | 34 public static void delete(ContentResolver resolver, long dataId) { argument 35 Uri uri = ContentUris.withAppendedId(URI, dataId); 39 public static void update(ContentResolver resolver, long dataId, ContentValues values) { argument 40 Uri uri = ContentUris.withAppendedId(URI, dataId);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | ContactListItemData.java | 56 final long dataId = cursor.getLong(ContactUtil.INDEX_DATA_ID); 82 contactId, lookupKey, dataId, photoThumbnailUri, isFirstLevel);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
H A D | BindingTest.java | 133 public TestBindableData(final Object dataId) { argument 134 mDataId = dataId;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | ContactUtil.java | 470 final long dataId, final String photoThumbnailUri, final boolean firstLevel) { 473 destination, destinationType, destinationLabel, contactId, null, dataId, 477 destination, destinationType, destinationLabel, contactId, null, dataId, 503 final long dataId = contactId; 507 destinationLabel, contactId, lookupKey, dataId, photoThumbnailUri, 467 createRecipientEntry(final String displayName, final int displayNameSource, final String destination, final int destinationType, final String destinationLabel, final long contactId, final String lookupKey, final long dataId, final String photoThumbnailUri, final boolean firstLevel) argument
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | ContactLoader.java | 89 final long dataId = cursor.getLong(StatusQuery._ID); 90 statuses.put(dataId, status);
|
/packages/apps/Dialer/java/com/android/dialer/app/dialpad/ |
H A D | SmartDialCursorLoader.java | 98 row[PhoneQuery.PHONE_ID] = contact.dataId;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | NameLookupBuilderTest.java | 70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, argument
|