Home
last modified time | relevance | path

Searched refs:SetNotificationsEnabledByUser (Results 1 - 20 of 20) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp901 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser( in HWTEST_F()
921 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser( in HWTEST_F()
H A Dadvanced_notification_publish_service_test.cpp705 ret = advancedNotificationService_->SetNotificationsEnabledByUser(1, false); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1139 * @tc.desc : Test SetNotificationsEnabledByUser function when the result is ERR_OK
1146 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser(userId, enabled), (int)ERR_OK); in HWTEST_F()
1542 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser(userId, enable), ERR_OK); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h759 virtual ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) = 0;
H A Dans_manager_proxy.h747 ErrCode SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) override;
H A Dans_manager_stub.h749 virtual ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp523 ErrCode AnsManagerStub::SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) in SetNotificationsEnabledByUser() function in OHOS::Notification::AnsManagerStub
525 ANS_LOGE("AnsManagerStub::SetNotificationsEnabledByUser called!"); in SetNotificationsEnabledByUser()
H A Dans_manager_proxy.cpp1823 ErrCode AnsManagerProxy::SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) in SetNotificationsEnabledByUser() function in OHOS::Notification::AnsManagerProxy
1827 ANS_LOGE("[SetNotificationsEnabledByUser] fail: write interface token failed."); in SetNotificationsEnabledByUser()
1832 ANS_LOGE("[SetNotificationsEnabledByUser] fail: write userId failed"); in SetNotificationsEnabledByUser()
1837 ANS_LOGE("[SetNotificationsEnabledByUser] fail: write enabled failed"); in SetNotificationsEnabledByUser()
1845 ANS_LOGE("[SetNotificationsEnabledByUser] fail: transact ErrCode=%{public}d", result); in SetNotificationsEnabledByUser()
1850 ANS_LOGE("[SetNotificationsEnabledByUser] fail: read result failed."); in SetNotificationsEnabledByUser()
H A Dans_notification.cpp1595 return proxy->SetNotificationsEnabledByUser(userId, enabled); in SetNotificationsEnabledForAllBundles()
H A Dans_manager_stub.cpp2126 ErrCode result = SetNotificationsEnabledByUser(userId, enabled); in HandleSetNotificationsEnabledByUser()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp148 service->SetNotificationsEnabledByUser(deviceIds, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp410 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp449 ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) override
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp418 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp419 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h809 ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp1093 * @tc.desc : Test SetNotificationsEnabledByUser function and CheckPermission is false
1103 ASSERT_EQ(advancedNotificationService.SetNotificationsEnabledByUser(userId, allowed), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp6634 * @tc.desc: test SetNotificationsEnabledByUser function
6649 int32_t result = proxy->SetNotificationsEnabledByUser(userId, enabled); in HWTEST_F()
6655 * @tc.desc: test SetNotificationsEnabledByUser function
6673 int32_t result = proxy->SetNotificationsEnabledByUser(userId, enabled); in HWTEST_F()
6678 * @tc.desc: test SetNotificationsEnabledByUser function
6694 int32_t result = proxy->SetNotificationsEnabledByUser(userId, enabled); in HWTEST_F()
6700 * @tc.desc: test SetNotificationsEnabledByUser function
6717 int32_t result = proxy->SetNotificationsEnabledByUser(userId, enabled); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp2088 ErrCode AdvancedNotificationService::SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) in SetNotificationsEnabledByUser() function in OHOS::Notification::AdvancedNotificationService
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4732 * @tc.desc: Test SetNotificationsEnabledByUser return.
4741 ErrCode result = ansManagerStub_->SetNotificationsEnabledByUser(deviceId, enabled); in HWTEST_F()

Completed in 62 milliseconds