/base/notification/distributed_notification_service/test/fuzztest/cancelasbundle_fuzzer/ |
D | cancelasbundle_fuzzer.cpp | 23 std::string representativeBundle(data); in DoSomethingInterestingWithMyAPI() local 27 notificationId, representativeBundle, userId) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationhelper_fuzzer/ |
D | notificationhelper_fuzzer.cpp | 31 std::string representativeBundle(data); in DoSomethingInterestingWithMyAPI() local 33 notificationHelper.PublishNotificationAsBundle(representativeBundle, request); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/ |
D | getbundleimportance_fuzzer.cpp | 26 std::string representativeBundle(data); in DoSomethingInterestingWithMyAPI() local 28 …Notification::NotificationHelper::CanPublishNotificationAsBundle(representativeBundle, canPublish); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
D | cancel.h | 53 std::string representativeBundle = ""; member 62 std::string representativeBundle = ""; member
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/ |
D | ans_notification_annex_test.cpp | 110 std::string representativeBundle = "this is representativeBundle"; variable 113 ErrCode ret5 = ans_->PublishNotificationAsBundle(representativeBundle, request); 125 std::string representativeBundle = "this is representativeBundle"; variable 130 ErrCode ret5 = ans_->PublishNotificationAsBundle(representativeBundle, request);
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_helper.h | 164 …static ErrCode CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int… 209 …static ErrCode CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPu… 223 const std::string &representativeBundle, const NotificationRequest &request);
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_helper.cpp | 89 int32_t notificationId, const std::string &representativeBundle, int32_t userId) in CancelAsBundle() argument 92 notificationId, representativeBundle, userId); in CancelAsBundle() 115 ErrCode NotificationHelper::CanPublishNotificationAsBundle(const std::string &representativeBundle,… in CanPublishNotificationAsBundle() argument 118 representativeBundle, canPublish); in CanPublishNotificationAsBundle() 122 const std::string &representativeBundle, const NotificationRequest &request) in PublishNotificationAsBundle() argument 124 …gleton<AnsNotification>::GetInstance()->PublishNotificationAsBundle(representativeBundle, request); in PublishNotificationAsBundle()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 163 …ErrCode CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int32_t us… 208 … ErrCode CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPublish); 221 …ErrCode PublishNotificationAsBundle(const std::string &representativeBundle, const NotificationReq…
|
D | ans_manager_interface.h | 81 int32_t notificationId, const std::string &representativeBundle, int32_t userId) = 0; 207 … virtual ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) = 0; 221 const sptr<NotificationRequest> notification, const std::string &representativeBundle) = 0;
|
D | ans_manager_proxy.h | 70 …ErrCode CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int32_t us… 196 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override; 210 … const sptr<NotificationRequest> notification, const std::string &representativeBundle) override;
|
D | ans_manager_stub.h | 84 int32_t notificationId, const std::string &representativeBundle, int32_t userId) override; 211 …virtual ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) over… 225 … const sptr<NotificationRequest> notification, const std::string &representativeBundle) override;
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | cancel.cpp | 369 paras.representativeBundle = str; in ParseParameters() 373 paras.representativeBundle = std::to_string(number); in ParseParameters() 377 paras.representativeBundle = std::to_string(result); in ParseParameters() 413 .representativeBundle = paras.representativeBundle, in CancelAsBundle() 434 … asynccallbackinfo->id, asynccallbackinfo->representativeBundle, asynccallbackinfo->userId); in CancelAsBundle()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_notification.cpp | 191 int32_t notificationId, const std::string &representativeBundle, int32_t userId) in CancelAsBundle() argument 197 return ansManagerProxy_->CancelAsBundle(notificationId, representativeBundle, userId); in CancelAsBundle() 236 ErrCode AnsNotification::CanPublishNotificationAsBundle(const std::string &representativeBundle, bo… in CanPublishNotificationAsBundle() argument 238 if (representativeBundle.empty()) { in CanPublishNotificationAsBundle() 247 return ansManagerProxy_->CanPublishAsBundle(representativeBundle, canPublish); in CanPublishNotificationAsBundle() 251 const std::string &representativeBundle, const NotificationRequest &request) in PublishNotificationAsBundle() argument 253 if (representativeBundle.empty()) { in PublishNotificationAsBundle() 288 return ansManagerProxy_->PublishAsBundle(reqPtr, representativeBundle); in PublishNotificationAsBundle()
|
D | ans_manager_stub.cpp | 354 std::string representativeBundle; in HandleCancelAsBundle() local 355 if (!data.ReadString(representativeBundle)) { in HandleCancelAsBundle() 366 ErrCode result = CancelAsBundle(notificationId, representativeBundle, userId); in HandleCancelAsBundle() 564 std::string representativeBundle; in HandleCanPublishAsBundle() local 565 if (!data.ReadString(representativeBundle)) { in HandleCanPublishAsBundle() 571 ErrCode result = CanPublishAsBundle(representativeBundle, canPublish); in HandleCanPublishAsBundle() 593 std::string representativeBundle; in HandlePublishAsBundle() local 594 if (!data.ReadString(representativeBundle)) { in HandlePublishAsBundle() 599 ErrCode result = PublishAsBundle(notification, representativeBundle); in HandlePublishAsBundle() 1817 …erStub::CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int32_t us… in CancelAsBundle() argument [all …]
|
D | ans_manager_proxy.cpp | 136 int32_t notificationId, const std::string &representativeBundle, int32_t userId) in CancelAsBundle() argument 149 if (!data.WriteString(representativeBundle)) { in CancelAsBundle() 571 ErrCode AnsManagerProxy::CanPublishAsBundle(const std::string &representativeBundle, bool &canPubli… in CanPublishAsBundle() argument 573 if (representativeBundle.empty()) { in CanPublishAsBundle() 584 if (!data.WriteString(representativeBundle)) { in CanPublishAsBundle() 611 const sptr<NotificationRequest> notification, const std::string &representativeBundle) in PublishAsBundle() argument 618 if (representativeBundle.empty()) { in PublishAsBundle() 634 if (!data.WriteString(representativeBundle)) { in PublishAsBundle()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_cancel.cpp | 240 .representativeBundle = paras.representativeBundle, in NapiCancelAsBundle() 261 … asynccallbackinfo->id, asynccallbackinfo->representativeBundle, asynccallbackinfo->userId); in NapiCancelAsBundle()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_helper_test.cpp | 254 std::string representativeBundle = "RepresentativeBundle"; variable 257 ErrCode ret = notificationHelper.CancelAsBundle(notificationId, representativeBundle, userId); 325 std::string representativeBundle = "RepresentativeBundle"; variable 328 … ErrCode ret = notificationHelper.CanPublishNotificationAsBundle(representativeBundle, canPublish); 340 std::string representativeBundle = "RepresentativeBundle"; variable 343 ErrCode ret = notificationHelper.PublishNotificationAsBundle(representativeBundle, request);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
D | ans_notification_branch_test.cpp | 67 int32_t notificationId, const std::string &representativeBundle, int32_t userId) override in CancelAsBundle() argument 138 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override in CanPublishAsBundle() argument 144 … const sptr<NotificationRequest> notification, const std::string &representativeBundle) override in PublishAsBundle() argument
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | advanced_notification_service.h | 98 int32_t notificationId, const std::string &representativeBundle, int32_t userId) override; 224 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override; 238 … const sptr<NotificationRequest> notification, const std::string &representativeBundle) override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_branch_test.cpp | 197 std::string representativeBundle = "RepresentativeBundle"; variable 200 notificationId, representativeBundle, userId), ERR_ANS_NON_SYSTEM_APP); 216 std::string representativeBundle = "RepresentativeBundle"; variable 219 notificationId, representativeBundle, userId), ERR_ANS_PERMISSION_DENIED);
|
D | advanced_notification_service_test.cpp | 1679 std::string representativeBundle = "RepresentativeBundle"; variable 1682 …EXPECT_EQ(advancedNotificationService_->CancelAsBundle(notificationId, representativeBundle, userI… 1693 std::string representativeBundle = "RepresentativeBundle"; variable 1696 …EXPECT_EQ(advancedNotificationService_->CanPublishAsBundle(representativeBundle, canPublish), resu… 1708 std::string representativeBundle = "RepresentativeBundle"; variable 1710 …EXPECT_EQ(advancedNotificationService_->PublishAsBundle(notification, representativeBundle), resul… 2203 std::string representativeBundle = "RepresentativeBundle"; variable 2206 …EXPECT_EQ(advancedNotificationService_->CancelAsBundle(notificationId, representativeBundle, userI… 2223 std::string representativeBundle = "RepresentativeBundle"; variable 2226 …EXPECT_EQ(advancedNotificationService_->CancelAsBundle(notificationId, representativeBundle, userI…
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
D | ans_notification_unit_test.cpp | 232 std::string representativeBundle = "this is representativeBundle"; variable 234 ErrCode ret5 = ans_->CancelAsBundle(notificationId, representativeBundle, userId); 279 std::string representativeBundle = "this is representativeBundle"; variable 281 ErrCode ret1 = ans_->CanPublishNotificationAsBundle(representativeBundle, canPublish); 292 ErrCode ret5 = ans_->PublishNotificationAsBundle(representativeBundle, request);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 563 std::string representativeBundle = "Bundle"; variable 565 int32_t result = proxy->CancelAsBundle(notificationId, representativeBundle, userId); 585 std::string representativeBundle = ""; variable 587 int32_t result = proxy->CancelAsBundle(notificationId, representativeBundle, userId); 609 std::string representativeBundle = "Bundle"; variable 611 int32_t result = proxy->CancelAsBundle(notificationId, representativeBundle, userId); 631 std::string representativeBundle = "Bundle"; variable 633 int32_t result = proxy->CancelAsBundle(notificationId, representativeBundle, userId); 655 std::string representativeBundle = "Bundle"; variable 657 int32_t result = proxy->CancelAsBundle(notificationId, representativeBundle, userId); [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
D | ans_manager_stub_test.cpp | 246 std::string representativeBundle = "this is a representativeBundle"; variable 251 data.WriteString(representativeBundle); 271 std::string representativeBundle = "this is a representativeBundle"; variable 275 data.WriteString(representativeBundle); 320 std::string representativeBundle = "this is a representativeBundle"; variable 324 data.WriteString(representativeBundle); 577 std::string representativeBundle = "this is a representativeBundle"; variable 580 data.WriteString(representativeBundle); 620 std::string representativeBundle = "this is a representativeBundle"; variable 624 data.WriteString(representativeBundle); [all …]
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
D | notification_subscriber_manager_branch_test.cpp | 455 std::string representativeBundle = "<representativeBundle>"; variable 461 …EXPECT_EQ(advancedNotificationService.CancelAsBundle(notificationId, representativeBundle, userId),
|