/base/telephony/telephony_data/sim/src/ |
D | rdb_sim_helper.cpp | 111 std::string whereClause; in SetDefaultCardByType() local 112 whereClause.append(SimData::SIM_ID).append("=").append(std::to_string(simId)); in SetDefaultCardByType() 113 result = Update(changedRows, TABLE_SIM_INFO, values, whereClause); in SetDefaultCardByType() 126 std::string whereClause; in UpdateCardStateByType() local 131 whereClause.append(SimData::IS_MAIN_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType() 137 … whereClause.append(SimData::IS_VOICE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType() 143 … whereClause.append(SimData::IS_MESSAGE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType() 149 … whereClause.append(SimData::IS_CELLULAR_DATA_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType() 157 return Update(changedRows, TABLE_SIM_INFO, values, whereClause); in UpdateCardStateByType()
|
/base/telephony/telephony_data/common/src/ |
D | rdb_base_helper.cpp | 48 const std::string &whereClause, const std::vector<std::string> &whereArgs) in Update() argument 52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update() 67 …t RdbBaseHelper::Delete(int &changedRows, const std::string &table, const std::string &whereClause, in Delete() argument 72 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete()
|
/base/usb/usb_manager/services/native/src/ |
D | usb_right_db_helper.cpp | 300 const std::string &whereClause, const std::vector<std::string> &whereArgs) in DeleteAndNoOtherOperation() argument 308 ret = rightDatabase_->Delete(changedRows, whereClause, whereArgs); in DeleteAndNoOtherOperation() 346 std::string whereClause = {"uid = ? AND deviceName = ? AND bundleName = ?"}; in DeleteRightRecord() local 348 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteRightRecord() 358 std::string whereClause = {"uid = ? AND deviceName = ?"}; in DeleteDeviceRightRecord() local 360 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteDeviceRightRecord() 370 std::string whereClause = {"uid = ? AND bundleName = ?"}; in DeleteAppRightRecord() local 372 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteAppRightRecord() 394 std::string whereClause = {"uid = ?"}; in DeleteUidRightRecord() local 396 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteUidRightRecord() [all …]
|
D | usb_right_database.cpp | 125 const std::string &whereClause, const std::vector<std::string> &whereArgs) 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()
|
/base/usb/usb_manager/services/native/include/ |
D | usb_right_database.h | 56 …(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::string &whereClause, 59 …int32_t Delete(int32_t &changedRows, const std::string &whereClause, const std::vector<std::string…
|
D | usb_right_db_helper.h | 127 …int32_t DeleteAndNoOtherOperation(const std::string &whereClause, const std::vector<std::string> &…
|
/base/telephony/telephony_data/common/include/ |
D | rdb_base_helper.h | 45 const std::string &whereClause = "", 48 int Delete(int &changedRows, const std::string &table, const std::string &whereClause = "",
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/ |
D | notification_rdb_data_mgr_test.cpp | 75 const std::string &whereClause = "", in Update() argument 81 const std::string &whereClause, const std::vector<std::string> &whereArgs, in UpdateWithConflictResolution() argument 87 const std::string &whereClause = "", const std::vector<ValueObject> &bindArgs = {}, in UpdateWithConflictResolution() argument 92 … virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause, in Delete() argument 97 …virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause = "", in Delete() argument 103 const std::vector<std::string> &columns, const std::string &whereClause = "", in Query() argument
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | data_share_dao.cpp | 81 std::string whereClause = "uid = ?"; in SaveSubscriberInfo() local 83 …if (int ret = dbStore->Update(rows, eventTable_, values, whereClause, whereArgs); ret != NativeRdb… in SaveSubscriberInfo()
|