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/
H A Dans_innerkits_module_setting_test.cpp116 std::string templateName("downloadTemplate"); in HWTEST_F()
118 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support)); in HWTEST_F()
130 std::string templateName("downloadTemplate_1"); in HWTEST_F()
132 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support)); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dans_template.cpp50 params.templateName = str; in ParseParameters()
54 params.templateName = std::to_string(number); in ParseParameters()
58 params.templateName = std::to_string(result); in ParseParameters()
105 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dans_template.h26 std::string templateName = ""; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_template.cpp52 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in NapiIsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_manager_impl.cpp228 std::string templateName(cTemplateName); in IsSupportTemplate()
230 int code = NotificationHelper::IsSupportTemplate(templateName, isSupport); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp887 std::string templateName = "TemplateName"; in HWTEST_F() local
890 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); in HWTEST_F()
917 std::string templateName = "TemplateName"; in HWTEST_F() local
920 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp428 ErrCode NotificationHelper::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
430 return DelayedSingleton<AnsNotification>::GetInstance()->IsSupportTemplate(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h811 static ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h252 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
H A Dadvanced_notification_service.h783 * @param templateName Identifies the template name for searching as a condition.
787 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp978 ErrCode NotificationPreferences::GetTemplateSupported(const std::string& templateName, bool &support) in GetTemplateSupported() argument
980 if (templateName.length() == 0) { in GetTemplateSupported()
1004 if (jsonObj.contains(templateName)) { in GetTemplateSupported()
H A Dadvanced_notification_utils.cpp1294 ErrCode AdvancedNotificationService::IsSupportTemplate(const std::string& templateName, bool &support) in IsSupportTemplate() argument
1305 result = NotificationPreferences::GetInstance()->GetTemplateSupported(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h733 * @param templateName Identifies the template name for searching as a condition.
737 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
H A Dans_manager_proxy.h664 * @param templateName Identifies the template name for searching as a condition.
668 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
H A Dans_notification.h797 ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
H A Dans_manager_stub.h723 * @param templateName Identifies the template name for searching as a condition.
727 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp511 ErrCode AnsManagerStub::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
H A Dans_manager_stub.cpp2072 std::string templateName; in HandleIsSupportTemplate() local
2073 if (!data.ReadString(templateName)) { in HandleIsSupportTemplate()
2078 ErrCode result = IsSupportTemplate(templateName, support); in HandleIsSupportTemplate()
H A Dans_manager_proxy.cpp1755 ErrCode AnsManagerProxy::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
1763 if (!data.WriteString(templateName)) { in IsSupportTemplate()
H A Dans_notification.cpp1549 ErrCode AnsNotification::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
1557 return proxy->IsSupportTemplate(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp6399 std::string templateName = "TemplateName"; in HWTEST_F() local
6401 int32_t result = proxy->IsSupportTemplate(templateName, support); in HWTEST_F()
6420 std::string templateName = "TemplateName"; in HWTEST_F() local
6422 int32_t result = proxy->IsSupportTemplate(templateName, support); in HWTEST_F()
6443 std::string templateName = "TemplateName"; in HWTEST_F() local
6445 int32_t result = proxy->IsSupportTemplate(templateName, support); in HWTEST_F()
6466 std::string templateName = "TemplateName"; in HWTEST_F() local
6468 int32_t result = proxy->IsSupportTemplate(templateName, support); in HWTEST_F()
6489 std::string templateName = "TemplateName"; in HWTEST_F() local
6491 int32_t result = proxy->IsSupportTemplate(templateName, suppor in HWTEST_F()
6512 std::string templateName = "TemplateName"; HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp439 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp923 std::string templateName = "this is templateName"; in HWTEST_F() local
925 ErrCode ret1 = ans_->IsSupportTemplate(templateName, support); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp3469 std::string templateName = "this is templateName"; in HWTEST_F() local
3472 data.WriteString(templateName); in HWTEST_F()
3480 * @tc.desc: Test templateName in data is null.
4708 std::string templateName = "this is templateName"; in HWTEST_F() local
4711 ErrCode result = ansManagerStub_->IsSupportTemplate(templateName, support); in HWTEST_F()

Completed in 62 milliseconds