Lines Matching refs:rawId
38 * @param rawId Contacts's raw_contact_id to query
42 Candidate CandidateStatus::QueryAllForMerge(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
49 std::set<std::string> names = mergeUtils.QueryRawContactByType(store, rawId, nameType);
51 std::vector<int> nameIds = mergeUtils.QueryByDataName(rawId, names, store);
53 std::set<std::string> phones = mergeUtils.QueryRawContactByType(store, rawId, phoneType);
78 candidate.autoIds_.insert(rawId);
79 candidate.manualIds_.insert(rawId);
100 * @param rawId Contacts's raw_contact_id to query
104 bool CandidateStatus::IsNeedMerge(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
113 .append(std::to_string(rawId));
135 * @param rawId Contacts's raw_contact_id to query
139 bool CandidateStatus::IsMergeStatus(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
148 .append(std::to_string(rawId));
170 * @param rawId Contacts's raw_contact_id to query
174 bool CandidateStatus::IsMerged(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId)
183 .append(std::to_string(rawId));
198 bool isMerged = mergeMode && !IsNeedMerge(store, rawId);
203 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, std::vector<int> ids, int rawId)
209 std::set<std::string> names = mergeUtils.QueryRawContactByType(store, rawId, nameType);
210 std::set<std::string> phones = mergeUtils.QueryRawContactByType(store, rawId, phoneType);