Searched refs:StrategyMeta (Results 1 - 7 of 7) sorted by relevance
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | strategy_meta_data.cpp | 19 bool StrategyMeta::Marshal(json &node) const
in Marshal() 32 bool StrategyMeta::Unmarshal(const json &node)
in Unmarshal() 45 StrategyMeta::StrategyMeta(
in StrategyMeta() function in OHOS::DistributedData::StrategyMeta 51 bool StrategyMeta::IsEffect() const
in IsEffect() 56 std::string StrategyMeta::GetKey()
in GetKey() 65 std::string StrategyMeta::GetPrefix(const std::initializer_list<std::string> &fields)
in GetPrefix()
|
H A D | store_meta_data.cpp | 204 return StrategyMeta::GetPrefix({ deviceId, user, "default", bundleName, storeId }); in GetStrategyKey() 206 return StrategyMeta::GetPrefix({ deviceId, user, "default", bundleName, storeId, std::to_string(instanceId) }); in GetStrategyKey()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/metadata/ |
H A D | strategy_meta_data.h | 21 struct API_EXPORT StrategyMeta final : public Serializable {
30 API_EXPORT StrategyMeta(const std::string &devId, const std::string &userId, const std::string &bundleName,
32 API_EXPORT ~StrategyMeta() {};
in ~StrategyMeta()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.h | 81 using StrategyMeta = OHOS::DistributedData::StrategyMeta; 121 StrategyMeta GetStrategyMeta(const AppId &appId, const StoreId &storeId);
|
H A D | kvdb_service_impl.cpp | 483 StrategyMeta strategyMeta = GetStrategyMeta(appId, storeId); in EnableCapability() 495 StrategyMeta strategyMeta = GetStrategyMeta(appId, storeId); in DisableCapability() 508 StrategyMeta strategy = GetStrategyMeta(appId, storeId); in SetCapability() 871 StrategyMeta KVDBServiceImpl::GetStrategyMeta(const AppId &appId, const StoreId &storeId) in GetStrategyMeta() 876 StrategyMeta strategyMeta(deviceId, std::to_string(userId), appId.appId, storeId.storeId); in GetStrategyMeta()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/permission/src/ |
H A D | permit_delegate.cpp | 139 StrategyMeta local(data.deviceId, data.user, data.bundleName, data.storeId); in VerifyStrategy() 141 StrategyMeta remote(rmdevId, data.user, data.bundleName, data.storeId); in VerifyStrategy()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | meta_data_test.cpp | 561 StrategyMeta strategyMeta(deviceId, "100", "ohos.test.demo", "test_store");
in HWTEST_F() 569 StrategyMeta strategyMetaData(deviceId, "200", "ohos.test.test", "test_stores");
in HWTEST_F() 599 * @tc.name: StrategyMeta
608 StrategyMeta strategyMeta(deviceId, "100", "ohos.test.demo", "test_store");
in HWTEST_F() 617 StrategyMeta strategyMetaData(deviceId, "200", "ohos.test.test", "test_stores");
in HWTEST_F()
|
Completed in 6 milliseconds