/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 901 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser( in HWTEST_F() 921 ASSERT_EQ(advancedNotificationService_->SetNotificationsEnabledByUser( in HWTEST_F()
|
H A D | advanced_notification_publish_service_test.cpp | 705 ret = advancedNotificationService_->SetNotificationsEnabledByUser(1, false); in HWTEST_F()
|
H A D | advanced_notification_service_test.cpp | 1139 * @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 D | ans_manager_interface.h | 759 virtual ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) = 0;
|
H A D | ans_manager_proxy.h | 747 ErrCode SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) override;
|
H A D | ans_manager_stub.h | 749 virtual ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) override;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 523 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 D | ans_manager_proxy.cpp | 1823 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 D | ans_notification.cpp | 1595 return proxy->SetNotificationsEnabledByUser(userId, enabled); in SetNotificationsEnabledForAllBundles()
|
H A D | ans_manager_stub.cpp | 2126 ErrCode result = SetNotificationsEnabledByUser(userId, enabled); in HandleSetNotificationsEnabledByUser()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 148 service->SetNotificationsEnabledByUser(deviceIds, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 410 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 449 ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) override
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 418 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 419 ansManagerStub.SetNotificationsEnabledByUser(deviceIds, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 809 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 D | notification_subscriber_manager_branch_test.cpp | 1093 * @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 D | ans_manager_proxy_unit_test.cpp | 6634 * @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 D | advanced_notification_publish_service.cpp | 2088 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 D | ans_manager_stub_test.cpp | 4732 * @tc.desc: Test SetNotificationsEnabledByUser return. 4741 ErrCode result = ansManagerStub_->SetNotificationsEnabledByUser(deviceId, enabled); in HWTEST_F()
|