/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/ |
H A D | setdonotdisturbdate_fuzzer.cpp | 45 // test GetEnabledForBundleSlot function
in DoSomethingInterestingWithMyAPI() 46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 411 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 D | ans_innerkits_module_publish_test.cpp | 1555 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 D | notification_subscriber_manager_branch_test.cpp | 1180 * @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 D | notification_helper.cpp | 467 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 D | notification_helper.h | 162 static ErrCode GetEnabledForBundleSlot(
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 788 virtual ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
H A D | ans_manager_proxy.h | 776 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
H A D | ans_notification.h | 936 ErrCode GetEnabledForBundleSlot(
|
H A D | ans_manager_stub.h | 778 virtual ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 554 ErrCode AnsManagerStub::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AnsManagerStub 557 ANS_LOGE("AnsManagerStub::GetEnabledForBundleSlot called!"); in GetEnabledForBundleSlot()
|
H A D | ans_manager_proxy_slot.cpp | 436 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 D | ans_notification.cpp | 1686 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 D | advancednotificationservice_fuzzer.cpp | 153 service->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 415 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 475 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_slot_service.cpp | 805 ErrCode AdvancedNotificationService::GetEnabledForBundleSlot( in GetEnabledForBundleSlot() function in OHOS::Notification::AdvancedNotificationService
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 977 auto result1 = advancedNotificationService_->GetEnabledForBundleSlot( in HWTEST_F()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 423 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 424 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 1016 * @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 D | advanced_notification_service.h | 838 ErrCode GetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_slot.cpp | 832 asynccallbackinfo->info.errorCode = NotificationHelper::GetEnabledForBundleSlot( in NapiIsEnableNotificationSlot()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 7116 * @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 D | ans_notification_unit_test.cpp | 994 ErrCode ret2 = ans_->GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in HWTEST_F()
|