/base/usb/usb_manager/services/native/src/ |
D | usb_right_db_helper.cpp | 128 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 186 …rdbPredicates.BeginWrap()->EqualTo("uid", std::to_string(uid))->And()->EqualTo("deviceName", devic… in QueryDeviceRightRecord() [all …]
|
/base/request/request/services/service/rust/src/c_wrapper/include/ |
D | c_request_database.h | 127 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/ |
D | c_request_database.cpp | 140 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 325 …rdbPredicates.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/ |
D | pdp_profile_ability.cpp | 150 …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/ |
D | opkey_ability.cpp | 149 …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/ |
D | sim_ability.cpp | 164 …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/ |
D | usb_right_db_helper.h | 123 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);
|
D | usb_right_database.h | 58 int32_t Delete(const OHOS::NativeRdb::RdbPredicates &rdbPredicates);
|
/base/telephony/telephony_data/sms_mms/src/ |
D | sms_mms_ability.cpp | 182 …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()
|