Searched refs:cacheAsset (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/cloud/ |
H A D | asset_operation_utils.cpp | 66 return reaction(cacheAsset, GetAssets(colName, dbAssets)); in CalAssetOperation() 140 return CheckWithDownload(true, cacheAsset, dbAssets); in CheckBeforeDownload() 146 return CheckWithDownload(false, cacheAsset, dbAssets); in CheckAfterDownload() 153 if (dbAsset.name != cacheAsset.name) { in CheckWithDownload() 163 if (cacheAsset.status == (AssetStatus::DOWNLOADING | AssetStatus::DOWNLOAD_WITH_NULL) || in CheckWithDownload() 164 EraseBitMask(cacheAsset.status) == AssetStatus::ABNORMAL) { in CheckWithDownload() 167 return (cacheAsset.flag == static_cast<uint32_t>(DistributedDB::AssetOpType::DELETE) && in CheckWithDownload() 168 EraseBitMask(cacheAsset.status) != AssetStatus::DELETE) ? in CheckWithDownload() 177 if (dbAsset.name != cacheAsset.name) { in CheckAfterUpload() 210 if (dbAsset.name != cacheAsset.name) { in HandleIfExistAndSameStatus() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/cloud/ |
H A D | asset_operation_utils.h | 37 …tOperationUtils::AssetOpType CalAssetOperation(const std::string &colName, const Asset &cacheAsset, 45 …static AssetOperationUtils::AssetOpType CheckBeforeDownload(const Asset &cacheAsset, const Assets … 46 …static AssetOperationUtils::AssetOpType CheckAfterDownload(const Asset &cacheAsset, const Assets &… 47 static AssetOperationUtils::AssetOpType CheckWithDownload(bool before, const Asset &cacheAsset, 49 …static AssetOperationUtils::AssetOpType CheckAfterUpload(const Asset &cacheAsset, const Assets &db… 50 …static AssetOperationUtils::AssetOpType HandleIfExistAndSameStatus(const Asset &cacheAsset, const …
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_storage_utils.cpp | 974 Asset cacheAsset; in MergeAssetWithFillFunc() local 977 cacheAsset = assets[it->second]; in MergeAssetWithFillFunc() 984 if (fillAsset(cacheAsset, *dbAsset, opType) == -E_NOT_FOUND) { in MergeAssetWithFillFunc()
|