/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 620 * @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 D | advanced_notification_service_test.cpp | 766 * @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 D | notification_subscriber_manager_branch_test.cpp | 700 * @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 D | ans_manager_interface.h | 537 virtual ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) = 0;
|
H A D | ans_manager_proxy.h | 525 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override;
|
H A D | ans_manager_stub.h | 524 virtual ErrCode IsSpecialBundleAllowedNotify(
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 366 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 D | ans_manager_proxy.cpp | 1380 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 D | ans_notification.cpp | 960 return proxy->IsSpecialBundleAllowedNotify(bo, allowed); in IsAllowedNotify()
|
H A D | ans_manager_stub.cpp | 1689 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 D | advancednotificationservice_fuzzer.cpp | 114 service->IsSpecialBundleAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 377 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 318 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 385 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 386 ansManagerStub.IsSpecialBundleAllowedNotify(bundleOption, allowed);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 582 ErrCode IsSpecialBundleAllowedNotify(const sptr<NotificationBundleOption> &bundleOption, bool &allowed) override;
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 5086 * @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 D | advanced_notification_publish_service.cpp | 1174 ErrCode AdvancedNotificationService::IsSpecialBundleAllowedNotify( in IsSpecialBundleAllowedNotify() function in OHOS::Notification::AdvancedNotificationService
|
H A D | reminder_data_manager.cpp | 1508 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 D | ans_manager_stub_test.cpp | 4404 * @tc.desc: Test IsSpecialBundleAllowedNotify return. 4413 ErrCode result = ansManagerStub_->IsSpecialBundleAllowedNotify(bundleOption, allowed); in HWTEST_F()
|