/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_innerkits_module_setting_test.cpp | 155 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/ |
D | ans_template.cpp | 46 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/ |
D | ans_template.h | 26 std::string templateName = ""; member
|
/base/update/update_app/feature/ota/src/main/ets/notify/ |
D | NotificationHelper.ets | 65 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/ |
D | napi_template.cpp | 52 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in NapiIsSupportTemplate()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences.h | 231 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
|
D | advanced_notification_service.h | 586 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_helper_test.cpp | 860 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/ |
D | notification_preferences.cpp | 628 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()
|
D | advanced_notification_service.cpp | 3611 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/ |
D | notification_helper.h | 647 static ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_helper.cpp | 342 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/ |
D | ans_notification.h | 647 ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
D | ans_manager_interface.h | 569 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
|
D | ans_manager_proxy.h | 527 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
|
D | ans_manager_stub.h | 579 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
D | ans_notification_branch_test.cpp | 356 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override in IsSupportTemplate() argument
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_notification.cpp | 1124 ErrCode AnsNotification::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument 1131 return ansManagerProxy_->IsSupportTemplate(templateName, support); in IsSupportTemplate()
|
D | ans_manager_stub.cpp | 1522 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
|
D | ans_manager_proxy.cpp | 2161 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/ |
D | notification_preferences_test.cpp | 1274 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/ |
D | ans_notification_unit_test.cpp | 626 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/ |
D | ans_manager_proxy_unit_test.cpp | 5930 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/ |
D | ans_manager_stub_test.cpp | 2856 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);
|