/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_setting_test.cpp | 116 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 D | ans_template.cpp | 50 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 D | ans_template.h | 26 std::string templateName = ""; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_template.cpp | 52 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in NapiIsSupportTemplate()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 228 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 D | notification_helper_test.cpp | 887 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 D | notification_helper.cpp | 428 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 D | notification_helper.h | 811 static ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 252 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
|
H A D | advanced_notification_service.h | 783 * @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 D | notification_preferences.cpp | 978 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 D | advanced_notification_utils.cpp | 1294 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 D | ans_manager_interface.h | 733 * @param templateName Identifies the template name for searching as a condition. 737 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
|
H A D | ans_manager_proxy.h | 664 * @param templateName Identifies the template name for searching as a condition. 668 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
|
H A D | ans_notification.h | 797 ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
H A D | ans_manager_stub.h | 723 * @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 D | ans_manager_stub_invalid.cpp | 511 ErrCode AnsManagerStub::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
|
H A D | ans_manager_stub.cpp | 2072 std::string templateName; in HandleIsSupportTemplate() local 2073 if (!data.ReadString(templateName)) { in HandleIsSupportTemplate() 2078 ErrCode result = IsSupportTemplate(templateName, support); in HandleIsSupportTemplate()
|
H A D | ans_manager_proxy.cpp | 1755 ErrCode AnsManagerProxy::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument 1763 if (!data.WriteString(templateName)) { in IsSupportTemplate()
|
H A D | ans_notification.cpp | 1549 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 D | ans_manager_proxy_unit_test.cpp | 6399 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 D | ans_notification_branch_test.cpp | 439 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 923 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 D | ans_manager_stub_test.cpp | 3469 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()
|