/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_setting_test.cpp | 116 std::string templateName("downloadTemplate"); variable 118 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support)); 130 std::string templateName("downloadTemplate_1"); variable 132 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support));
|
/ohos5.0/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()
|
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/notify/ |
H A 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 => {
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 23 …ication | isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean>): void;<br>isS…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notification.md | 751 isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean\>): void 761 | templateName | string | 是 | 模板名称。 | 769 let templateName: string = 'process'; 778 Notification.isSupportTemplate(templateName, isSupportTemplateCallback); 783 isSupportTemplate(templateName: string): Promise\<boolean\> 793 | templateName | string | 是 | 模板名称。 | 806 let templateName: string = 'process'; 807 Notification.isSupportTemplate(templateName).then((data: boolean) => {
|
H A D | js-apis-notificationManager.md | 1222 isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean\>): void 1232 | templateName | string | 是 | 模板名称。当前仅支持'downloadTemplate'。 | 1251 let templateName: string = 'downloadTemplate'; 1259 notificationManager.isSupportTemplate(templateName, isSupportTemplateCallback); 1264 isSupportTemplate(templateName: string): Promise\<boolean\> 1274 | templateName | string | 是 | 模板名称。当前仅支持'downloadTemplate'。 | 1298 let templateName: string = 'downloadTemplate'; 1299 notificationManager.isSupportTemplate(templateName).then((data: boolean) => {
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 23 …ication | isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean>): void;<br>isS…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | ans_template.h | 26 std::string templateName = ""; member
|
/ohos5.0/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()
|
/ohos5.0/docs/zh-cn/application-dev/notification/ |
H A D | progress-bar-notification.md | 14 | isSupportTemplate(templateName: string): Promise\<boolean\> | 查询模板是否存在。 |
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notification.md | 751 isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean\>): void 761 | templateName | string | Yes | Template name. | 769 let templateName: string = 'process'; 778 Notification.isSupportTemplate(templateName, isSupportTemplateCallback); 783 isSupportTemplate(templateName: string): Promise\<boolean\> 793 | templateName | string | Yes | Template name. | 806 let templateName: string = 'process'; 807 Notification.isSupportTemplate(templateName).then((data: boolean) => {
|
H A D | js-apis-notificationManager.md | 1222 isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean\>): void 1232 | templateName | string | Yes | Template name. Currently, only **downloadTemplat… 1251 let templateName: string = 'downloadTemplate'; 1259 notificationManager.isSupportTemplate(templateName, isSupportTemplateCallback); 1264 isSupportTemplate(templateName: string): Promise\<boolean\> 1274 | templateName | string | Yes | Template name. Currently, only **downloadTemplate** is supported.| 1298 let templateName: string = 'downloadTemplate'; 1299 notificationManager.isSupportTemplate(templateName).then((data: boolean) => {
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 887 std::string templateName = "TemplateName"; variable 890 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); 917 std::string templateName = "TemplateName"; variable 920 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support);
|
/ohos5.0/docs/en/application-dev/notification/ |
H A D | progress-bar-notification.md | 14 | isSupportTemplate(templateName: string): Promise\<boolean\> | Checks whether a specific template …
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 252 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 456 ErrCode NotificationHelper::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument 458 … return DelayedSingleton<AnsNotification>::GetInstance()->IsSupportTemplate(templateName, support); in IsSupportTemplate()
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 866 static ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 998 ErrCode NotificationPreferences::GetTemplateSupported(const std::string& templateName, bool &suppor… in GetTemplateSupported() argument 1000 if (templateName.length() == 0) { in GetTemplateSupported() 1024 if (jsonObj.contains(templateName)) { in GetTemplateSupported()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_notification.h | 887 ErrCode IsSupportTemplate(const std::string &templateName, bool &support);
|
H A D | ans_manager_interface.h | 737 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
|
H A D | ans_manager_proxy.h | 668 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
|
/ohos5.0/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 | 2080 std::string templateName; in HandleIsSupportTemplate() local 2081 if (!data.ReadString(templateName)) { in HandleIsSupportTemplate() 2086 ErrCode result = IsSupportTemplate(templateName, support); in HandleIsSupportTemplate()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 6390 std::string templateName = "TemplateName"; variable 6392 int32_t result = proxy->IsSupportTemplate(templateName, support); 6411 std::string templateName = "TemplateName"; variable 6413 int32_t result = proxy->IsSupportTemplate(templateName, support); 6434 std::string templateName = "TemplateName"; variable 6436 int32_t result = proxy->IsSupportTemplate(templateName, support); 6457 std::string templateName = "TemplateName"; variable 6459 int32_t result = proxy->IsSupportTemplate(templateName, support); 6480 std::string templateName = "TemplateName"; variable 6482 int32_t result = proxy->IsSupportTemplate(templateName, support); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 441 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override in IsSupportTemplate() argument
|