Home
last modified time | relevance | path

Searched refs:retCode (Results 1 - 6 of 6) sorted by relevance

/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_data_ability.cpp351 int retCode = Contacts::RDB_EXECUTE_FAIL; in Update() local
355 UpdateExecute(retCode, code, valuesBucket, dataSharePredicates); in Update()
358 return retCode; in Update()
361 void ContactsDataAbility::UpdateExecute(int &retCode, int code, const OHOS::NativeRdb::ValuesBucket &value, in UpdateExecute() argument
374 retCode = contactDataBase_->UpdateRawContact(value, rdbPredicates); in UpdateExecute()
380 retCode = contactDataBase_->UpdateContactData(value, rdbPredicates); in UpdateExecute()
386 retCode = contactDataBase_->UpdateGroup(value, rdbPredicates); in UpdateExecute()
392 retCode = contactDataBase_->UpdateBlockList(value, rdbPredicates); in UpdateExecute()
395 SwitchUpdate(retCode, code, value, dataSharePredicates); in UpdateExecute()
400 void ContactsDataAbility::SwitchUpdate(int &retCode, in argument
448 int retCode = Contacts::RDB_EXECUTE_FAIL; Delete() local
458 DeleteExecute( int &retCode, int code, DataShare::DataSharePredicates &dataSharePredicates) DeleteExecute() argument
670 int retCode = instance->SQLiteCheckDb(); BackUp() local
685 int retCode = instance->RecoveryDatabase(name); Recover() local
[all...]
H A Dcontacts_database.cpp246 int retCode = GetTypeText(contactDataValues, typeId, rawContactId, typeText); in InsertContactData() local
247 if (retCode != OHOS::NativeRdb::E_OK) { in InsertContactData()
248 HILOG_ERROR("InsertContactData getTypeText failed:%{public}d", retCode); in InsertContactData()
249 return retCode; in InsertContactData()
853 int retCode = RDB_EXECUTE_FAIL; in CompletelyDelete() local
863 retCode = DeleteLocal(value, contactIds[index]); in CompletelyDelete()
864 if (retCode != OHOS::NativeRdb::E_OK) { in CompletelyDelete()
865 HILOG_ERROR("CompletelyDelete DeleteLocal error:%{public}d", retCode); in CompletelyDelete()
871 if (retCode != OHOS::NativeRdb::E_OK) { in CompletelyDelete()
872 HILOG_ERROR("CompletelyDelete error:%{public}d", retCode); in CompletelyDelete()
880 CompletelyDeleteCommit(int retCode) CompletelyDeleteCommit() argument
902 int retCode = store_->ExecuteSql(updateContactSql); DeleteLocal() local
[all...]
/applications/standard/contacts_data/dataBusiness/contacts/include/
H A Dcontacts_data_ability.h62 void UpdateExecute(int &retCode, int code, const OHOS::NativeRdb::ValuesBucket &value,
64 void SwitchUpdate(int &retCode, int &code, const OHOS::NativeRdb::ValuesBucket &value,
66 void DeleteExecute(int &retCode, int code, DataShare::DataSharePredicates &dataSharePredicates);
H A Dcontacts_database.h97 int CompletelyDeleteCommit(int retCode);
/applications/standard/contacts_data/ability/merge/src/
H A Dmatch_candidate.cpp68 int retCode = UpdateMergeMode(store, candidate); in FindMatchContact() local
69 HILOG_INFO("MatchCandidate::FindMatchContact retCode : %{public}d ", retCode); in FindMatchContact()
70 return retCode; in FindMatchContact()
/applications/standard/contacts_data/test/unittest/src/
H A Drecovery_test.cpp94 int retCode = contactsDataAbility.Update(uriRawContactBackUp, predicates, value); in HWTEST_F() local
95 EXPECT_EQ(0, retCode); in HWTEST_F()

Completed in 5 milliseconds