/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/ |
H A D | template_data.h | 34 explicit TemplateNode(const Template &tpl);
37 Template ToTemplate() const;
46 const int32_t userId, const Template &tpl);
49 Template ToTemplate() const;
60 const Template &tpl);
61 static int32_t Query(const std::string &filter, Template &aTemplate);
65 const int64_t subscriberId, const Template &aTemplate);
|
H A D | template_data.cpp | 32 TemplateNode::TemplateNode(const Template &tpl) : scheduler(tpl.scheduler_)
in TemplateNode() 39 Template TemplateNode::ToTemplate() const
in ToTemplate() 45 return Template(nodes, scheduler);
in ToTemplate() 76 const int32_t userId, const Template &tpl)
in TemplateRootNode() 92 const std::string &uri, const std::string &bundleName, int64_t subscriberId, int32_t userId, const Template &tpl)
in TemplateData() 107 int32_t TemplateData::Query(const std::string &filter, Template &aTemplate)
in Query() 147 const int64_t subscriberId, const Template &aTemplate)
in Add() 182 Template TemplateRootNode::ToTemplate() const
in ToTemplate()
|
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_template.h | 41 struct Template { struct 42 Template() = default; 43 Template(const std::vector<PredicateTemplateNode> &predicates, in Template() function 52 * Specifies the {@link Template} id structure, template is marked by the template id.
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | rdb_subscriber_manager.h | 46 int32_t Add(const Key &key, int32_t userId, const Template &tpl);
48 bool Get(const Key &key, int32_t userId, Template &tpl);
|
H A D | rdb_subscriber_manager.cpp | 31 bool TemplateManager::Get(const Key &key, int32_t userId, Template &tpl)
in Get() 36 int32_t TemplateManager::Add(const Key &key, int32_t userId, const Template &tpl)
in Add() 320 Template tpl;
in Notify()
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/service/include/ |
H A D | persistent_data_controller.h | 30 int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl);
|
/foundation/distributeddatamgr/data_share/test/native/unittest/datashareproxy_test/ |
H A D | proxydatas_with_permission_test.cpp | 171 Template tpl(nodes, "select name1 as name from TBL00"); in HWTEST_F() 189 Template tpl(nodes, "select name1 as name from TBL00"); in HWTEST_F() 281 Template tpl(nodes, "select name1 as name from TBL00"); in HWTEST_F()
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/service/src/ |
H A D | persistent_data_controller.cpp | 23 int PersistentDataController::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate()
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | idata_share_service.h | 48 virtual int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) = 0;
|
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/include/ |
H A D | data_share_service_proxy.h | 39 int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) override;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | idata_share_service.h | 63 virtual int32_t AddTemplate(const std::string &uri, const int64_t subscriberId, const Template &tplt) = 0;
|
H A D | data_share_service_impl.h | 54 int32_t AddTemplate(const std::string &uri, const int64_t subscriberId, const Template &tplt) override;
|
H A D | data_share_service_stub.cpp | 119 Template tpl; in OnAddTemplate()
|
H A D | data_share_service_impl.cpp | 203 int32_t DataShareServiceImpl::AddTemplate(const std::string &uri, const int64_t subscriberId, const Template &tplt) in AddTemplate()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_service_impl_test.cpp | 171 Template tpl(nodes, "select name1 as name from TBL00");
in HWTEST_F() 266 Template tpl(nodes, "select name1 as name from TBL00");
in HWTEST_F()
|
H A D | data_share_subscriber_managers_test.cpp | 111 Template tpl(nodes, "select name1 as name from TBL00");
in HWTEST_F()
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/include/ |
H A D | datashare_helper_impl.h | 71 int AddQueryTemplate(const string &uri, int64_t subscriberId, Template &tpl) override;
|
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | slientswitch_test.cpp | 471 Template GetTemplate() in GetTemplate() 478 Template tpl(nodes, "select name1 as name from TBL00"); in GetTemplate()
|
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/ |
H A D | datashare_helper.h | 321 virtual int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) = 0;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | scheduler_manager.cpp | 154 Template tpl; in ExecuteSchedulerSQL()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/ |
H A D | datashare_js_utils.cpp | 534 Template DataShareJSUtils::Convert2Template(napi_env env, napi_value value) in Convert2Template() 559 Template tpl(predicates, scheduler); in Convert2Template()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/ |
H A D | datashare_js_utils.h | 94 static Template Convert2Template(napi_env env, napi_value value);
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper_impl.cpp | 311 int DataShareHelperImpl::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate()
|
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | data_share_service_proxy.cpp | 196 int DataShareServiceProxy::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/ |
H A D | napi_datashare_helper.cpp | 645 error = std::make_shared<ParametersTypeError>("template", "Template"), error, nullptr); in Napi_AddTemplate() 646 Template tpl = DataShareJSUtils::Convert2Template(env, argv[PARAM2]); in Napi_AddTemplate()
|