Signed-off-by: wenjinchao <wenjinchao@huawei.com>
Change-Id: Ifd07c667063472c775635223ca4e39297bbc1c50
This commit is contained in:
wenjinchao 2024-11-19 15:24:54 +08:00
parent 33f160d4f0
commit 371465bf36
2 changed files with 0 additions and 17 deletions

View File

@ -345,22 +345,6 @@ int32_t UdmfServiceImpl::VerifyUnifiedData(UnifiedData &unifiedData)
return E_OK;
}
// bool UdmfServiceImpl::SetRemoteUri(std::vector<std::shared_ptr<UnifiedRecord>> &records)
// {
// for (auto record : records) {
// if (record != nullptr && PreProcessUtils::IsFileType(record->GetType())) {
// auto file = static_cast<File *>(record.get());
// std::string remoteUri = file->GetRemoteUri();
// if (remoteUri.empty()) {
// ZLOGE("Get remoteUri is empyt!");
// return false;
// }
// file->SetUri(remoteUri); // cross dev, need dis path.
// }
// }
// return true;
// }
int32_t UdmfServiceImpl::GetBatchData(const QueryOption &query, std::vector<UnifiedData> &unifiedDataSet)
{
ZLOGD("start");

View File

@ -59,7 +59,6 @@ private:
int32_t RetrieveData(const QueryOption &query, UnifiedData &unifiedData);
int32_t QueryDataCommon(const QueryOption &query, std::vector<UnifiedData> &dataSet, std::shared_ptr<Store> &store);
int32_t ProcessUri(const QueryOption &query, UnifiedData &unifiedData);
// bool SetRemoteUri(std::vector<std::shared_ptr<UnifiedRecord>> &records);
bool IsPermissionInCache(const QueryOption &query);
bool IsReadAndKeep(const std::vector<Privilege> &privileges, const QueryOption &query);
int32_t VerifyUnifiedData(UnifiedData &unifiedData);