Home
last modified time | relevance | path

Searched refs:rdbPredicates (Results 1 – 9 of 9) sorted by relevance

/base/usb/usb_manager/services/native/src/
Dusb_right_db_helper.cpp128 int32_t UsbRightDbHelper::QueryAndGetResult(const RdbPredicates &rdbPredicates, const std::vector<s… in QueryAndGetResult() argument
136 auto resultSet = rightDatabase_->Query(rdbPredicates, columns); in QueryAndGetResult()
158 RdbPredicates rdbPredicates(USB_RIGHT_TABLE_NAME); in QueryRightRecord() local
159 rdbPredicates.BeginWrap() in QueryRightRecord()
166 return QueryAndGetResult(rdbPredicates, columns, infos); in QueryRightRecord()
174 RdbPredicates rdbPredicates(USB_RIGHT_TABLE_NAME); in QueryUserRightRecord() local
175 rdbPredicates.EqualTo("uid", std::to_string(uid)); in QueryUserRightRecord()
176 return QueryAndGetResult(rdbPredicates, columns, infos); in QueryUserRightRecord()
185 RdbPredicates rdbPredicates(USB_RIGHT_TABLE_NAME); in QueryDeviceRightRecord() local
186rdbPredicates.BeginWrap()->EqualTo("uid", std::to_string(uid))->And()->EqualTo("deviceName", devic… in QueryDeviceRightRecord()
[all …]
/base/request/request/services/service/rust/src/c_wrapper/include/
Dc_request_database.h127 int TouchRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo,
129 int QueryRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo,
131 int TouchTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo,
133 int QueryTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo,
/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_request_database.cpp140 OHOS::NativeRdb::RdbPredicates rdbPredicates("request_task_info"); in HasRequestTaskRecord() local
141 rdbPredicates.EqualTo("task_id", std::to_string(taskId)); in HasRequestTaskRecord()
142 …auto resultSet = OHOS::Request::RequestDataBase::GetInstance().Query(rdbPredicates, { "task_id" }); in HasRequestTaskRecord()
323 OHOS::NativeRdb::RdbPredicates rdbPredicates("request_task_info"); in Search() local
325rdbPredicates.Between("ctime", std::to_string(filter.commonData.after), std::to_string(filter.comm… in Search()
327 rdbPredicates.EqualTo("state", std::to_string(filter.commonData.state)); in Search()
330 rdbPredicates.EqualTo("action", std::to_string(filter.commonData.action)); in Search()
333 rdbPredicates.EqualTo("mode", std::to_string(filter.commonData.mode)); in Search()
336 rdbPredicates.EqualTo("bundle", bundle); in Search()
338 …auto resultSet = OHOS::Request::RequestDataBase::GetInstance().Query(rdbPredicates, { "task_id" }); in Search()
[all …]
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp150 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query() local
151 auto result = helper_.Query(rdbPredicates, columns); in Query()
206 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Update() local
208 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
233 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Delete() local
235 result = helper_.Delete(deletedRows, rdbPredicates); in Delete()
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp149 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query() local
150 auto resultSet = helper_.Query(rdbPredicates, columns); in Query()
197 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Update() local
199 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
224 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Delete() local
226 result = helper_.Delete(deletedRows, rdbPredicates); in Delete()
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp164 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query() local
165 auto resultSet = helper_.Query(rdbPredicates, columns); in Query()
205 NativeRdb::RdbPredicates rdbPredicates = in Update() local
208 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
283 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Delete() local
285 result = helper_.Delete(deletedRows, rdbPredicates); in Delete()
/base/usb/usb_manager/services/native/include/
Dusb_right_db_helper.h123 int32_t QueryAndGetResult(const OHOS::NativeRdb::RdbPredicates &rdbPredicates,
125 int32_t QueryAndGetResultColumnValues(const OHOS::NativeRdb::RdbPredicates &rdbPredicates,
128 int32_t DeleteAndNoOtherOperation(const OHOS::NativeRdb::RdbPredicates &rdbPredicates);
Dusb_right_database.h58 int32_t Delete(const OHOS::NativeRdb::RdbPredicates &rdbPredicates);
/base/telephony/telephony_data/sms_mms/src/
Dsms_mms_ability.cpp182 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query() local
183 auto resultSet = helper_.Query(rdbPredicates, columns); in Query()
218 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Update() local
220 result = helper_.Update(changedRows, values, rdbPredicates); in Update()
311 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Delete() local
313 result = helper_.Delete(deletedRows, rdbPredicates); in Delete()