/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | permission_filter_test.cpp | 90 NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle( in HWTEST_F()
|
H A D | notification_preferences_test.cpp | 749 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOption_, false), in HWTEST_F() 761 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleEmptyOption_, false), in HWTEST_F() 773 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(nullptr, false), in HWTEST_F() 784 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOption_, false), in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 213 ErrCode SetNotificationsEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, const bool enabled);
|
H A D | advanced_notification_service.h | 456 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 413 virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) = 0;
|
H A D | ans_manager_proxy.h | 400 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
|
H A D | ans_manager_stub.h | 404 virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 277 ErrCode AnsManagerStub::SetNotificationsEnabledForBundle(const std::string &bundle, bool enabled) in SetNotificationsEnabledForBundle() function in OHOS::Notification::AnsManagerStub 279 ANS_LOGE("AnsManagerStub::SetNotificationsEnabledForBundle called!"); in SetNotificationsEnabledForBundle()
|
H A D | ans_manager_proxy.cpp | 1038 ErrCode AnsManagerProxy::SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForBundle() function in OHOS::Notification::AnsManagerProxy 1042 ANS_LOGE("[SetNotificationsEnabledForBundle] fail: write interface token failed."); in SetNotificationsEnabledForBundle() 1047 ANS_LOGE("[SetNotificationsEnabledForBundle] fail: write deviceId failed"); in SetNotificationsEnabledForBundle() 1052 ANS_LOGE("[SetNotificationsEnabledForBundle] fail: write enabled failed"); in SetNotificationsEnabledForBundle() 1060 ANS_LOGE("[SetNotificationsEnabledForBundle] fail: transact ErrCode=%{public}d", result); in SetNotificationsEnabledForBundle() 1065 ANS_LOGE("[SetNotificationsEnabledForBundle] fail: read result failed."); in SetNotificationsEnabledForBundle()
|
H A D | ans_notification.cpp | 980 return proxy->SetNotificationsEnabledForBundle(deviceId, enabled); in SetNotificationsEnabledForDefaultBundle()
|
H A D | ans_manager_stub.cpp | 1382 ErrCode result = SetNotificationsEnabledForBundle(deviceId, enabled); in HandleSetNotificationsEnabledForBundle()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 100 service->SetNotificationsEnabledForBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_publish_service.cpp | 83 result = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundle, enabled); in SetDefaultNotificationEnabled() 899 ErrCode AdvancedNotificationService::SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForBundle() function in OHOS::Notification::AdvancedNotificationService 976 result = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundle, enabled); in SetNotificationsEnabledForSpecialBundle()
|
H A D | advanced_notification_utils.cpp | 614 auto errCode = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOption, true); in OnBundleDataAdd() 1895 saveRef = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundleOption, true); in InitNotificationEnableList()
|
H A D | notification_preferences.cpp | 410 ErrCode NotificationPreferences::SetNotificationsEnabledForBundle( in SetNotificationsEnabledForBundle() function in OHOS::Notification::NotificationPreferences
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 370 ansManagerStub.SetNotificationsEnabledForBundle(stringData, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 238 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 378 ansManagerStub.SetNotificationsEnabledForBundle(stringData, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 379 ansManagerStub.SetNotificationsEnabledForBundle(stringData, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 203 g_advancedNotificationService->SetNotificationsEnabledForBundle("", false); in HWTEST_F() 1713 g_advancedNotificationService->SetNotificationsEnabledForBundle("bundleName", false); in HWTEST_F() 2216 g_advancedNotificationService->SetNotificationsEnabledForBundle("bundleName", false); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 4024 * @tc.desc: test SetNotificationsEnabledForBundle function
4037 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
in HWTEST_F() 4043 * @tc.desc: test SetNotificationsEnabledForBundle function
4059 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
in HWTEST_F() 4064 * @tc.desc: test SetNotificationsEnabledForBundle function
4078 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
in HWTEST_F() 4084 * @tc.desc: test SetNotificationsEnabledForBundle function
4099 int32_t result = proxy->SetNotificationsEnabledForBundle("DeviceId", true);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 4286 * @tc.desc: Test SetNotificationsEnabledForBundle return. 4295 ErrCode result = ansManagerStub_->SetNotificationsEnabledForBundle(bundle, enabled); in HWTEST_F()
|