/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/ |
H A D | setdonotdisturbdate_fuzzer.cpp | 36 // test SetEnabledForBundleSlot function
in DoSomethingInterestingWithMyAPI() 44 Notification::NotificationHelper::SetEnabledForBundleSlot(bundleOption, slotType, enabled, false);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 408 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F() 425 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F() 448 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F()
|
H A D | ans_innerkits_module_publish_test.cpp | 1552 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F() 1559 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F() 1589 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F() 1597 EXPECT_EQ(0, NotificationHelper::SetEnabledForBundleSlot( in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 460 ErrCode NotificationHelper::SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::NotificationHelper 463 return DelayedSingleton<AnsNotification>::GetInstance()->SetEnabledForBundleSlot(bundleOption, in SetEnabledForBundleSlot()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 151 static ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 786 virtual ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
H A D | ans_manager_proxy.h | 774 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
H A D | ans_notification.h | 925 ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
|
H A D | ans_manager_stub.h | 776 virtual ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 547 ErrCode AnsManagerStub::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerStub 550 ANS_LOGE("AnsManagerStub::SetEnabledForBundleSlot called!"); in SetEnabledForBundleSlot()
|
H A D | ans_manager_proxy_slot.cpp | 386 ErrCode AnsManagerProxy::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerProxy 390 ANS_LOGE("[SetEnabledForBundleSlot] fail: bundle is empty."); in SetEnabledForBundleSlot() 396 ANS_LOGE("[SetEnabledForBundleSlot] fail: write interface token failed."); in SetEnabledForBundleSlot() 401 ANS_LOGE("[SetEnabledForBundleSlot] fail:: write bundle failed"); in SetEnabledForBundleSlot() 406 ANS_LOGE("[SetEnabledForBundleSlot] fail:: write slotType failed."); in SetEnabledForBundleSlot() 411 ANS_LOGE("[SetEnabledForBundleSlot] fail: write enabled failed"); in SetEnabledForBundleSlot() 416 ANS_LOGE("[SetEnabledForBundleSlot] fail: write isForceControl failed"); in SetEnabledForBundleSlot() 424 ANS_LOGE("[SetEnabledForBundleSlot] fail: transact ErrCode=%{public}d", result); in SetEnabledForBundleSlot() 429 ANS_LOGE("[SetEnabledForBundleSlot] fail: read result failed."); in SetEnabledForBundleSlot()
|
H A D | ans_notification.cpp | 1667 ErrCode AnsNotification::SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::AnsNotification 1678 ANS_LOGE("SetEnabledForBundleSlot fail."); in SetEnabledForBundleSlot() 1683 return proxy->SetEnabledForBundleSlot(bo, slotType, enabled, isForceControl); in SetEnabledForBundleSlot()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
H A D | notification_subscriber_manager_branch_test.cpp | 1141 * @tc.desc : Test SetEnabledForBundleSlot function and CheckPermission is false
1153 ASSERT_EQ(advancedNotificationService.SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl),
in HWTEST_F() 1160 * @tc.desc : Test SetEnabledForBundleSlot function and bundle == nullptr
1173 ASSERT_EQ(advancedNotificationService.SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl),
in HWTEST_F()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 152 service->SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 414 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 469 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_slot_service.cpp | 779 ErrCode AdvancedNotificationService::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::AdvancedNotificationService
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 962 * @tc.desc : Test SetEnabledForBundleSlot function return ERR_ANS_PERMISSION_DENIED. 972 auto result = advancedNotificationService_->SetEnabledForBundleSlot( in HWTEST_F() 986 * @tc.desc : Test SetEnabledForBundleSlot function return ERR_ANS_PERMISSION_DENIED.
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 422 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 423 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 1000 * @tc.desc: Test SetEnabledForBundleSlot parameters. 1010 ErrCode ret = notificationHelper.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 836 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_slot.cpp | 768 asynccallbackinfo->info.errorCode = NotificationHelper::SetEnabledForBundleSlot( in NapiEnableNotificationSlot()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 974 * @tc.desc: test SetEnabledForBundleSlot ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
992 ErrCode ret1 = ans_->SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl);
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 904 auto result = advancedNotificationService_->SetEnabledForBundleSlot( in HWTEST_F()
|