Home
last modified time | relevance | path

Searched refs:canPublish (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
H A Dansmanagerstubannextwo_fuzzer.cpp73 bool canPublish = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
74 ansManagerStub.CanPublishAsBundle(stringData, canPublish); in DoSomethingInterestingWithMyAPI()
78 ansManagerStub.HasNotificationPolicyAccessPermission(canPublish); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/
H A Dgetbundleimportance_fuzzer.cpp27 bool canPublish = true; in DoSomethingInterestingWithMyAPI() local
28 …Notification::NotificationHelper::CanPublishNotificationAsBundle(representativeBundle, canPublish); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp140 …onHelper::CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPublish) in CanPublishNotificationAsBundle() argument
143 representativeBundle, canPublish); in CanPublishNotificationAsBundle()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp353 bool canPublish = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
354 ansManagerStub.CanPublishAsBundle(stringData, canPublish); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h255 … ErrCode CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPublish);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h256 … ErrCode CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPublish);
H A Dans_manager_interface.h263 … virtual ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) = 0;
H A Dans_manager_proxy.h250 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override;
H A Dans_manager_stub.h254 …virtual ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) over…
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp350 bool canPublish = true; variable
352 … ErrCode ret = notificationHelper.CanPublishNotificationAsBundle(representativeBundle, canPublish);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp578 bool canPublish = true; variable
579 ErrCode ret1 = ans_->CanPublishNotificationAsBundle(representativeBundle, canPublish);
582 ErrCode ret2 = ans_->CanPublishNotificationAsBundle(representativeBundle0, canPublish);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp160 …rCode AnsManagerStub::CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) in CanPublishAsBundle() argument
H A Dans_manager_stub.cpp924 bool canPublish = false; in HandleCanPublishAsBundle() local
925 ErrCode result = CanPublishAsBundle(representativeBundle, canPublish); in HandleCanPublishAsBundle()
931 if (!reply.WriteBool(canPublish)) { in HandleCanPublishAsBundle()
H A Dans_manager_proxy.cpp547 …Code AnsManagerProxy::CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) in CanPublishAsBundle() argument
578 if (!reply.ReadBool(canPublish)) { in CanPublishAsBundle()
H A Dans_notification.cpp391 …fication::CanPublishNotificationAsBundle(const std::string &representativeBundle, bool &canPublish) in CanPublishNotificationAsBundle() argument
403 return proxy->CanPublishAsBundle(representativeBundle, canPublish); in CanPublishNotificationAsBundle()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp2673 bool canPublish = false; variable
2674 int32_t result = proxy->CanPublishAsBundle(representativeBundle, canPublish);
2694 bool canPublish = false; variable
2695 int32_t result = proxy->CanPublishAsBundle(representativeBundle, canPublish);
2717 bool canPublish = false; variable
2718 int32_t result = proxy->CanPublishAsBundle(representativeBundle, canPublish);
2720 EXPECT_EQ(true, canPublish);
2740 bool canPublish = false; variable
2741 int32_t result = proxy->CanPublishAsBundle(representativeBundle, canPublish);
2763 bool canPublish = false; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp1268 bool canPublish = true; variable
1270 …ASSERT_EQ(advancedNotificationService_->CanPublishAsBundle(representativeBundle, canPublish), resu…
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp157 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override in CanPublishAsBundle() argument
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h301 ErrCode CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) override;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_service.cpp1122 …dNotificationService::CanPublishAsBundle(const std::string &representativeBundle, bool &canPublish) in CanPublishAsBundle() argument