Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp888 * @tc.desc : Test IsSpecialUserAllowedNotify function return ERR_ANS_PERMISSION_DENIED.
899 ASSERT_EQ(advancedNotificationService_->IsSpecialUserAllowedNotify( in HWTEST_F()
908 * @tc.desc : Test IsSpecialUserAllowedNotify function return ERR_ANS_NON_SYSTEM_APP.
919 ASSERT_EQ(advancedNotificationService_->IsSpecialUserAllowedNotify( in HWTEST_F()
H A Dadvanced_notification_publish_service_test.cpp702 ret = advancedNotificationService_->IsSpecialUserAllowedNotify(1, allowed); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1126 * @tc.desc : Test IsSpecialUserAllowedNotify function when the result is ERR_ANS_INVALID_PARAM
1133 ASSERT_EQ(advancedNotificationService_->IsSpecialUserAllowedNotify(userId, allowed), (int)ERR_ANS_INVALID_PARAM); in HWTEST_F()
1540 ASSERT_EQ(advancedNotificationService_->IsSpecialUserAllowedNotify(userId, enable), ERR_ANS_INVALID_PARAM); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h746 virtual ErrCode IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) = 0;
H A Dans_manager_proxy.h734 ErrCode IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) override;
H A Dans_manager_stub.h736 virtual ErrCode IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp517 ErrCode AnsManagerStub::IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) in IsSpecialUserAllowedNotify() function in OHOS::Notification::AnsManagerStub
519 ANS_LOGE("AnsManagerStub::IsSpecialUserAllowedNotify called!"); in IsSpecialUserAllowedNotify()
H A Dans_manager_proxy.cpp1789 ErrCode AnsManagerProxy::IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) in IsSpecialUserAllowedNotify() function in OHOS::Notification::AnsManagerProxy
1793 ANS_LOGE("[IsSpecialUserAllowedNotify] fail: write interface token failed."); in IsSpecialUserAllowedNotify()
1798 ANS_LOGE("[IsSpecialUserAllowedNotify] fail: write userId failed"); in IsSpecialUserAllowedNotify()
H A Dans_notification.cpp1580 return proxy->IsSpecialUserAllowedNotify(userId, allowed); in IsAllowedNotify()
H A Dans_manager_stub.cpp2099 ErrCode result = IsSpecialUserAllowedNotify(userId, allowed); in HandleIsSpecialUserAllowedNotifyByUser()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp146 service->IsSpecialUserAllowedNotify(userId, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp408 ansManagerStub.IsSpecialUserAllowedNotify(userId, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp444 ErrCode IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) override
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp416 ansManagerStub.IsSpecialUserAllowedNotify(userId, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp417 ansManagerStub.IsSpecialUserAllowedNotify(userId, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h796 ErrCode IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp1077 * @tc.desc : Test IsSpecialUserAllowedNotify function and CheckPermission is false
1087 ASSERT_EQ(advancedNotificationService.IsSpecialUserAllowedNotify(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.cpp6520 * @tc.desc: test IsSpecialUserAllowedNotify function
6535 int32_t result = proxy->IsSpecialUserAllowedNotify(userId, allowed); in HWTEST_F()
6541 * @tc.desc: test IsSpecialUserAllowedNotify function
6559 int32_t result = proxy->IsSpecialUserAllowedNotify(userId, allowed); in HWTEST_F()
6566 * @tc.desc: test IsSpecialUserAllowedNotify function
6582 int32_t result = proxy->IsSpecialUserAllowedNotify(userId, allowed); in HWTEST_F()
6588 * @tc.desc: test IsSpecialUserAllowedNotify function
6605 int32_t result = proxy->IsSpecialUserAllowedNotify(userId, allowed); in HWTEST_F()
6611 * @tc.desc: test IsSpecialUserAllowedNotify function
6628 int32_t result = proxy->IsSpecialUserAllowedNotify(userI in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp2060 ErrCode AdvancedNotificationService::IsSpecialUserAllowedNotify(const int32_t &userId, bool &allowed) in IsSpecialUserAllowedNotify() function in OHOS::Notification::AdvancedNotificationService
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4717 * @tc.desc: Test IsSpecialUserAllowedNotify return.
4726 ErrCode result = ansManagerStub_->IsSpecialUserAllowedNotify(userId, allowed); in HWTEST_F()

Completed in 55 milliseconds