Home
last modified time | relevance | path

Searched refs:candidate (Results 1 - 4 of 4) sorted by relevance

/applications/standard/contacts_data/ability/merge/src/
H A Dcandidate_status.cpp44 Candidate candidate; in QueryAllForMerge() local
74 candidate.autoIds_ = autoIds; in QueryAllForMerge()
75 candidate.manualIds_ = manualIds; in QueryAllForMerge()
76 AddMergedStatus(candidate); in QueryAllForMerge()
77 HILOG_INFO("QueryAllForMerge mode is : %{public}d ", candidate.mergeMode_); in QueryAllForMerge()
78 candidate.autoIds_.insert(rawId); in QueryAllForMerge()
79 candidate.manualIds_.insert(rawId); in QueryAllForMerge()
80 HILOG_INFO("QueryAllForMerge size is : %{public}zu ", candidate.autoIds_.size()); in QueryAllForMerge()
81 HILOG_INFO("QueryAllForMerge candidate.manualIds_ is : %{public}zu ", candidate in QueryAllForMerge()
85 AddMergedStatus(Candidate &candidate) AddMergedStatus() argument
[all...]
H A Dmatch_candidate.cpp18 #include "candidate.h"
37 * @brief Query operation for update candidate's merge_mode
48 Candidate candidate = candidateStatus.QueryAllForMerge(store, rawId); in FindMatchContact() local
49 if (candidate.autoIds_.size() > 1) { in FindMatchContact()
50 int minAutoid = *candidate.autoIds_.begin(); in FindMatchContact()
68 int retCode = UpdateMergeMode(store, candidate); in FindMatchContact()
201 int MatchCandidate::UpdateMergeMode(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, Candidate candidate) in UpdateMergeMode() argument
203 HILOG_INFO("MatchCandidate::UpdateMergeMode is start mode :%{public}d ", candidate.mergeMode_); in UpdateMergeMode()
205 switch (candidate.mergeMode_) { in UpdateMergeMode()
207 error = ExecuteUpdateMode(store, candidate in UpdateMergeMode()
[all...]
/applications/standard/contacts_data/ability/merge/include/
H A Dcandidate_status.h23 #include "candidate.h"
39 void AddMergedStatus(Candidate &candidate);
H A Dmatch_candidate.h34 int UpdateMergeMode(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, Candidate candidate);

Completed in 2 milliseconds