Home
last modified time | relevance | path

Searched refs:SetEnabledForBundleSlot (Results 1 - 25 of 30) sorted by relevance

12

/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
H A Dsetdonotdisturbdate_fuzzer.cpp36 // 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 Dans_innerkits_module_slot_test.cpp408 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 Dans_innerkits_module_publish_test.cpp1552 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 Dnotification_helper.cpp460 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 Dnotification_helper.h151 static ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h786 virtual ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
H A Dans_manager_proxy.h774 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
H A Dans_notification.h925 ErrCode SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption,
H A Dans_manager_stub.h776 virtual ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp547 ErrCode AnsManagerStub::SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, in SetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerStub
550 ANS_LOGE("AnsManagerStub::SetEnabledForBundleSlot called!"); in SetEnabledForBundleSlot()
H A Dans_manager_proxy_slot.cpp386 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 Dans_notification.cpp1667 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 Dnotification_subscriber_manager_branch_test.cpp1141 * @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 Dadvancednotificationservice_fuzzer.cpp152 service->SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp414 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp469 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp779 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 Dadvanced_notification_service_branch_test.cpp962 * @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 Dansmanagerstubannex_fuzzer.cpp422 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp423 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp1000 * @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 Dadvanced_notification_service.h836 ErrCode SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_slot.cpp768 asynccallbackinfo->info.errorCode = NotificationHelper::SetEnabledForBundleSlot( in NapiEnableNotificationSlot()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp974 * @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 Dadvanced_notification_service_publish_test.cpp904 auto result = advancedNotificationService_->SetEnabledForBundleSlot( in HWTEST_F()

Completed in 36 milliseconds

12