/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/ |
H A D | template_data.cpp | 32 TemplateNode::TemplateNode(const Template &tpl) : scheduler(tpl.scheduler_) in TemplateNode() argument 34 for (auto &item:tpl.predicates_) { in TemplateNode() 54 ret = ret && SetValue(node[GET_NAME(templat)], tpl); in Marshal() 71 ret = ret && GetValue(node, GET_NAME(templat), tpl); in Unmarshal() 76 const int32_t userId, const Template &tpl) in TemplateRootNode() argument 77 …(uri), bundleName(bundleName), subscriberId(std::to_string(subscriberId)), userId(userId), tpl(tpl) in TemplateRootNode() 92 …ing &uri, const std::string &bundleName, int64_t subscriberId, int32_t userId, const Template &tpl) in TemplateData() argument 93 …d(GenId(uri, bundleName, subscriberId), userId)), value(uri, bundleName, subscriberId, userId, tpl) in TemplateData() 184 return tpl.ToTemplate(); in ToTemplate()
|
H A D | template_data.h | 34 explicit TemplateNode(const Template &tpl); 46 const int32_t userId, const Template &tpl); 55 TemplateNode tpl; member 60 const Template &tpl);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | scheduler_manager.cpp | 154 Template tpl; in ExecuteSchedulerSQL() local 155 if (!TemplateManager::GetInstance().Get(key, userId, tpl)) { in ExecuteSchedulerSQL() 160 if (tpl.scheduler_.empty()) { in ExecuteSchedulerSQL() 165 GenRemindTimerFuncParams(rdbDir, userId, version, key, tpl.scheduler_); in ExecuteSchedulerSQL() 166 auto resultSet = delegate->QuerySql(tpl.scheduler_); in ExecuteSchedulerSQL()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | rdb_subscriber_manager.cpp | 31 bool TemplateManager::Get(const Key &key, int32_t userId, Template &tpl) in Get() argument 33 …ta::Query(Id(TemplateData::GenId(key.uri, key.bundleName, key.subscriberId), userId), tpl) == E_OK; in Get() 36 int32_t TemplateManager::Add(const Key &key, int32_t userId, const Template &tpl) in Add() argument 38 auto status = TemplateData::Add(key.uri, userId, key.bundleName, key.subscriberId, tpl); in Add() 321 Template tpl; in Notify() local 322 if (!TemplateManager::GetInstance().Get(key, userId, tpl)) { in Notify() 340 for (const auto &predicate : tpl.predicates_) { in Notify()
|
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);
|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | slientswitch_test.cpp | 478 Template tpl(nodes, "select name1 as name from TBL00"); in GetTemplate() local 479 return tpl; in GetTemplate() 492 auto tpl = GetTemplate(); variable 493 auto result = helper->AddQueryTemplate(DATA_SHARE_PROXY_URI, SUBSCRIBER_ID, tpl); 510 auto tpl = GetTemplate(); variable 511 auto result = helper->AddQueryTemplate(DATA_SHARE_PROXY_URI, SUBSCRIBER_ID, tpl); 526 auto tpl = GetTemplate(); variable 527 auto result = helper->AddQueryTemplate(DATA_SHARE_PROXY_URI, SUBSCRIBER_ID, tpl);
|
/ohos5.0/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"); variable 173 auto result = helper->AddQueryTemplate(DATA_SHARE_PROXY_URI, SUBSCRIBER_ID, tpl); 189 Template tpl(nodes, "select name1 as name from TBL00"); variable 192 auto result = helper->AddQueryTemplate(errorUri, SUBSCRIBER_ID, tpl); 281 Template tpl(nodes, "select name1 as name from TBL00"); variable 282 auto result = helper->AddQueryTemplate(DATA_SHARE_PROXY_URI, SUBSCRIBER_ID, tpl);
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/service/src/ |
H A D | persistent_data_controller.cpp | 23 …istentDataController::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate() argument 30 return proxy->AddQueryTemplate(uri, subscriberId, tpl); in AddQueryTemplate()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_service_impl_test.cpp | 210 Template tpl(nodes, "select name1 as name from TBL00"); variable 212 auto result = dataShareServiceImpl.AddTemplate(uri, subscriberId, tpl); 219 result = dataShareServiceImpl.AddTemplate(uri, subscriberId, tpl); 305 Template tpl(nodes, "select name1 as name from TBL00"); variable 306 auto result1 = dataShareServiceImpl.AddTemplate(SLIENT_ACCESS_URI, TEST_SUB_ID, tpl);
|
H A D | data_share_subscriber_managers_test.cpp | 111 Template tpl(nodes, "select name1 as name from TBL00"); variable 113 auto result = TemplateManager::GetInstance().Add(key, context->currentUserId, tpl);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_stub.cpp | 172 Template tpl; in OnAddTemplate() local 173 if (!ITypesUtil::Unmarshal(data, uri, subscriberId, tpl.predicates_, tpl.scheduler_)) { in OnAddTemplate() 177 int32_t status = AddTemplate(uri, subscriberId, tpl); in OnAddTemplate()
|
/ohos5.0/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);
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | idata_share_service.h | 57 virtual int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) = 0;
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | data_share_service_proxy.cpp | 196 …ataShareServiceProxy::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate() argument 203 if (!ITypesUtil::Marshal(data, uri, subscriberId, tpl.predicates_, tpl.scheduler_)) { in AddQueryTemplate()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/include/ |
H A D | data_share_service_proxy.h | 48 int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) override;
|
/ohos5.0/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;
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper_impl.cpp | 311 … DataShareHelperImpl::AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) in AddQueryTemplate() argument 321 return persistentDataCtl->AddQueryTemplate(uri, subscriberId, tpl); in AddQueryTemplate()
|
/ohos5.0/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/ |
H A D | datashare_helper.h | 327 virtual int AddQueryTemplate(const std::string &uri, int64_t subscriberId, Template &tpl) = 0;
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/ |
H A D | datashare_js_utils.cpp | 559 Template tpl(predicates, scheduler); in Convert2Template() local 560 return tpl; in Convert2Template()
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subBenchmarkTest/ |
H A D | hotspotBenchmarkTest.ets | 358 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|
H A D | hotspotManagerBenchmarkTest.ets | 359 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|
H A D | p2pManagerBenchmarkTest.ets | 358 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|
H A D | p2pBenchmarkTest.ets | 371 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|
H A D | wifiBenchmarkTest.ets | 381 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|
H A D | wifiManagerBenchmarkTest.ets | 377 'http://192.168.0.123/?tpl=list&folders-filter=&recursive' ,
|