Searched refs:QueryKey (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | sync_manager.h | 97 int32_t QueryLastSyncInfo(const std::vector<QueryKey> &queryKeys, QueryLastResults &results); 129 …static std::vector<std::tuple<QueryKey, uint64_t>> GetCloudSyncInfo(const SyncInfo &info, CloudInf… 140 void UpdateStartSyncInfo(const std::vector<std::tuple<QueryKey, uint64_t>> &cloudSyncInfos); 141 void UpdateFinishSyncInfo(const QueryKey &queryKey, uint64_t syncId, int32_t code); 153 …void BatchUpdateFinishState(const std::vector<std::tuple<QueryKey, uint64_t>> &cloudSyncInfos, int… 154 bool NeedSaveSyncInfo(const QueryKey &queryKey); 165 ConcurrentMap<QueryKey, std::map<SyncId, CloudSyncInfo>> lastSyncInfos_;
|
H A D | sync_manager.cpp | 635 std::vector<std::tuple<QueryKey, uint64_t>> cloudSyncInfos; in GetCloudSyncInfo() 653 QueryKey queryKey{ .accountId = cloud.id, .bundleName = it.first, .storeId = "" }; in GetCloudSyncInfo() 657 QueryKey queryKey{ .accountId = cloud.id, .bundleName = info.bundleName_, .storeId = "" }; in GetCloudSyncInfo() 673 bool SyncManager::NeedSaveSyncInfo(const QueryKey &queryKey) in NeedSaveSyncInfo() 681 int32_t SyncManager::QueryLastSyncInfo(const std::vector<QueryKey> &queryKeys, QueryLastResults &re… in QueryLastSyncInfo() 685 … QueryKey key{ .accountId = queryKey.accountId, .bundleName = queryKey.bundleName, .storeId = "" }; in QueryLastSyncInfo() 695 void SyncManager::UpdateStartSyncInfo(const std::vector<std::tuple<QueryKey, uint64_t>> &cloudSyncI… in UpdateStartSyncInfo() argument 709 void SyncManager::UpdateFinishSyncInfo(const QueryKey &queryKey, uint64_t syncId, int32_t code) in UpdateFinishSyncInfo() 760 QueryKey queryKey{ in GetCallback() 809 QueryKey queryKey{ GetAccountId(storeInfo.user), storeInfo.bundleName, "" }; in DoExceptionalCallback() [all …]
|
H A D | cloud_service_impl.cpp | 578 std::vector<QueryKey> queryKeys; in QueryLastSyncInfo()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/ |
H A D | cloud_types.h | 65 struct QueryKey { struct 69 bool operator<(const QueryKey &queryKey) const argument
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_data_test.cpp | 55 using Querykey = OHOS::CloudData::QueryKey;
|