Home
last modified time | relevance | path

Searched refs:SetNotificationsEnabledForAllBundles (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/
H A Dsetnotificationsenabledforallbundles_fuzzer.cpp29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationhelper_fuzzer/
H A Dnotificationhelper_fuzzer.cpp40 notificationHelper.SetNotificationsEnabledForAllBundles(intData, enabled); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp342 ErrCode NotificationHelper::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool … in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::NotificationHelper
344 …return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForAllBundles(devi… in SetNotificationsEnabledForAllBundles()
466 ErrCode NotificationHelper::SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enable… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::NotificationHelper
468 return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForAllBundles( in SetNotificationsEnabledForAllBundles()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h677 static ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled);
887 static ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
H A Dnotification_service_test.cpp351 …ErrCode errCode = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string()… in BENCHMARK_F()
368 …ErrCode errCode = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string()… in BENCHMARK_F()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h679 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled);
975 ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
H A Dans_manager_interface.h422 …virtual ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) = …
H A Dans_manager_proxy.h409 … ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override;
H A Dans_manager_stub.h413 …virtual ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) ov…
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_publish_service_test.cpp415 …auto ret = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), false…
436 …auto ret = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true);
458 …auto ret = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), false…
484 auto ret = advancedNotificationService_->SetNotificationsEnabledForAllBundles("", enabled);
H A Dadvanced_notification_service_branch_test.cpp532 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(
547 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(
H A Dadvanced_notification_service_test.cpp715 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
740 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
755 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
769 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
785 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
1502 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(key, enable),
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp630 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(deviceId, enabled);
905 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled);
950 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp1007 ErrCode AnsNotification::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool ena… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsNotification
1014 return proxy->SetNotificationsEnabledForAllBundles(deviceId, enabled); in SetNotificationsEnabledForAllBundles()
1626 ErrCode AnsNotification::SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled) in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsNotification
H A Dans_manager_stub_invalid.cpp283 ErrCode AnsManagerStub::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enab… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsManagerStub
H A Dans_manager_proxy.cpp1076 ErrCode AnsManagerProxy::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool ena… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsManagerProxy
H A Dans_manager_stub.cpp1412 ErrCode result = SetNotificationsEnabledForAllBundles(deviceId, enabled); in HandleSetNotificationsEnabledForAllBundles()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp628 ASSERT_EQ(advancedNotificationService.SetNotificationsEnabledForAllBundles(deviceId, enabled),
645 ASSERT_EQ(advancedNotificationService.SetNotificationsEnabledForAllBundles(deviceId, enabled),
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp759 ErrCode ret1 = ans_->SetNotificationsEnabledForAllBundles(deviceId, enabled);
935 ErrCode ret4 = ans_->SetNotificationsEnabledForAllBundles(userId, enabled);
937 ErrCode ret5 = ans_->SetNotificationsEnabledForAllBundles(userId1, enabled);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/manager/
H A Dans_manager_proxy_bundle.cpp199 ErrCode AnsManagerProxy::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool ena… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsManagerProxy
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp245 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::MockAnsManagerInterface
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h464 … ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override;
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp4117 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
4139 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
4158 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
4179 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp942 ErrCode AdvancedNotificationService::SetNotificationsEnabledForAllBundles(const std::string &device… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AdvancedNotificationService
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4310 ErrCode result = ansManagerStub_->SetNotificationsEnabledForAllBundles(deviceId, enabled);