Searched refs:dataId (Results 1 - 25 of 30) 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,
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 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.java2466 long dataId = c.getLong(0);
2470 update.bindLong(2, dataId);
2660 long dataId = cursor.getLong(StructName205Query.ID);
2675 upgradeNameToVersion205(dataId, rawContactId, displayNameSource, displayName, name,
2683 private void upgradeNameToVersion205(long dataId, long rawContactId, int displayNameSource, argument
2698 structuredNameUpdate.bindLong(4, dataId);
2758 long dataId = cursor.getLong(Organization205Query.ID);
2766 organizationUpdate.bindLong(2, dataId);
2856 long dataId = cursor.getLong(Upgrade303Query.ID);
2862 values.put(NameLookupColumns.DATA_ID, dataId);
3093 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
3231 insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String name) argument
3245 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
4231 getDataMimeType(long dataId) argument
4860 deleteStatusUpdate(long dataId) argument
4870 replaceStatusUpdate(Long dataId, long timestamp, String status, String resPackage, Integer iconResource, Integer labelResource) argument
4892 insertStatusUpdate(Long dataId, String status, String resPackage, Integer iconResource, Integer labelResource) argument
5197 setIsPrimary(long rawContactId, long dataId, long mimeTypeId) argument
5234 setIsSuperPrimary(long rawContactId, long dataId, long mimeTypeId) argument
5257 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
5281 deleteNameLookup(long dataId) argument
5291 insertNameLookupForEmail(long rawContactId, long dataId, String email) argument
5309 insertNameLookupForNickname(long rawContactId, long dataId, String nickname) argument
5318 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;
H A DContactsProvider2.java1719 long dataId = c.getLong(0);
1722 photoFileIdToDataId.put(photoFileId, dataId);
1764 long dataId = photoFileIdToDataId.get(missingPhotoId);
1767 updateData(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
2881 public int deleteData(long dataId, String[] allowedMimeTypes) { argument
2887 mSelectionArgs1[0] = String.valueOf(dataId);
3047 Long dataId = values.getAsLong(StatusUpdates.DATA_ID);
3052 if (dataId != null) {
3056 mSelectionArgs.add(String.valueOf(dataId));
3116 dataId
7450 openDisplayPhotoForWrite(long rawContactId, long dataId, Uri uri, String mode) argument
7472 PipeMonitor(long rawContactId, long dataId, ParcelFileDescriptor descriptor) argument
7765 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DContactLoaderTest.java102 final long dataId = 21;
113 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
131 final long dataId = 21;
145 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
163 final long dataId = 21;
176 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
195 final long dataId = 21;
205 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey);
223 final long dataId = 21;
234 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKe
289 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.java381 final long dataId = createEmail(rawContactId, address);
382 createStatus(dataId, status);
431 public long createStatus(long dataId, String status) { argument
434 values.put(StatusUpdates.DATA_ID, dataId);
480 public void setSuperPrimaryPhone(long dataId) { argument
485 Uri updateUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
H A DNameLookupBuilderTest.java70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, argument
/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.java455 final long dataId = findArbitraryPhoneDataId();
456 if (dataId != -1) {
458 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/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java354 final long dataId = dataItem.getId();
373 final DataStatus status = data.getStatuses().get(dataId);
/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 411 milliseconds

12