Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dpermission_filter_test.cpp90 NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(
H A Dnotification_preferences_test.cpp749 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOpti…
761 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleEmpt…
773 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(nullptr, f…
784 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOpti…
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h213 …ErrCode SetNotificationsEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, const…
H A Dadvanced_notification_service.h455 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h413 virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) = 0;
H A Dans_manager_proxy.h400 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
H A Dans_manager_stub.h404 …virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) overri…
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp277 ErrCode AnsManagerStub::SetNotificationsEnabledForBundle(const std::string &bundle, bool enabled) in SetNotificationsEnabledForBundle() function in OHOS::Notification::AnsManagerStub
H A Dans_manager_proxy.cpp1042 ErrCode AnsManagerProxy::SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForBundle() function in OHOS::Notification::AnsManagerProxy
H A Dans_notification.cpp1024 return proxy->SetNotificationsEnabledForBundle(deviceId, enabled); in SetNotificationsEnabledForDefaultBundle()
H A Dans_manager_stub.cpp1390 ErrCode result = SetNotificationsEnabledForBundle(deviceId, enabled); in HandleSetNotificationsEnabledForBundle()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/manager/
H A Dans_manager_proxy_bundle.cpp165 ErrCode AnsManagerProxy::SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForBundle() 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.cpp240 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override in SetNotificationsEnabledForBundle() function in OHOS::Notification::MockAnsManagerInterface
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp373 ansManagerStub.SetNotificationsEnabledForBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp85 …result = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundle, enabled); in SetDefaultNotificationEnabled()
937 ErrCode AdvancedNotificationService::SetNotificationsEnabledForBundle(const std::string &deviceId, … in SetNotificationsEnabledForBundle() function in OHOS::Notification::AdvancedNotificationService
1027 …result = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundle, enabled); in SetNotificationsEnabledForSpecialBundle()
H A Dadvanced_notification_utils.cpp585 …auto errCode = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOpti… in OnBundleDataAdd()
1872 …saveRef = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOption, t… in InitNotificationEnableList()
H A Dnotification_preferences.cpp429 ErrCode NotificationPreferences::SetNotificationsEnabledForBundle( in SetNotificationsEnabledForBundle() function in OHOS::Notification::NotificationPreferences
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp200 g_advancedNotificationService->SetNotificationsEnabledForBundle("", false);
1648 g_advancedNotificationService->SetNotificationsEnabledForBundle("bundleName", false);
2131 g_advancedNotificationService->SetNotificationsEnabledForBundle("bundleName", false);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp4036 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
4058 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
4077 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
4098 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4295 ErrCode result = ansManagerStub_->SetNotificationsEnabledForBundle(bundle, enabled);