Home | History | Annotate | Download | only in contacts

Lines Matching refs:dataId

1088     private int updateOrganizations(long dataId, ContentValues values) {
1092 Data._ID + "=" + dataId, null);
1095 private int updatePhones(long dataId, ContentValues values) {
1099 Data._ID + "=" + dataId, null);
1102 private int updateContactMethods(long dataId, ContentValues values) {
1105 mDataMimetypeQuery.bindLong(1, dataId);
1129 Data._ID + "=" + dataId, null);
1132 private int updateExtensions(long dataId, ContentValues values) {
1136 Data._ID + "=" + dataId, null);
1181 long dataId = findFirstDataId(rawContactId, Photo.CONTENT_ITEM_TYPE);
1187 if (dataId == -1) {
1191 dataId = ContentUris.parseId(dataUri);
1194 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
1198 updateLegacyPhotoData(rawContactId, dataId, values);
1203 private int updatePhotoByDataId(long dataId, ContentValues values) {
1205 mDataRawContactIdQuery.bindLong(1, dataId);
1220 Data._ID + "=" + dataId, null);
1223 updateLegacyPhotoData(rawContactId, dataId, values);
1228 private void updateLegacyPhotoData(long rawContactId, long dataId, ContentValues values) {
1242 + " AND " + LegacyPhotoData.PHOTO_DATA_ID + "=" + dataId, null);
1246 mValues.put(LegacyPhotoData.PHOTO_DATA_ID, dataId);
1501 long dataId = findFirstDataId(rawContactId, contentItemType);
1502 if (dataId == -1) {
1506 return ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
1510 long dataId = -1;
1517 dataId = c.getLong(IdQuery._ID);
1522 return dataId;