Home
last modified time | relevance | path

Searched refs:changedRows (Results 1 – 19 of 19) sorted by relevance

/base/telephony/telephony_data/common/src/
Drdb_base_helper.cpp47 int RdbBaseHelper::Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket… in Update() argument
52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update()
57 int RdbBaseHelper::Update(int &changedRows, const NativeRdb::ValuesBucket &values, in Update() argument
62 ret = store_->Update(changedRows, values, predicate); in Update()
67 int RdbBaseHelper::Delete(int &changedRows, const std::string &table, const std::string &whereClaus… in Delete() argument
72 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete()
/base/usb/usb_manager/services/native/include/
Dusb_right_database.h54 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values,
56 …int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::strin…
59 …int32_t Delete(int32_t &changedRows, const std::string &whereClause, const std::vector<std::string…
/base/telephony/telephony_data/common/include/
Drdb_base_helper.h44 int Update(int &changedRows, const std::string &table, const NativeRdb::ValuesBucket &values,
47 …int Update(int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::AbsRdbPredica…
48 int Delete(int &changedRows, const std::string &table, const std::string &whereClause = "",
/base/usb/usb_manager/services/native/src/
Dusb_right_database.cpp110 …int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const OHOS::NativeRdb::RdbPredi… in Update() argument
116 int32_t ret = store_->Update(changedRows, values, predicates); in Update()
124 int32_t UsbRightDataBase::Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, in Update() argument
131 int32_t ret = store_->Update(changedRows, USB_RIGHT_TABLE_NAME, values, whereClause, whereArgs); in Update()
155 int32_t &changedRows, const std::string &whereClause, const std::vector<std::string> &whereArgs) in Delete() argument
161 int32_t ret = store_->Delete(changedRows, USB_RIGHT_TABLE_NAME, whereClause, whereArgs); in Delete()
Dusb_right_db_helper.cpp283 int32_t changedRows = 0; in UpdateRightRecord() local
284 … ret = rightDatabase_->Update(changedRows, values, "uid = ? AND deviceName = ? AND bundleName = ?", in UpdateRightRecord()
307 int32_t changedRows = 0; in DeleteAndNoOtherOperation() local
308 ret = rightDatabase_->Delete(changedRows, whereClause, whereArgs); in DeleteAndNoOtherOperation()
594 int32_t changedRows = 0; in AddOrUpdateRightRecordEx() local
595 … ret = rightDatabase_->Update(changedRows, values, "uid = ? AND deviceName = ? AND bundleName = ?", in AddOrUpdateRightRecordEx()
/base/update/updateservice/services/core/ability/sqlite/core/include/
Dtable_base_operator.h47 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate…
144 int changedRows = 0; in Update() local
145 return Update(changedRows, values, predicates); in Update()
150 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate… in Update() argument
153 return dataBase_->Update(changedRows, values, predicates); in Update()
Didatabase.h36 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate…
Ditable_operator.h36 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate…
Dsqlite_db.h41 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate…
/base/telephony/telephony_data/sim/src/
Drdb_sim_helper.cpp88 int changedRows = 0; in SetDefaultCardByType() local
113 result = Update(changedRows, TABLE_SIM_INFO, values, whereClause); in SetDefaultCardByType()
156 int changedRows = 0; in UpdateCardStateByType() local
157 return Update(changedRows, TABLE_SIM_INFO, values, whereClause); in UpdateCardStateByType()
Dsim_ability.cpp204 int changedRows = CHANGED_ROWS; in Update() local
208 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
/base/update/updateservice/services/core/ability/sqlite/core/src/
Dsqlite_db.cpp97 …int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate… in Update() argument
101 int ret = dbStore->Update(changedRows, values, predicates); in Update()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_store.cpp225 int32_t changedRows = STATE_FAIL; in Update() local
231 …int32_t result = rdbStore_->Update(changedRows, REMINDER_DB_TABLE, values, updateCondition, whereA… in Update()
232 if ((result != NativeRdb::E_OK) || (changedRows <= 0)) { in Update()
234 result, changedRows, reminder->GetReminderId()); in Update()
238 changedRows, reminder->GetReminderId()); in Update()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/
Dnotification_rdb_data_mgr_test.cpp68 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values, in Update() argument
74 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values, in Update() argument
80 …virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesB… in UpdateWithConflictResolution() argument
86 …virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesB… in UpdateWithConflictResolution() argument
191 …virtual int Update(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &predicate… in Update() argument
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp205 int changedRows = CHANGED_ROWS; in Update() local
208 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp196 int changedRows = CHANGED_ROWS; in Update() local
199 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
/base/telephony/telephony_data/sms_mms/src/
Drdb_sms_mms_helper.cpp190 int changedRows = 0; in DeleteDataByThirty() local
196 result = Delete(changedRows, TABLE_SMS_MMS_INFO, values); in DeleteDataByThirty()
Dsms_mms_ability.cpp217 int changedRows = CHANGED_ROWS; in Update() local
220 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_request_database.cpp90 int changedRows = 0; in Update() local
96 int ret = store_->Update(changedRows, values, predicates); in Update()
97 …QUEST_HILOGI("request database update ret is %{public}d changedRows %{public}d", ret, changedRows); in Update()