Home
last modified time | relevance | path

Searched refs:FeatureSystem (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/feature/
H A Dfeature_system.cpp19 FeatureSystem &FeatureSystem::GetInstance() in GetInstance()
21 static FeatureSystem instance; in GetInstance()
31 FeatureSystem::Creator FeatureSystem::GetCreator(const std::string &name) in GetCreator()
52 std::vector<std::string> FeatureSystem::GetFeatureName(int32_t flag) in GetFeatureName()
65 FeatureSystem::Feature::~Feature() in ~Feature()
69 int32_t FeatureSystem::Feature::OnInitialize() in OnInitialize()
104 int32_t FeatureSystem::Feature::Online(const std::string &device) in Online()
109 int32_t FeatureSystem::Feature::Offline(const std::string &device) in Offline()
114 int32_t FeatureSystem::Feature::OnReady(const std::string &device) in OnReady()
124 int32_t FeatureSystem::Feature::OnBind(const FeatureSystem::Feature::BindInfo &bindInfo) in OnBind()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dfeature_test.cpp29 class MockFeature : public FeatureSystem::Feature {
46 FeatureSystem& featureSystem = FeatureSystem::GetInstance();
59 FeatureSystem& featureSystem = FeatureSystem::GetInstance();
61 FeatureSystem::Creator creator = []() { in __anon932d15900102()
81 FeatureSystem& featureSystem = FeatureSystem::GetInstance();
102 FeatureSystem& featureSystem = FeatureSystem::GetInstance();
143 FeatureSystem::Feature::BindInfo bindInfo;
178 FeatureSystem::Feature::BindInfo bindInfo;
204 FeatureSystem::Feature::BindInfo bindInfo;
223 FeatureSystem::Feature::BindInfo bindInfo;
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/feature/
H A Dfeature_system.h30 class API_EXPORT FeatureSystem {
62 static FeatureSystem &GetInstance();
70 FeatureSystem() = default;
71 FeatureSystem(const FeatureSystem &) = delete;
72 FeatureSystem(FeatureSystem &&) noexcept = delete;
73 FeatureSystem &operator=(const FeatureSystem &) = delete;
74 FeatureSystem &operator=(FeatureSystem &&) = delete;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dfeature_stub_impl.h29 explicit FeatureStubImpl(std::shared_ptr<FeatureSystem::Feature> feature);
47 std::shared_ptr<FeatureSystem::Feature> featureImpl_;
H A Dkvstore_data_service.cpp163 auto creator = FeatureSystem::GetInstance().GetCreator(key); in GetFeatureInterface()
186 auto features = FeatureSystem::GetInstance().GetFeatureName(FeatureSystem::BIND_NOW); in LoadFeatures()
625 auto staticActs = FeatureSystem::GetInstance().GetStaticActs(); in OnUninstall()
635 auto staticActs = FeatureSystem::GetInstance().GetStaticActs(); in OnUpdate()
645 auto staticActs = FeatureSystem::GetInstance().GetStaticActs(); in OnInstall()
674 auto staticActs = FeatureSystem::GetInstance().GetStaticActs(); in ClearAppStorage()
H A Dfeature_stub_impl.cpp20 FeatureStubImpl::FeatureStubImpl(std::shared_ptr<FeatureSystem::Feature> feature) in FeatureStubImpl()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_service_impl.cpp44 using FeatureSystem = OHOS::DistributedData::FeatureSystem; typedef
49 FeatureSystem::GetInstance().RegisterCreator( in Factory()
54 FeatureSystem::BIND_NOW); in Factory()
56 FeatureSystem::GetInstance().RegisterStaticActs("data_object", staticActs_); in Factory()
339 return FeatureSystem::STUB_SUCCESS; in OnAppExit()
H A Dobject_service_stub.h25 class ObjectServiceStub : public ObjectService, public DistributedData::FeatureSystem::Feature {
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/
H A Dudmf_service_impl.cpp45 using FeatureSystem = DistributedData::FeatureSystem; typedef
60 FeatureSystem::GetInstance().RegisterCreator("udmf", [this]() { in Factory()
65 }, FeatureSystem::BIND_NOW); in Factory()
662 return DistributedData::FeatureSystem::STUB_SUCCESS; in OnInitialize()
H A Dudmf_service_stub.h34 class UdmfServiceStub : public UdmfService, public DistributedData::FeatureSystem::Feature {
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_service_stub.h22 class CloudServiceStub : public CloudService, public DistributedData::FeatureSystem::Feature {
H A Dcloud_service_impl.cpp67 FeatureSystem::GetInstance().RegisterCreator( in Factory()
75 FeatureSystem::BIND_NOW); in Factory()
77 FeatureSystem::GetInstance().RegisterStaticActs(CloudServiceImpl::SERVICE_NAME, staticActs_); in Factory()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_service_stub.h24 class DataShareServiceStub : public IDataShareService, public DistributedData::FeatureSystem::Featu…
H A Ddata_share_service_impl.cpp62 using FeatureSystem = DistributedData::FeatureSystem; typedef
92 FeatureSystem::GetInstance().RegisterCreator("data_share", []() { in Factory()
96 FeatureSystem::GetInstance().RegisterStaticActs("data_share", staticActs_); in Factory()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_stub.h27 class RdbServiceStub : public RdbService, public DistributedData::FeatureSystem::Feature {
H A Drdb_service_impl.cpp71 FeatureSystem::GetInstance().RegisterCreator(RdbServiceImpl::SERVICE_NAME, [this]() { in Factory()
86 FeatureSystem::GetInstance().RegisterStaticActs(RdbServiceImpl::SERVICE_NAME, staticActs_); in Factory()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_stub.h24 class KVDBServiceStub : public KVDBService, public DistributedData::FeatureSystem::Feature {
H A Dkvdb_service_impl.cpp69 FeatureSystem::GetInstance().RegisterCreator("kv_store", [this]() { in Factory()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Ddevice_matrix_test.cpp79 FeatureSystem::GetInstance().GetCreator("kv_store")(); in SetUpTestCase()
H A Dkvdb_service_impl_test.cpp154 FeatureSystem::Feature::BindInfo bindInfo;