/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/feature/ |
H A D | feature_system.cpp | 19 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 D | feature_test.cpp | 29 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 D | feature_system.h | 30 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 D | feature_stub_impl.h | 29 explicit FeatureStubImpl(std::shared_ptr<FeatureSystem::Feature> feature); 47 std::shared_ptr<FeatureSystem::Feature> featureImpl_;
|
H A D | kvstore_data_service.cpp | 163 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 D | feature_stub_impl.cpp | 20 FeatureStubImpl::FeatureStubImpl(std::shared_ptr<FeatureSystem::Feature> feature) in FeatureStubImpl()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_service_impl.cpp | 44 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 D | object_service_stub.h | 25 class ObjectServiceStub : public ObjectService, public DistributedData::FeatureSystem::Feature {
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/ |
H A D | udmf_service_impl.cpp | 45 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 D | udmf_service_stub.h | 34 class UdmfServiceStub : public UdmfService, public DistributedData::FeatureSystem::Feature {
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_stub.h | 22 class CloudServiceStub : public CloudService, public DistributedData::FeatureSystem::Feature {
|
H A D | cloud_service_impl.cpp | 67 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 D | data_share_service_stub.h | 24 class DataShareServiceStub : public IDataShareService, public DistributedData::FeatureSystem::Featu…
|
H A D | data_share_service_impl.cpp | 62 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 D | rdb_service_stub.h | 27 class RdbServiceStub : public RdbService, public DistributedData::FeatureSystem::Feature {
|
H A D | rdb_service_impl.cpp | 71 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 D | kvdb_service_stub.h | 24 class KVDBServiceStub : public KVDBService, public DistributedData::FeatureSystem::Feature {
|
H A D | kvdb_service_impl.cpp | 69 FeatureSystem::GetInstance().RegisterCreator("kv_store", [this]() { in Factory()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | device_matrix_test.cpp | 79 FeatureSystem::GetInstance().GetCreator("kv_store")(); in SetUpTestCase()
|
H A D | kvdb_service_impl_test.cpp | 154 FeatureSystem::Feature::BindInfo bindInfo;
|