Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/test/fuzztest/notificationhelper_fuzzer/
Dnotificationhelper_fuzzer.cpp37 notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/
Dsetnotificationsenabledforallbundles_fuzzer.cpp29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h466 static ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled);
668 static ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp244 ErrCode NotificationHelper::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool … in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::NotificationHelper
246 …return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForAllBundles(devi… in SetNotificationsEnabledForAllBundles()
352 ErrCode NotificationHelper::SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enable… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::NotificationHelper
354 return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForAllBundles( in SetNotificationsEnabledForAllBundles()
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h465 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled);
704 ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
Dans_manager_interface.h339 …virtual ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) = …
Dans_manager_proxy.h328 … ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override;
Dans_manager_stub.h344 …virtual ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) ov…
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp346 …ErrCode errCode = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string()… in BENCHMARK_F()
363 …ErrCode errCode = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string()… in BENCHMARK_F()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp603 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(deviceId, enabled);
878 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled);
923 ErrCode ret = notificationHelper.SetNotificationsEnabledForAllBundles(userId, enabled);
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
Dadvancednotificationservice_fuzzer.cpp83 advancedNotificationService.SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp600 ErrCode AnsNotification::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool ena… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsNotification
606 return ansManagerProxy_->SetNotificationsEnabledForAllBundles(deviceId, enabled); in SetNotificationsEnabledForAllBundles()
1154 ErrCode AnsNotification::SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled) in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsNotification
Dans_manager_stub.cpp978 ErrCode result = SetNotificationsEnabledForAllBundles(deviceId, enabled); in HandleSetNotificationsEnabledForAllBundles()
1996 ErrCode AnsManagerStub::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enab… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsManagerStub
Dans_manager_proxy.cpp1127 ErrCode AnsManagerProxy::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool ena… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AnsManagerProxy
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp463 ErrCode ret1 = ans_->SetNotificationsEnabledForAllBundles(deviceId, enabled);
638 ErrCode ret4 = ans_->SetNotificationsEnabledForAllBundles(userId, enabled);
640 ErrCode ret5 = ans_->SetNotificationsEnabledForAllBundles(userId1, enabled);
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_branch_test.cpp536 EXPECT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(
552 EXPECT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(
Dadvanced_notification_service_test.cpp1001 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
1026 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
1040 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
1054 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
1070 …(int)advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true), (int…
2410 EXPECT_EQ(advancedNotificationService_->SetNotificationsEnabledForAllBundles(key, enable),
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
Dans_notification_branch_test.cpp217 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::MockAnsManagerInterface
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dnotification_subscriber_manager_branch_test.cpp675 EXPECT_EQ(advancedNotificationService.SetNotificationsEnabledForAllBundles(deviceId, enabled),
693 EXPECT_EQ(advancedNotificationService.SetNotificationsEnabledForAllBundles(deviceId, enabled),
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h356 … ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp3657 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
3679 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
3698 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
3719 int32_t result = proxy->SetNotificationsEnabledForAllBundles("DeviceId", true);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp3651 ErrCode result = ansManagerStub_->SetNotificationsEnabledForAllBundles(deviceId, enabled);
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp1673 ErrCode AdvancedNotificationService::SetNotificationsEnabledForAllBundles(const std::string &device… in SetNotificationsEnabledForAllBundles() function in OHOS::Notification::AdvancedNotificationService