Lines Matching defs:contactId
161 int64_t contactId = 0;
162 int rowContactRet = contactsContact.InsertContact(store_, outRawContactId, rawContactValues, contactId);
167 // update contactId to rawContacts
170 upRawContactValues.PutInt(contactIdKey, contactId);
177 HILOG_ERROR("insertRawContact Update contactId to rawContacts failed:%{public}d", rowContactRet);
184 contactsSearch.Insert(store_, contactId, outRawContactId, rawContactValues, searchContactId);
693 int contactId = 0;
694 contactIdValue.GetInt(contactId);
704 int deleteRet = DeleteRawContactLocal(contactId, rawContactId, backupData, disPlayName);
710 whereArgs.push_back(std::to_string(contactId));
777 int contactId;
778 resultSet->GetInt(0, contactId);
779 whereArgs.push_back(std::to_string(contactId));
812 int contactId, int rawContactId, std::string backupData, std::string disPlayName)
818 deleteRawContact.PutInt(DeleteRawContactColumns::CONTACT_ID, contactId);
847 int contactId;
848 resultSet->GetInt(0, contactId);
849 contactIds.push_back(std::to_string(contactId));
895 int ContactsDataBase::DeleteLocal(int rawContactId, std::string contactId)
901 std::string updateContactSql = "UPDATE contact SET name_raw_contact_id = NULL WHERE id = " + contactId;
907 std::string updateRawContactSql = "UPDATE raw_contact SET contact_id = NULL WHERE contact_id = " + contactId;
913 std::string deleteDeleteRawContactSql = "DELETE FROM deleted_raw_contact WHERE contact_id = " + contactId;
919 std::string deleteSearchContactSql = "DELETE FROM search_contact WHERE contact_id = " + contactId;
931 std::string deleteContactSql = "DELETE FROM contact WHERE id = " + contactId;