Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp620 * @tc.desc : Test IsSpecialBundleAllowedNotify function return ERR_ANS_NON_SYSTEM_APP.
629 ASSERT_EQ(advancedNotificationService_->IsSpecialBundleAllowedNotify( in HWTEST_F()
636 * @tc.desc : Test IsSpecialBundleAllowedNotify function return ERR_ANS_PERMISSION_DENIED.
645 ASSERT_EQ(advancedNotificationService_->IsSpecialBundleAllowedNotify( in HWTEST_F()
652 * @tc.desc : Test IsSpecialBundleAllowedNotify function return ERR_ANS_PERMISSION_DENIED.
662 ASSERT_EQ(advancedNotificationService_->IsSpecialBundleAllowedNotify( in HWTEST_F()
H A Dadvanced_notification_service_test.cpp766 * @tc.desc : Test IsSpecialBundleAllowedNotify function
774 ASSERT_EQ((int)advancedNotificationService_->IsSpecialBundleAllowedNotify( in HWTEST_F()
782 * @tc.desc : Test IsSpecialBundleAllowedNotify function
790 ASSERT_EQ((int)advancedNotificationService_->IsSpecialBundleAllowedNotify( in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp700 * @tc.desc : Test IsSpecialBundleAllowedNotify function and CheckPermission is false
711 advancedNotificationService.IsSpecialBundleAllowedNotify(bundleOption, allowed), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
717 * @tc.desc : Test IsSpecialBundleAllowedNotify function and targetBundle == nullptr
727 advancedNotificationService.IsSpecialBundleAllowedNotify(bundleOption, allowed), ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
733 * @tc.desc : Test IsSpecialBundleAllowedNotify function and GetActiveUserId is false
746 ASSERT_EQ(advancedNotificationService.IsSpecialBundleAllowedNotify(bundleOption, allowed), in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h537 virtual ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) = 0;
H A Dans_manager_proxy.h525 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override;
H A Dans_manager_stub.h524 virtual ErrCode IsSpecialBundleAllowedNotify(
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp366 ErrCode AnsManagerStub::IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) in IsSpecialBundleAllowedNotify() function in OHOS::Notification::AnsManagerStub
368 ANS_LOGE("AnsManagerStub::IsSpecialBundleAllowedNotify called!"); in IsSpecialBundleAllowedNotify()
H A Dans_manager_proxy.cpp1380 ErrCode AnsManagerProxy::IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) in IsSpecialBundleAllowedNotify() function in OHOS::Notification::AnsManagerProxy
1383 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: bundle is empty."); in IsSpecialBundleAllowedNotify()
1389 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: write interface token failed."); in IsSpecialBundleAllowedNotify()
1394 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: write bundle failed"); in IsSpecialBundleAllowedNotify()
1402 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: transact ErrCode=%{public}d", result); in IsSpecialBundleAllowedNotify()
1407 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: read result failed."); in IsSpecialBundleAllowedNotify()
1412 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: read allowed error."); in IsSpecialBundleAllowedNotify()
1806 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: transact ErrCode=%{public}d", result); in IsSpecialUserAllowedNotify()
1811 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: read result failed."); in IsSpecialUserAllowedNotify()
1816 ANS_LOGE("[IsSpecialBundleAllowedNotify] fai in IsSpecialUserAllowedNotify()
[all...]
H A Dans_notification.cpp960 return proxy->IsSpecialBundleAllowedNotify(bo, allowed); in IsAllowedNotify()
H A Dans_manager_stub.cpp1689 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: read bundle failed."); in HandleIsSpecialBundleAllowedNotify()
1694 ErrCode result = IsSpecialBundleAllowedNotify(bundleOption, allowed); in HandleIsSpecialBundleAllowedNotify()
1696 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: write result failed, ErrCode=%{public}d", result); in HandleIsSpecialBundleAllowedNotify()
1701 ANS_LOGE("[IsSpecialBundleAllowedNotify] fail: write allowed failed."); in HandleIsSpecialBundleAllowedNotify()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp114 service->IsSpecialBundleAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp377 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp318 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp385 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp386 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h582 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp5086 * @tc.desc: test IsSpecialBundleAllowedNotify function
5101 int32_t result = proxy->IsSpecialBundleAllowedNotify(bundleOption, enabled); in HWTEST_F()
5107 * @tc.desc: test IsSpecialBundleAllowedNotify function
5125 int32_t result = proxy->IsSpecialBundleAllowedNotify(bundleOption, enabled); in HWTEST_F()
5132 * @tc.desc: test IsSpecialBundleAllowedNotify function
5148 int32_t result = proxy->IsSpecialBundleAllowedNotify(bundleOption, enabled); in HWTEST_F()
5154 * @tc.desc: test IsSpecialBundleAllowedNotify function
5171 int32_t result = proxy->IsSpecialBundleAllowedNotify(bundleOption, enabled); in HWTEST_F()
5177 * @tc.desc: test IsSpecialBundleAllowedNotify function
5194 int32_t result = proxy->IsSpecialBundleAllowedNotify(bundleOptio in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp1174 ErrCode AdvancedNotificationService::IsSpecialBundleAllowedNotify( in IsSpecialBundleAllowedNotify() function in OHOS::Notification::AdvancedNotificationService
H A Dreminder_data_manager.cpp1508 ErrCode errCode = advancedNotificationService_->IsSpecialBundleAllowedNotify(option, isAllowed); in IsAllowedNotify()
1510 ANSR_LOGE("Failed to call IsSpecialBundleAllowedNotify, errCode=%{public}d", errCode); in IsAllowedNotify()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4404 * @tc.desc: Test IsSpecialBundleAllowedNotify return.
4413 ErrCode result = ansManagerStub_->IsSpecialBundleAllowedNotify(bundleOption, allowed); in HWTEST_F()

Completed in 56 milliseconds