Home
last modified time | relevance | path

Searched refs:templateName (Results 1 – 24 of 24) sorted by relevance

/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_setting_test.cpp155 std::string templateName("downloadTemplate"); variable
157 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support));
169 std::string templateName("downloadTemplate_1"); variable
171 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support));
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dans_template.cpp46 params.templateName = str; in ParseParameters()
50 params.templateName = std::to_string(number); in ParseParameters()
54 params.templateName = std::to_string(result); in ParseParameters()
99 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dans_template.h26 std::string templateName = ""; member
/base/update/update_app/feature/ota/src/main/ets/notify/
DNotificationHelper.ets65 let templateName: string = 'downloadTemplate';
67 … globalThis.isSupportTemplate = await notification.isSupportTemplate(templateName).catch(err => {
111 let templateName: string = 'installTemplate';
113 … globalThis.isSupportTemplate = await notification.isSupportTemplate(templateName).catch(err => {
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_template.cpp52 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in NapiIsSupportTemplate()
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences.h231 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
Dadvanced_notification_service.h586 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp860 std::string templateName = "TemplateName"; variable
863 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support);
890 std::string templateName = "TemplateName"; variable
893 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences.cpp628 ErrCode NotificationPreferences::GetTemplateSupported(const std::string& templateName, bool &suppor… in GetTemplateSupported() argument
630 if (templateName.length() == 0) { in GetTemplateSupported()
650 if (jsonObj.contains(templateName)) { in GetTemplateSupported()
Dadvanced_notification_service.cpp3611 ErrCode AdvancedNotificationService::IsSupportTemplate(const std::string& templateName, bool &suppo… in IsSupportTemplate() argument
3622 result = NotificationPreferences::GetInstance().GetTemplateSupported(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h647 static ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp342 ErrCode NotificationHelper::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
344 … return DelayedSingleton<AnsNotification>::GetInstance()->IsSupportTemplate(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h647 ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
Dans_manager_interface.h569 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
Dans_manager_proxy.h527 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
Dans_manager_stub.h579 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
Dans_notification_branch_test.cpp356 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override in IsSupportTemplate() argument
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp1124 ErrCode AnsNotification::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
1131 return ansManagerProxy_->IsSupportTemplate(templateName, support); in IsSupportTemplate()
Dans_manager_stub.cpp1522 std::string templateName; in HandleIsSupportTemplate() local
1523 if (!data.ReadString(templateName)) { in HandleIsSupportTemplate()
1528 ErrCode result = IsSupportTemplate(templateName, support); in HandleIsSupportTemplate()
2162 ErrCode AnsManagerStub::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
Dans_manager_proxy.cpp2161 ErrCode AnsManagerProxy::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
2169 if (!data.WriteString(templateName)) { in IsSupportTemplate()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_preferences_test.cpp1274 std::string templateName = ""; variable
1276 … EXPECT_EQ((int)NotificationPreferences::GetInstance().GetTemplateSupported(templateName, support),
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp626 std::string templateName = "this is templateName"; variable
628 ErrCode ret1 = ans_->IsSupportTemplate(templateName, support);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp5930 std::string templateName = "TemplateName"; variable
5932 int32_t result = proxy->IsSupportTemplate(templateName, support);
5951 std::string templateName = "TemplateName"; variable
5953 int32_t result = proxy->IsSupportTemplate(templateName, support);
5974 std::string templateName = "TemplateName"; variable
5976 int32_t result = proxy->IsSupportTemplate(templateName, support);
5997 std::string templateName = "TemplateName"; variable
5999 int32_t result = proxy->IsSupportTemplate(templateName, support);
6020 std::string templateName = "TemplateName"; variable
6022 int32_t result = proxy->IsSupportTemplate(templateName, support);
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp2856 std::string templateName = "this is templateName"; variable
2859 data.WriteString(templateName);
4008 std::string templateName = "this is templateName"; variable
4011 ErrCode result = ansManagerStub_->IsSupportTemplate(templateName, support);