Searched defs:dataId (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/database/
H A DContactUpdateUtils.java32 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 DContactUpdateUtils.java30 public static void setSuperPrimary(Context context, long dataId) { argument
31 if (dataId == -1) {
44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
/packages/apps/Dialer/java/com/android/dialer/interactions/
H A DContactUpdateService.java35 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/Messaging/tests/src/com/android/messaging/datamodel/
H A DBindingTest.java133 public TestBindableData(final Object dataId) { argument
134 mDataId = dataId;
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
H A DDataUtil.java34 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/
H A DBugleRecipientEntry.java32 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 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 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 DDataRowHandler.java117 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 DLegacyApiSupport.java1054 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 DContactsDatabaseHelper.java917 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 DContactsProvider2.java1995 long dataId = c.getLong(0);
1998 photoFileIdToDataId.put(photoFileId, dataId);
2040 long dataId = photoFileIdToDataId.get(missingPhotoId);
2043 updateData(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
3028 final long dataId = getDataRowHandler(mimeType).insert(db, context, rawContactId, values);
3032 return dataId;
3216 public int deleteData(long dataId, String[] allowedMimeTypes) { argument
3222 mSelectionArgs1[0] = String.valueOf(dataId);
3375 Long dataId = inputValues.getAsLong(StatusUpdates.DATA_ID);
3380 if (dataId !
9113 openDisplayPhotoForWrite( long rawContactId, long dataId, Uri uri, String mode) argument
9136 PipeMonitor(long rawContactId, long dataId, ParcelFileDescriptor descriptor) argument
9468 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DContactLoaderTest.java311 Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) {
375 dataId,
310 fetchAllData( Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) argument
H A DRawContactDeltaListTests.java167 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { argument
169 return match.getEntry(dataId);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameLookupBuilderTest.java70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, argument
H A DContactsActor.java588 final long dataId = createEmail(rawContactId, address);
589 createStatus(dataId, status);
638 public long createStatus(long dataId, String status) { argument
641 values.put(StatusUpdates.DATA_ID, dataId);
687 public void setSuperPrimaryPhone(long dataId) { argument
692 Uri updateUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
H A DBaseContactsProvider2Test.java444 long dataId, int presence, String status, long timestamp, int chatMode) {
445 return insertStatusUpdate(dataId, presence, status, timestamp, chatMode, false);
449 long dataId, int presence, String status, long timestamp, int chatMode,
452 values.put(StatusUpdates.DATA_ID, dataId);
764 protected void assertSuperPrimary(Long dataId, boolean isSuperPrimary) { argument
766 Cursor c = mResolver.query(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
443 insertStatusUpdate( long dataId, int presence, String status, long timestamp, int chatMode) argument
448 insertStatusUpdate( long dataId, int presence, String status, long timestamp, int chatMode, boolean isUserProfile) argument
/packages/apps/Messaging/src/com/android/messaging/util/
H A DContactUtil.java470 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/apps/Camera2/src/com/android/camera/data/
H A DCameraFilmstripDataAdapter.java476 protected List<Integer> doInBackground(Integer... dataId) { argument
478 for (Integer id : dataId) {
/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/Dialer/java/com/android/dialer/database/
H A DDialerDatabaseHelper.java1153 public final long dataId; field in class:DialerDatabaseHelper.ContactNumber
1168 this.dataId = dataID;
1180 id, dataId, displayName, phoneNumber, lookupKey, photoId, carrierPresence);
1191 && Objects.equals(this.dataId, that.dataId)
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java129 public static final String EXTRA_DATA_ID = "dataId";
1126 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { argument
1129 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1134 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
1135 if (dataId == -1) {
1140 ContactUpdateUtils.setSuperPrimary(this, dataId);
1148 public static Intent createClearPrimaryIntent(Context context, long dataId) { argument
1151 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1156 long dataId = intent.getLongExtra(EXTRA_DATA_ID, -1);
1157 if (dataId
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DAbstractContactAggregator.java1094 long rawContactId, long dataId, int lookupType, String string) {
1478 long dataId = c.getLong(RawContactsQuery.DATA_ID);
1494 bestPhotoId = dataId;
1642 long dataId = c.getLong(PhotoIdQuery.DATA_ID);
1655 bestPhotoId = dataId;
1093 insertNameLookup( long rawContactId, long dataId, int lookupType, String string) argument

Completed in 244 milliseconds