Searched refs:dataId (Results 1 - 25 of 32) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java41 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 DDataRowHandlerForNickname.java43 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 DNameLookupBuilder.java82 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 DDataRowHandlerForOrganization.java46 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 DDataRowHandlerForPhoneNumber.java44 long dataId;
53 dataId = super.insert(db, txContext, rawContactId, values);
55 updatePhoneLookup(db, rawContactId, dataId, number, numberE164);
62 dataId = super.insert(db, txContext, rawContactId, values);
64 return dataId;
88 long dataId = c.getLong(DataUpdateQuery._ID);
90 updatePhoneLookup(db, rawContactId, dataId, number, numberE164);
100 long dataId = c.getLong(DataDeleteQuery._ID);
105 updatePhoneLookup(db, rawContactId, dataId, null, null);
112 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, argument
[all...]
H A DDataRowHandler.java110 final long dataId = db.insert(Tables.DATA, null, values);
116 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
122 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
130 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
139 return dataId;
150 long dataId = c.getLong(DataUpdateQuery._ID);
153 handlePrimaryAndSuperPrimary(values, dataId, rawContactId);
156 mSelectionArgs1[0] = String.valueOf(dataId);
186 private void handlePrimaryAndSuperPrimary(ContentValues values, long dataId, argument
204 mSelectionArgs1[0] = String.valueOf(dataId);
320 getAugmentedValues(SQLiteDatabase db, long dataId, ContentValues update) argument
[all...]
H A DDataRowHandlerForStructuredName.java49 long dataId = super.insert(db, txContext, rawContactId, values);
53 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
57 insertNameLookupForPhoneticName(rawContactId, dataId, values);
60 return dataId;
66 final long dataId = c.getLong(DataUpdateQuery._ID);
69 final ContentValues augmented = getAugmentedValues(db, dataId, values);
83 mDbHelper.deleteNameLookup(dataId);
85 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
89 insertNameLookupForPhoneticName(rawContactId, dataId, augmented);
98 long dataId
163 insertNameLookupForPhoneticName(long rawContactId, long dataId, ContentValues values) argument
[all...]
H A DDataRowHandlerForCommonDataKind.java51 final long dataId = c.getLong(DataUpdateQuery._ID);
52 final ContentValues augmented = getAugmentedValues(db, dataId, values);
H A DDataRowHandlerForStructuredPostal.java63 final long dataId = c.getLong(DataUpdateQuery._ID);
64 final ContentValues augmented = getAugmentedValues(db, dataId, values);
H A DDataRowHandlerForPhoto.java66 long dataId = super.insert(db, txContext, rawContactId, values);
70 return dataId;
H A DLegacyApiSupport.java1084 private int updateOrganizations(long dataId, ContentValues values) { argument
1088 Data._ID + "=" + dataId, null);
1091 private int updatePhones(long dataId, ContentValues values) { argument
1095 Data._ID + "=" + dataId, null);
1098 private int updateContactMethods(long dataId, ContentValues values) { argument
1101 mDataMimetypeQuery.bindLong(1, dataId);
1125 Data._ID + "=" + dataId, null);
1128 private int updateExtensions(long dataId, ContentValues values) { argument
1132 Data._ID + "=" + dataId, null);
1180 long dataId
1202 updatePhotoByDataId(long dataId, ContentValues values) argument
1227 updateLegacyPhotoData(long rawContactId, long dataId, ContentValues values) argument
[all...]
H A DContactsDatabaseHelper.java2360 long dataId = c.getLong(0);
2364 update.bindLong(2, dataId);
2556 long dataId = cursor.getLong(StructName205Query.ID);
2571 upgradeNameToVersion205(dataId, rawContactId, displayNameSource, displayName, name,
2579 private void upgradeNameToVersion205(long dataId, long rawContactId, int displayNameSource, argument
2594 structuredNameUpdate.bindLong(4, dataId);
2654 long dataId = cursor.getLong(Organization205Query.ID);
2662 organizationUpdate.bindLong(2, dataId);
2752 long dataId = cursor.getLong(Upgrade303Query.ID);
2758 values.put(NameLookupColumns.DATA_ID, dataId);
2989 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
3127 insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String name) argument
3141 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
3932 getDataMimeType(long dataId) argument
4443 deleteStatusUpdate(long dataId) argument
4453 replaceStatusUpdate(Long dataId, long timestamp, String status, String resPackage, Integer iconResource, Integer labelResource) argument
4475 insertStatusUpdate(Long dataId, String status, String resPackage, Integer iconResource, Integer labelResource) argument
4780 setIsPrimary(long rawContactId, long dataId, long mimeTypeId) argument
4817 setIsSuperPrimary(long rawContactId, long dataId, long mimeTypeId) argument
4840 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
4864 deleteNameLookup(long dataId) argument
4874 insertNameLookupForEmail(long rawContactId, long dataId, String email) argument
4892 insertNameLookupForNickname(long rawContactId, long dataId, String nickname) argument
4901 insertNameLookupForPhoneticName(long rawContactId, long dataId, String familyName, String middleName, String givenName) argument
[all...]
H A DDataRowHandlerForGroupMembership.java82 long dataId = super.insert(db, txContext, rawContactId, values);
87 return dataId;
H A DLegacyContactImporter.java645 long dataId = insert(insert);
647 mNameLookupBuilder.insertNameLookup(id, dataId, name,
653 mDbHelper.insertNameLookupForPhoneticName(id, dataId,
866 long dataId = insert(insert);
867 mDbHelper.insertNameLookupForEmail(personId, dataId, email);
994 long dataId = insert(phoneInsert);
997 phoneLookupInsert.bindLong(PhoneLookupInsert.DATA_ID, dataId);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DContactLoaderTest.java101 final long dataId = 21;
112 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
130 final long dataId = 21;
144 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
162 final long dataId = 21;
175 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
194 final long dataId = 21;
204 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
222 final long dataId = 21;
233 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKe
288 fetchAllData( Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java362 final long dataId = createEmail(rawContactId, address);
363 createStatus(dataId, status);
412 public long createStatus(long dataId, String status) { argument
415 values.put(StatusUpdates.DATA_ID, dataId);
461 public void setSuperPrimaryPhone(long dataId) { argument
466 Uri updateUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
H A DNameLookupBuilderTest.java70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, argument
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java70 public DataAction(Context context, String mimeType, DataKind kind, long dataId, Cursor cursor) { argument
107 mDataId = dataId;
108 mDataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DContactLoader.java89 final long dataId = cursor.getLong(StatusQuery._ID);
90 statuses.put(dataId, status);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java100 public static final String EXTRA_DATA_ID = "dataId";
766 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { argument
769 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
774 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
775 if (dataId == -1) {
785 getContentResolver().update(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
794 public static Intent createClearPrimaryIntent(Context context, long dataId) { argument
797 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
802 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
803 if (dataId
[all...]
H A DContactLoader.java745 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
746 statuses.put(dataId, status);
798 final long dataId = entryValues.getAsLong(Data._ID);
799 if (dataId == photoId) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java363 final long dataId = entryValues.getAsLong(Data._ID);
372 rawContactId, dataId, entryValues);
414 imMime, imKind, rawContactId, dataId, entryValues);
551 long rawContactId, long dataId, ContentValues values) {
555 entry.id = dataId;
550 fromValues(Context context, String mimeType, DataKind kind, long rawContactId, long dataId, ContentValues values) argument
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DAllIntentsActivity.java461 final long dataId = findArbitraryPhoneDataId();
462 if (dataId != -1) {
464 final Uri uri = ContentUris.withAppendedId(legacyContentUri, dataId);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java422 long dataId = mDataCursor.getLong(DataQuery.ID);
424 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) {
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java105 static long dataId = 1; field in class:ExchangeDirectoryProvider.GalContactRow
116 put(Contacts.Entity.DATA_ID, dataId++);

Completed in 1156 milliseconds

12