Home
last modified time | relevance | path

Searched refs:GetEnabledForBundleSlot (Results 1 - 25 of 29) sorted by relevance

12

/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
H A Dsetdonotdisturbdate_fuzzer.cpp45 // test GetEnabledForBundleSlot function in DoSomethingInterestingWithMyAPI()
46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp411 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SOCIAL_COMMUNICATION, enable)); in HWTEST_F()
429 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SOCIAL_COMMUNICATION, enable)); in HWTEST_F()
452 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SERVICE_REMINDER, enable)); in HWTEST_F()
H A Dans_innerkits_module_publish_test.cpp1555 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::CONTENT_INFORMATION, enable)); in HWTEST_F()
1592 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SERVICE_REMINDER, enable)); in HWTEST_F()
1600 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SERVICE_REMINDER, enable)); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp1180 * @tc.desc : Test GetEnabledForBundleSlot function and CheckPermission is false
1191 ASSERT_EQ(advancedNotificationService.GetEnabledForBundleSlot(bundleOption, slotType, enabled), in HWTEST_F()
1198 * @tc.desc : Test GetEnabledForBundleSlot function and bundle == nullptr
1210 ASSERT_EQ(advancedNotificationService.GetEnabledForBundleSlot(bundleOption, slotType, enabled), in HWTEST_F()
1217 * @tc.desc : Test GetEnabledForBundleSlot function and result != ERR_OK
1230 ASSERT_EQ(advancedNotificationService.GetEnabledForBundleSlot(bundleOption, slotType, enabled), in HWTEST_F()
1237 * @tc.desc : Test GetEnabledForBundleSlot function and slot == nullptr
1250 ASSERT_EQ(advancedNotificationService.GetEnabledForBundleSlot(bundleOption, slotType, enabled), in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp467 ErrCode NotificationHelper::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::NotificationHelper
470 return DelayedSingleton<AnsNotification>::GetInstance()->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in GetEnabledForBundleSlot()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h162 static ErrCode GetEnabledForBundleSlot(
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h788 virtual ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
H A Dans_manager_proxy.h776 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
H A Dans_notification.h936 ErrCode GetEnabledForBundleSlot(
H A Dans_manager_stub.h778 virtual ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp554 ErrCode AnsManagerStub::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerStub
557 ANS_LOGE("AnsManagerStub::GetEnabledForBundleSlot called!"); in GetEnabledForBundleSlot()
H A Dans_manager_proxy_slot.cpp436 ErrCode AnsManagerProxy::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerProxy
440 ANS_LOGE("[GetEnabledForBundleSlot] fail: bundle is empty."); in GetEnabledForBundleSlot()
446 ANS_LOGE("[GetEnabledForBundleSlot] fail: write interface token failed."); in GetEnabledForBundleSlot()
451 ANS_LOGE("[GetEnabledForBundleSlot] fail:: write bundle failed"); in GetEnabledForBundleSlot()
456 ANS_LOGE("[GetEnabledForBundleSlot] fail:: write slotType failed."); in GetEnabledForBundleSlot()
464 ANS_LOGE("[GetEnabledForBundleSlot] fail: transact ErrCode=%{public}d", result); in GetEnabledForBundleSlot()
469 ANS_LOGE("[GetEnabledForBundleSlot] fail: read result failed."); in GetEnabledForBundleSlot()
474 ANS_LOGE("[GetEnabledForBundleSlot] fail: read enable failed."); in GetEnabledForBundleSlot()
H A Dans_notification.cpp1686 ErrCode AnsNotification::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AnsNotification
1696 ANS_LOGE("GetEnabledForBundleSlot fail."); in GetEnabledForBundleSlot()
1701 return proxy->GetEnabledForBundleSlot(bo, slotType, enabled); in GetEnabledForBundleSlot()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp153 service->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp415 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp475 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp805 ErrCode AdvancedNotificationService::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AdvancedNotificationService
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp977 auto result1 = advancedNotificationService_->GetEnabledForBundleSlot( in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp423 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp424 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp1016 * @tc.desc: Test GetEnabledForBundleSlot parameters.
1026 ErrCode ret = notificationHelper.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h838 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_slot.cpp832 asynccallbackinfo->info.errorCode = NotificationHelper::GetEnabledForBundleSlot( in NapiIsEnableNotificationSlot()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp7116 * @tc.desc: test GetEnabledForBundleSlot function
7132 int32_t result = proxy->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()
7138 * @tc.desc: test GetEnabledForBundleSlot function
7157 int32_t result = ansManagerProxy->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()
7164 * @tc.desc: test GetEnabledForBundleSlot function
7181 int32_t result = proxy->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()
7187 * @tc.desc: test GetEnabledForBundleSlot function
7205 int32_t result = proxy->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()
7211 * @tc.desc: test GetEnabledForBundleSlot function
7229 int32_t result = proxy->GetEnabledForBundleSlot(bundleOptio in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp994 ErrCode ret2 = ans_->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in HWTEST_F()

Completed in 59 milliseconds

12