/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForCommonDataKind.java | 53 final long dataId = c.getLong(DataUpdateQuery._ID); 54 final ContentValues augmented = getAugmentedValues(db, dataId, values);
|
DataRowHandlerForIdentity.java | 37 final long dataId = super.insert(db, txContext, rawContactId, values); 44 return dataId;
|
DataRowHandlerForNickname.java | 43 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);
|
DataRowHandlerForOrganization.java | 46 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);
|
DataRowHandlerForEmail.java | 41 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);
|
DataRowHandlerForGroupMembership.java | 79 long dataId = super.insert(db, txContext, rawContactId, values); 84 return dataId;
|
DataRowHandlerForStructuredPostal.java | 64 final long dataId = c.getLong(DataUpdateQuery._ID); 65 final ContentValues augmented = getAugmentedValues(db, dataId, values);
|
DataRowHandlerForPhoneNumber.java | 46 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, 116 mSelectionArgs1[0] = String.valueOf(dataId); 123 phoneValues.put(PhoneLookupColumns.DATA_ID, dataId); [all...] |
DataRowHandlerForPhoto.java | 70 long dataId = super.insert(db, txContext, rawContactId, values); 74 return dataId;
|
DataRowHandlerForStructuredName.java | 51 long dataId = super.insert(db, txContext, rawContactId, values); 55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 61 return dataId; 67 final long dataId = c.getLong(DataUpdateQuery._ID); 70 final ContentValues augmented = getAugmentedValues(db, dataId, values); 81 mDbHelper.deleteNameLookup(dataId); 83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 95 long dataId = c.getLong(DataDeleteQuery._ID); 100 mDbHelper.deleteNameLookup(dataId);
|
DataRowHandler.java | 117 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) { [all...] |
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
ContactUpdateService.java | 35 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { 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/src/com/android/messaging/datamodel/data/ |
ContactListItemData.java | 56 final long dataId = cursor.getLong(ContactUtil.INDEX_DATA_ID); 82 contactId, lookupKey, dataId, photoThumbnailUri, isFirstLevel);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_PhoneLookup.java | 65 public long dataId; 67 public Id (long contactId, long dataId) { 69 this.dataId = dataId; 81 long dataId = rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE) 118 new Id(contact.getId(), dataId), 147 expected.put(PhoneLookup.DATA_ID, ids[0].dataId); 164 expected.put(PhoneLookup.DATA_ID, ids[1].dataId); 179 expected.put(PhoneLookup.DATA_ID, ids[2].dataId); 207 expected.put(PhoneLookup.DATA_ID, ids[0].dataId); [all...] |
ContactsContract_StatusUpdatesTest.java | 40 private long dataId; 65 dataId = ContentUris.parseId(results[1].uri); 69 Uri uri = insertStatusUpdate(dataId, StatusUpdates.DO_NOT_DISTURB, null, null); 75 Uri uri2 = insertStatusUpdate(dataId, StatusUpdates.AVAILABLE, null, null); 83 Uri uri3 = insertStatusUpdate(dataId, StatusUpdates.AWAY, "Grabbing a byte", null); 92 Uri uri4 = insertStatusUpdate(dataId, StatusUpdates.IDLE, "Taking a bit of a break", null); 101 private Uri insertStatusUpdate(long dataId, int presence, String status, Long timestamp) 105 .withValue(StatusUpdates.DATA_ID, dataId)
|
ContactsContract_DataTest.java | 587 long dataId = createData(ids.mRawContactId); 592 DataUtil.delete(mResolver, dataId); 667 long dataId = createData(ids.mRawContactId); 673 DataUtil.update(mResolver, dataId, values); [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 89 final long dataId = cursor.getLong(StatusQuery._ID); 90 statuses.put(dataId, status);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABDbUtil.java | 114 // contactId, rawContactId and dataId. 128 String dataId = pCur.getString(pCur.getColumnIndex( 132 + rawContactId + dataId; 138 formattedNumber, rawContactId, contactId, dataId)); 141 " contactId: " + contactId + " Data.ID : " + dataId 194 String dataId) { 203 .withValue(EABContract.EABColumns.DATA_ID, dataId).build()); 300 ArrayList<ContentProviderOperation> ops, String rawContactId, String dataId) { 305 + "' AND " + EABContract.EABColumns.DATA_ID + " ='" + dataId + "'"; 316 new String[]{rawContactId, dataId}).build()) [all...] |
EABProvider.java | 498 long dataId = cursor.getLong(cursor.getColumnIndex( 508 logger.debug("Deleting : dataId : " + dataId + " contactId :" + contactId +
|
EABService.java | 469 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( 479 logger.debug("dataId : " + dataId + " rawContactId :" + rawContactId + 482 verifyInsertOrUpdateAction(dataId, contactId, rawContactId, phoneNumber, 517 private void verifyInsertOrUpdateAction(Long dataId, Long contactId, 528 String eabWhereClause = EABContract.EABColumns.DATA_ID + " ='" + dataId.toString() 541 // EABProvider has entry for dataId & rawContactId. Try to 555 handlePhoneNumberChanged(dataId, contactId, rawContactId, 559 handlePhoneNameUpdate(dataId, contactId, rawContactId, 570 handlePhoneNumberInsertion(dataId, contactId, rawContactId, phoneNumber [all...] |
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
CallingAccountSelector.java | 192 result.dataId.orNull(), 204 @Nullable String dataId, 209 if (dataId != null) { 235 dataId != null /* canSetDefault */, 238 new SelectedListener(coordinator, pendingAction, dataId, number, suggestion), 291 Optional<String> dataId = Optional.absent(); 319 result.dataId = getDataId(context, phoneNumber); 320 if (result.dataId.isPresent()) { 321 result.phoneAccountHandle = getPreferredAccount(context, result.dataId.get()); 375 private static Optional<String> getAccountType(ContentResolver contentResolver, long dataId) { [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
ContactUtil.java | 470 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,
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 722 final String dataId = cursor.getString(0); 723 updateDataUsageStatForData(resolver, dataId); 727 updateNormalizedNumber(context, resolver, dataId, number); [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 363 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;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 632 final long dataId = createEmail(rawContactId, address); 633 createStatus(dataId, status); 682 public long createStatus(long dataId, String status) { 685 values.put(StatusUpdates.DATA_ID, dataId); 731 public void setSuperPrimaryPhone(long dataId) { 736 Uri updateUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
|