Home
last modified time | relevance | path

Searched refs:rawContactId (Results 1 - 25 of 26) sorted by relevance

12

/applications/standard/contacts_data/jstest/
H A DContactCard_test.js153 async function insertData(rawContactId, type, value, position)
157 {"raw_contact_id" : rawContactId, "content_type" : type, "detail_info" : value, "position" : position};
178 var rawContactId = await dataShareHelper.insert(profileRawContactUri, common.getProfileRawContact());
180 console.info('logMessage contactCard_insert_test_100: rawContactId = ' + rawContactId);
181 expect(rawContactId > 0).assertTrue();
183 map.set("id", rawContactId.toString());
207 var rawContactId = await dataShareHelper.insert(profileRawContactUri, insertRawContactValues);
208 console.info("logMessage contactCard_insert_test_400: rawContactId = " + rawContactId);
[all...]
H A DContacts_test.js152 async function insertData(rawContactId, type, value, position)
156 {"raw_contact_id" : rawContactId, "content_type" : type, "detail_info" : value, "position" : position};
177 var rawContactId = await dataShareHelper.insert(rawContactUri, common.getProfileRawContact());
179 console.info('logMessage contact_insert_test_100: rawContactId = ' + rawContactId);
180 expect(rawContactId > 0).assertTrue();
182 map.set("id", rawContactId.toString());
206 var rawContactId = await dataShareHelper.insert(rawContactUri, insertRawContactValues);
207 console.info("logMessage contact_insert_test_400: rawContactId = " + rawContactId);
[all...]
H A Dcommon.js827 'raw_contact_id': rawContactId,
832 'raw_contact_id': rawContactId,
838 'raw_contact_id': rawContactId,
843 'raw_contact_id': rawContactId,
848 'raw_contact_id': rawContactId,
H A DStability_test.js172 let rawContactId = await dataShareHelper.insert(rawContactUri, rawContactValues);
174 console.info('logMessage contact_data_insert_stability_test_1300: rawContactId = ' + rawContactId);
180 condition.equalTo('id', rawContactId.toString());
187 let add = { 'raw_contact_id': rawContactId, 'detail_info': 'xxx' + i, 'content_type': 'name' };
H A DPerformance_test.js201 let rawContactId = await dataShareHelper.insert(rawContactUri, rawContactValues);
204 console.info('logMessage contact_data_insert_performance_test_1300: rawContactId = ' + rawContactId);
210 condition.equalTo('id', rawContactId.toString());
218 let add = { 'raw_contact_id': rawContactId, 'detail_info': 'xxx' + i, 'content_type': 'name' };
/applications/standard/contacts_data/test/unittest/src/
H A Dcontactability_test.cpp67 int64_t ContactAbilityTest::ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo, in ContactDataInsert() argument
71 contactDataValues.Put("raw_contact_id", rawContactId); in ContactDataInsert()
394 int64_t rawContactId = RawContactInsert("liming", values); in HWTEST_F() local
395 HILOG_INFO("contact_Insert_test_100 : rawContactId = %{public}ld", rawContactId); in HWTEST_F()
396 EXPECT_GT(rawContactId, 0); in HWTEST_F()
399 predicates.EqualTo("id", std::to_string(rawContactId)); in HWTEST_F()
492 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); in HWTEST_F() local
493 HILOG_INFO("contact_Insert_test_400 : rawContactId = %{public}ld", rawContactId); in HWTEST_F()
517 int64_t rawContactId = RawContactInsert("ligang", rawContactValues); HWTEST_F() local
577 int64_t rawContactId = RawContactInsert("chengshao", values); HWTEST_F() local
637 int64_t rawContactId = RawContactInsert("yanshao", values); HWTEST_F() local
682 int64_t rawContactId = RawContactInsert("insert_detail_contactdata", rawValuesBucket); HWTEST_F() local
729 int64_t rawContactId = RawContactInsert("xiaoming", values); HWTEST_F() local
788 int64_t rawContactId = RawContactInsert("feimaomao", rawContactValues); HWTEST_F() local
826 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
960 int64_t rawContactId = RawContactInsert("ligang", values); HWTEST_F() local
1017 int64_t rawContactId = RawContactInsert("xiaomi", rawContactValues); HWTEST_F() local
1074 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1132 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1188 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1285 int64_t rawContactId = RawContactInsert("feimaotui", rawContactValues); HWTEST_F() local
1326 int64_t rawContactId = RawContactInsert("update_detail_contactdata", rawValuesBucket); HWTEST_F() local
1381 int64_t rawContactId = RawContactInsert("xiaozong", rawContactValues); HWTEST_F() local
1458 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
1489 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
1747 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
1858 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
2010 int64_t rawContactId = RawContactInsertValues(valuesBucket); HWTEST_F() local
2141 int64_t rawContactId = RawContactInsert("feimaomao4100", rawContactValues); HWTEST_F() local
2178 int64_t rawContactId = RawContactInsert("licheng", rawContactValuesBucket); HWTEST_F() local
2229 int64_t rawContactId = RawContactInsertValues(valuesBucket); HWTEST_F() local
2265 int64_t rawContactId = RawContactLastContactedInsert("wangwu", 60, rawContactValuesBucket); HWTEST_F() local
2298 int64_t rawContactId = RawContactInsert("xiaobai", rawContactValues); HWTEST_F() local
2429 int64_t rawContactId = RawContactInsert("BossCai", rawContactValues); HWTEST_F() local
2466 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
2540 int64_t rawContactId = RawContactInsert("siyuan", rawContactValues); HWTEST_F() local
2589 int64_t rawContactId = RawContactInsert("feimaotui", rawContactValues); HWTEST_F() local
2623 int64_t rawContactId = RawContactInsert("xiaohong", rawContactValues); HWTEST_F() local
2717 int64_t rawContactId = contactsDataAbility.Insert(uriRawContact, rawContactValues); HWTEST_F() local
2752 GetBatchList(int64_t rawContactId) GetBatchList() argument
2996 int64_t rawContactId = RawContactInsert("xiaocheng", rawContactValues); HWTEST_F() local
3077 int64_t rawContactId = RawContactInsert("lock_type_id", rawValuesBucket); HWTEST_F() local
3114 int64_t rawContactId = RawContactInsert("lock_raw_contact_id", rawValuesBucket); HWTEST_F() local
3145 int64_t rawContactId = RawContactInsert("zhangming", rawContactValues); HWTEST_F() local
3188 int64_t rawContactId = RawContactInsert("dongming", rawContactValues); HWTEST_F() local
3243 int64_t rawContactId = RawContactInsert("zhangming", values); HWTEST_F() local
3442 std::vector<int64_t> rawContactId; HWTEST_F() local
3500 std::vector<int64_t> rawContactId; HWTEST_F() local
3548 std::vector<int64_t> rawContactId; HWTEST_F() local
3611 int64_t rawContactId = RawContactInsert(name, values); HWTEST_F() local
3633 int64_t rawContactId = RawContactInsert("xiaohongDelete", rawContactValues); HWTEST_F() local
[all...]
H A Dcontactpinyin_test.cpp40 int64_t ContactPinyinTest::ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo, in ContactDataInsert() argument
44 contactDataValues.Put("raw_contact_id", rawContactId); in ContactDataInsert()
122 int64_t rawContactId = RawContactInsert("李想", rawContactValues); in HWTEST_F() local
123 EXPECT_GT(rawContactId, 0); in HWTEST_F()
126 int64_t contactDataId = ContactDataInsert(rawContactId, "name", "李想", "", values); in HWTEST_F()
130 predicates.EqualTo("raw_contact_id", std::to_string(rawContactId)); in HWTEST_F()
150 int64_t rawContactId = RawContactInsert("張三", rawContactValues); in HWTEST_F() local
151 EXPECT_GT(rawContactId, 0); in HWTEST_F()
154 int64_t contactDataId = ContactDataInsert(rawContactId, "name", "張三", "", values); in HWTEST_F()
158 predicates.EqualTo("raw_contact_id", std::to_string(rawContactId)); in HWTEST_F()
177 int64_t rawContactId = RawContactInsert("Tom", rawContactValues); HWTEST_F() local
205 int64_t rawContactId = RawContactInsert("李%^玉@成", rawContactValues); HWTEST_F() local
232 int64_t rawContactId = RawContactInsert("李bp玉成욱", rawContactValues); HWTEST_F() local
[all...]
H A Dcontactprofile_test.cpp69 int64_t ContactProfileTest::ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo, in ContactDataInsert() argument
73 contactDataValues.Put("raw_contact_id", rawContactId); in ContactDataInsert()
389 int64_t rawContactId = RawContactInsert("liming", values); in HWTEST_F() local
390 HILOG_INFO("contactProfile_Insert_test_100 : rawContactId = %{public}ld", rawContactId); in HWTEST_F()
391 EXPECT_GT(rawContactId, 0); in HWTEST_F()
394 predicates.EqualTo("id", std::to_string(rawContactId)); in HWTEST_F()
487 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); in HWTEST_F() local
488 HILOG_INFO("contactProfile_Insert_test_400 : rawContactId = %{public}ld", rawContactId); in HWTEST_F()
512 int64_t rawContactId = RawContactInsert("ligang", rawContactValues); HWTEST_F() local
572 int64_t rawContactId = RawContactInsert("chengshao", values); HWTEST_F() local
632 int64_t rawContactId = RawContactInsert("yanshao", values); HWTEST_F() local
677 int64_t rawContactId = RawContactInsert("insert_detail_contactdata", rawValuesBucket); HWTEST_F() local
724 int64_t rawContactId = RawContactInsert("xiaoming", values); HWTEST_F() local
783 int64_t rawContactId = RawContactInsert("feimaomao", rawContactValues); HWTEST_F() local
821 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
955 int64_t rawContactId = RawContactInsert("ligang", values); HWTEST_F() local
1012 int64_t rawContactId = RawContactInsert("xiaomi", rawContactValues); HWTEST_F() local
1069 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1127 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1183 int64_t rawContactId = RawContactInsert("xiaocai", rawContactValues); HWTEST_F() local
1280 int64_t rawContactId = RawContactInsert("feimaotui", rawContactValues); HWTEST_F() local
1321 int64_t rawContactId = RawContactInsert("update_detail_contactdata", rawValuesBucket); HWTEST_F() local
1376 int64_t rawContactId = RawContactInsert("xiaozong", rawContactValues); HWTEST_F() local
1453 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
1484 int64_t rawContactId = RawContactExpandInsert(vectorValue, 1, values); HWTEST_F() local
1742 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
1853 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
2005 int64_t rawContactId = RawContactInsertValues(valuesBucket); HWTEST_F() local
2136 int64_t rawContactId = RawContactInsert("feimaomao4100", rawContactValues); HWTEST_F() local
2173 int64_t rawContactId = RawContactInsert("licheng", rawContactValuesBucket); HWTEST_F() local
2224 int64_t rawContactId = RawContactInsertValues(valuesBucket); HWTEST_F() local
2260 int64_t rawContactId = RawContactLastContactedInsert("wangwu", 60, rawContactValuesBucket); HWTEST_F() local
2293 int64_t rawContactId = RawContactInsert("xiaobai", rawContactValues); HWTEST_F() local
2424 int64_t rawContactId = RawContactInsert("BossCai", rawContactValues); HWTEST_F() local
2461 int64_t rawContactId = RawContactInsert("xiaoli", rawContactValues); HWTEST_F() local
2535 int64_t rawContactId = RawContactInsert("siyuan", rawContactValues); HWTEST_F() local
2584 int64_t rawContactId = RawContactInsert("feimaotui", rawContactValues); HWTEST_F() local
2618 int64_t rawContactId = RawContactInsert("xiaohong", rawContactValues); HWTEST_F() local
2711 int64_t rawContactId = contactsDataAbility.Insert(uriRawContact, rawContactValues); HWTEST_F() local
2746 GetBatchList(int64_t rawContactId) GetBatchList() argument
2990 int64_t rawContactId = RawContactInsert("xiaocheng", rawContactValues); HWTEST_F() local
3071 int64_t rawContactId = RawContactInsert("lock_type_id", rawValuesBucket); HWTEST_F() local
3108 int64_t rawContactId = RawContactInsert("lock_raw_contact_id", rawValuesBucket); HWTEST_F() local
3139 int64_t rawContactId = RawContactInsert("zhangming", rawContactValues); HWTEST_F() local
3182 int64_t rawContactId = RawContactInsert("dongming", rawContactValues); HWTEST_F() local
3237 int64_t rawContactId = RawContactInsert("zhangming", values); HWTEST_F() local
[all...]
H A Dcontactquery_test.cpp40 int64_t ContactQueryTest::ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo, in ContactDataInsert() argument
44 contactDataValues.Put("raw_contact_id", rawContactId); in ContactDataInsert()
124 int64_t rawContactId = RawContactInsert("买键盘", values); in HWTEST_F() local
125 EXPECT_GT(rawContactId, 0); in HWTEST_F()
127 int64_t contactDataIdOne = ContactDataInsert(rawContactId, "name", "买键盘", "", valuesOne); in HWTEST_F()
131 ContactDataInsert(rawContactId, "organization", "你好天天向上hsk", "安全测试", valuesTwo); in HWTEST_F()
134 int64_t contactDataIdThree = ContactDataInsert(rawContactId, "phone", "18552504058", "", valuesThree); in HWTEST_F()
137 int64_t contactDataIdFour = ContactDataInsert(rawContactId, "nickname", "买键盘", "", valuesFour); in HWTEST_F()
140 int64_t contactDataIdFive = ContactDataInsert(rawContactId, "email", "1667894561@163.com", "", valuesFive); in HWTEST_F()
143 int64_t contactDataIdSix = ContactDataInsert(rawContactId, "postal_addres in HWTEST_F()
[all...]
H A Dstability_test.cpp176 int rawContactId = contactsDataAbility.Insert(uriRawContact, rawContactValues); in HWTEST_F() local
188 contactDataValues.Put("raw_contact_id", rawContactId); in HWTEST_F()
H A Dperformance_test.cpp223 int rawContactId = contactsDataAbility.Insert(uriRawContact, rawContactValues); in HWTEST_F() local
236 contactDataValues.Put("raw_contact_id", rawContactId); in HWTEST_F()
/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_database.cpp232 int rawContactId = OHOS::NativeRdb::E_OK; in InsertContactData() local
239 GetContactByValue(rawContactId, value); in InsertContactData()
240 if (rawContactId <= 0) { in InsertContactData()
241 HILOG_ERROR("InsertContactData raw_contact_id is required %{public}d", rawContactId); in InsertContactData()
246 int retCode = GetTypeText(contactDataValues, typeId, rawContactId, typeText); in InsertContactData()
265 rawContactIdVector.push_back(rawContactId); in InsertContactData()
280 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText) in GetTypeText()
425 int rawContactId = 0; in UpdateRawContact() local
427 rawContactResultSet->GetInt(columnIndex, rawContactId); in UpdateRawContact()
428 rawContactIdVector.push_back(rawContactId); in UpdateRawContact()
279 GetTypeText( OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText) GetTypeText() argument
657 int rawContactId = 0; DeleteExecute() local
689 int rawContactId = 0; DeleteRecordInsert() local
811 DeleteRawContactLocal( int contactId, int rawContactId, std::string backupData, std::string disPlayName) DeleteRawContactLocal() argument
895 DeleteLocal(int rawContactId, std::string contactId) DeleteLocal() argument
960 int rawContactId = 0; QueryContactDataRawContactId() local
1042 StructureDeleteContactJson( OHOS::NativeRdb::ValuesBucket rawContactValues, std::string rawContactIdColumn, int rawContactId) StructureDeleteContactJson() argument
1320 int rawContactId = 0; MarkMerge() local
[all...]
H A Dcontacts_update_helper.cpp49 HILOG_ERROR("ContactsUpdateHelper UpdateDisplay Illegal rawContactId size type:%{public}d", count); in UpdateDisplay()
57 int rawContactId = rawContactIdVector[i]; in UpdateDisplay() local
65 ret = rawContacts.UpdateRawContactById(rawContactId, type, rdbStore, rawContactValues); in UpdateDisplay()
75 ret = contactsContact.UpdateContact(rawContactId, rdbStore, contactValues); in UpdateDisplay()
82 ret = UpdateName(contactDataDataValues, isDelete, rawContactId, type, rdbStore); in UpdateDisplay()
95 int ContactsUpdateHelper::UpdateName(OHOS::NativeRdb::ValuesBucket linkDataDataValues, bool isDelete, int rawContactId, in UpdateName() argument
130 rawContacts.UpdateRawContactById(rawContactId, type, rdbStore, rawContactValues); in UpdateName()
140 ret = contactsSearch.UpdateSearchContact(rawContactId, type, rdbStore, searchContactValues); in UpdateName()
H A Dcontacts.cpp51 int Contacts::UpdateContact(const int &rawContactId, std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, in UpdateContact() argument
57 upWhereArgs.push_back(std::to_string(rawContactId)); in UpdateContact()
H A Draw_contacts.cpp71 int RawContacts::UpdateRawContactById(int &rawContactId, std::string type, in UpdateRawContactById() argument
77 upWhereArgs.push_back(std::to_string(rawContactId)); in UpdateRawContactById()
/applications/standard/contacts_data/dataBusiness/contacts/include/
H A Dcontacts_database.h41 void GetContactByValue(int &rawContactId, OHOS::NativeRdb::ValueObject &value);
88 OHOS::NativeRdb::ValuesBucket rawContactValues, std::string rawContactIdColumn, int rawContactId);
90 int DeleteRawContactLocal(int contactId, int rawContactId, std::string backupData, std::string disPlayName);
93 int DeleteLocal(int rawContactId, std::string contactId);
96 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText);
H A Dcontacts.h33 int UpdateContact(const int &rawContactId, std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore,
H A Draw_contacts.h33 int UpdateRawContactById(int &rawContactId, std::string type, std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore,
/applications/standard/contacts_data/dataBusiness/quicksearch/src/
H A Dcontacts_search.cpp37 int64_t rawContactId, OHOS::NativeRdb::ValuesBucket rawContactValues, int64_t &searchContactId) in Insert()
42 searchContactValues.PutInt(SearchContactColumns::RAW_CONTACT_ID, rawContactId); in Insert()
52 * @param rawContactId Parameters to be passed for update operation
59 int ContactsSearch::UpdateSearchContact(int rawContactId, std::string type, in UpdateSearchContact() argument
65 upWhereArgs.push_back(std::to_string(rawContactId)); in UpdateSearchContact()
36 Insert(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, int64_t contactId, int64_t rawContactId, OHOS::NativeRdb::ValuesBucket rawContactValues, int64_t &searchContactId) Insert() argument
/applications/standard/contacts_data/test/unittest/include/
H A Dcontactability_test.h71 int rawContactId = code; in Insert() local
72 EXPECT_GT(rawContactId, 0); in Insert()
74 this->result.insert(std::map<int, OHOS::DataShare::DataShareValuesBucket>::value_type(rawContactId, in Insert()
133 int64_t ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo,
157 std::vector<OHOS::DataShare::DataShareValuesBucket> GetBatchList(int64_t rawContactId);
H A Dcontactprofile_test.h34 int64_t ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo,
58 std::vector<OHOS::DataShare::DataShareValuesBucket> GetBatchList(int64_t rawContactId);
H A Dcontactquery_test.h28 int64_t ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo,
H A Dmergecontact_test.h27 int64_t rawContactId, std::string contentType, std::string detailInfo, std::string position);
H A Dcontactpinyin_test.h28 int64_t ContactDataInsert(int64_t rawContactId, std::string contentType, std::string detailInfo,
/applications/standard/contacts_data/dataBusiness/quicksearch/include/
H A Dcontacts_search.h27 int64_t Insert(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, int64_t contactId, int64_t rawContactId,
32 int UpdateSearchContact(int rawContactId, std::string type, std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore,

Completed in 19 milliseconds

12