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

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java42 long dataId = super.insert(db, txContext, rawContactId, values);
45 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email);
49 return dataId;
60 long dataId = c.getLong(DataUpdateQuery._ID);
64 mDbHelper.deleteNameLookup(dataId);
65 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address);
75 long dataId = c.getLong(DataDeleteQuery._ID);
80 mDbHelper.deleteNameLookup(dataId);
H A DDataRowHandlerForNickname.java44 long dataId = super.insert(db, txContext, rawContactId, values);
48 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
51 return dataId;
57 long dataId = c.getLong(DataUpdateQuery._ID);
66 mDbHelper.deleteNameLookup(dataId);
67 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
77 long dataId = c.getLong(DataDeleteQuery._ID);
82 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.java47 long dataId = super.insert(db, txContext, rawContactId, values);
50 return dataId;
63 long dataId = c.getLong(DataUpdateQuery._ID);
71 mSelectionArgs1[0] = String.valueOf(dataId);
82 mSelectionArgs1[0] = String.valueOf(dataId);
89 mDbHelper.deleteNameLookup(dataId);
97 long dataId = c.getLong(DataUpdateQuery._ID);
102 mDbHelper.deleteNameLookup(dataId);
H A DDataRowHandler.java111 final long dataId = db.insert(Tables.DATA, null, values);
117 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
123 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
131 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
140 return dataId;
151 long dataId = c.getLong(DataUpdateQuery._ID);
154 handlePrimaryAndSuperPrimary(values, dataId, rawContactId);
157 mSelectionArgs1[0] = String.valueOf(dataId);
187 private void handlePrimaryAndSuperPrimary(ContentValues values, long dataId, argument
205 mSelectionArgs1[0] = String.valueOf(dataId);
321 getAugmentedValues(SQLiteDatabase db, long dataId, ContentValues update) argument
[all...]
H A DDataRowHandlerForPhoneNumber.java46 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,
104 long dataId = c.getLong(DataDeleteQuery._ID);
109 updatePhoneLookup(db, rawContactId, dataId, null, null);
116 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, argument
118 mSelectionArgs1[0] = String.valueOf(dataId);
125 phoneValues.put(PhoneLookupColumns.DATA_ID, dataId);
[all...]
H A DDataRowHandlerForStructuredName.java50 long dataId = super.insert(db, txContext, rawContactId, values);
54 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
58 insertNameLookupForPhoneticName(rawContactId, dataId, values);
61 return dataId;
67 final long dataId = c.getLong(DataUpdateQuery._ID);
70 final ContentValues augmented = getAugmentedValues(db, dataId, values);
84 mDbHelper.deleteNameLookup(dataId);
86 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
90 insertNameLookupForPhoneticName(rawContactId, dataId, augmented);
99 long dataId
164 insertNameLookupForPhoneticName(long rawContactId, long dataId, ContentValues values) argument
[all...]
H A DDataRowHandlerForCommonDataKind.java53 final long dataId = c.getLong(DataUpdateQuery._ID);
54 final ContentValues augmented = getAugmentedValues(db, dataId, values);
H A DDataRowHandlerForIdentity.java38 final long dataId = super.insert(db, txContext, rawContactId, values);
45 return dataId;
H A DDataRowHandlerForStructuredPostal.java64 final long dataId = c.getLong(DataUpdateQuery._ID);
65 final ContentValues augmented = getAugmentedValues(db, dataId, values);
H A DDataRowHandlerForPhoto.java70 long dataId = super.insert(db, txContext, rawContactId, values);
74 return dataId;
H A DLegacyApiSupport.java1087 private int updateOrganizations(long dataId, ContentValues values) { argument
1091 Data._ID + "=" + dataId, null);
1094 private int updatePhones(long dataId, ContentValues values) { argument
1098 Data._ID + "=" + dataId, null);
1101 private int updateContactMethods(long dataId, ContentValues values) { argument
1104 mDataMimetypeQuery.bindLong(1, dataId);
1128 Data._ID + "=" + dataId, null);
1131 private int updateExtensions(long dataId, ContentValues values) { argument
1135 Data._ID + "=" + dataId, null);
1183 long dataId
1205 updatePhotoByDataId(long dataId, ContentValues values) argument
1230 updateLegacyPhotoData(long rawContactId, long dataId, ContentValues values) argument
[all...]
H A DContactsDatabaseHelper.java2433 long dataId = c.getLong(0);
2437 update.bindLong(2, dataId);
2629 long dataId = cursor.getLong(StructName205Query.ID);
2644 upgradeNameToVersion205(dataId, rawContactId, displayNameSource, displayName, name,
2652 private void upgradeNameToVersion205(long dataId, long rawContactId, int displayNameSource, argument
2667 structuredNameUpdate.bindLong(4, dataId);
2727 long dataId = cursor.getLong(Organization205Query.ID);
2735 organizationUpdate.bindLong(2, dataId);
2825 long dataId = cursor.getLong(Upgrade303Query.ID);
2831 values.put(NameLookupColumns.DATA_ID, dataId);
3062 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
3200 insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String name) argument
3214 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
4165 getDataMimeType(long dataId) argument
4774 deleteStatusUpdate(long dataId) argument
4784 replaceStatusUpdate(Long dataId, long timestamp, String status, String resPackage, Integer iconResource, Integer labelResource) argument
4806 insertStatusUpdate(Long dataId, String status, String resPackage, Integer iconResource, Integer labelResource) argument
5111 setIsPrimary(long rawContactId, long dataId, long mimeTypeId) argument
5148 setIsSuperPrimary(long rawContactId, long dataId, long mimeTypeId) argument
5171 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
5195 deleteNameLookup(long dataId) argument
5205 insertNameLookupForEmail(long rawContactId, long dataId, String email) argument
5223 insertNameLookupForNickname(long rawContactId, long dataId, String nickname) argument
5232 insertNameLookupForPhoneticName(long rawContactId, long dataId, String familyName, String middleName, String givenName) argument
[all...]
H A DDataRowHandlerForGroupMembership.java79 long dataId = super.insert(db, txContext, rawContactId, values);
84 return 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.java370 final long dataId = createEmail(rawContactId, address);
371 createStatus(dataId, status);
420 public long createStatus(long dataId, String status) { argument
423 values.put(StatusUpdates.DATA_ID, dataId);
469 public void setSuperPrimaryPhone(long dataId) { argument
474 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.java71 public DataAction(Context context, String mimeType, DataKind kind, long dataId, argument
106 mDataId = dataId;
107 mDataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
H A DQuickContactActivity.java363 final long dataId = entryValues.getAsLong(Data._ID);
376 final Action action = new DataAction(context, mimeType, kind, dataId,
388 final DataStatus status = data.getStatuses().get(dataId);
394 imKind, dataId, entryValues);
/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.java107 public static final String EXTRA_DATA_ID = "dataId";
892 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { argument
895 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
900 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
901 if (dataId == -1) {
911 getContentResolver().update(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
920 public static Intent createClearPrimaryIntent(Context context, long dataId) { argument
923 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
928 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
929 if (dataId
[all...]
/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.java481 final long dataId = findArbitraryPhoneDataId();
482 if (dataId != -1) {
484 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/exchange2/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 275 milliseconds

12