/base/notification/distributed_notification_service/interfaces/ndk/src/ |
H A D | notification.cpp | 28 int32_t result = OHOS::Notification::NotificationHelper::IsAllowedNotifySelf(isEnable); in OH_Notification_IsNotificationEnabled()
|
/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/ |
H A D | getbundleimportance_fuzzer.cpp | 34 // test IsAllowedNotifySelf function
in DoSomethingInterestingWithMyAPI() 35 Notification::NotificationHelper::IsAllowedNotifySelf(allowed);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_enable_notification.cpp | 160 asynccallbackinfo->info.errorCode = NotificationHelper::IsAllowedNotifySelf( in NapiIsNotificationEnabled() 214 NotificationHelper::IsAllowedNotifySelf(asynccallbackinfo->allowed); in NapiIsNotificationEnabledSelf() 505 NotificationHelper::IsAllowedNotifySelf(allowed); in NapiIsNotificationEnabledSync()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 166 ErrCode NotificationHelper::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::NotificationHelper 168 return DelayedSingleton<AnsNotification>::GetInstance()->IsAllowedNotifySelf(allowed); in IsAllowedNotifySelf()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 368 static ErrCode IsAllowedNotifySelf(bool &allowed);
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_reminder_service.cpp | 102 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in PublishReminder()
|
H A D | advanced_notification_publish_service.cpp | 863 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in RequestEnableNotification() 1029 ErrCode AdvancedNotificationService::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AdvancedNotificationService 1037 return IsAllowedNotifySelf(bundleOption, allowed); in IsAllowedNotifySelf() 1055 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in CanPopEnableNotificationDialog() 1117 ErrCode AdvancedNotificationService::IsAllowedNotifySelf(const sptr<NotificationBundleOption> &bundleOption, in IsAllowedNotifySelf() function in OHOS::Notification::AdvancedNotificationService
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 512 virtual ErrCode IsAllowedNotifySelf(bool &allowed) = 0;
|
H A D | ans_manager_proxy.h | 500 ErrCode IsAllowedNotifySelf(bool &allowed) override;
|
H A D | ans_notification.h | 302 ErrCode IsAllowedNotifySelf(bool &allowed);
|
H A D | ans_manager_stub.h | 499 virtual ErrCode IsAllowedNotifySelf(bool &allowed) override;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 347 ErrCode AnsManagerStub::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AnsManagerStub 349 ANS_LOGE("AnsManagerStub::IsAllowedNotifySelf called!"); in IsAllowedNotifySelf()
|
H A D | ans_notification.cpp | 482 ErrCode AnsNotification::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AnsNotification 490 return proxy->IsAllowedNotifySelf(allowed); in IsAllowedNotifySelf()
|
H A D | ans_manager_proxy.cpp | 1289 ErrCode AnsManagerProxy::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AnsManagerProxy 1293 ANS_LOGE("[IsAllowedNotifySelf] fail: write interface token failed."); in IsAllowedNotifySelf() 1301 ANS_LOGE("[IsAllowedNotifySelf] fail: transact ErrCode=%{public}d", result); in IsAllowedNotifySelf() 1306 ANS_LOGE("[IsAllowedNotifySelf] fail: read result failed."); in IsAllowedNotifySelf() 1311 ANS_LOGE("[IsAllowedNotifySelf] fail: read allowed failed."); in IsAllowedNotifySelf()
|
H A D | ans_manager_stub.cpp | 1636 ErrCode result = IsAllowedNotifySelf(allowed); in HandleIsAllowedNotifySelf()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | enable_notification.cpp | 321 NotificationHelper::IsAllowedNotifySelf(asynccallbackinfo->allowed); in IsNotificationEnabledSelf()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 338 errorCode = NotificationHelper::IsAllowedNotifySelf(allowed); in IsNotificationEnabled()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 555 ErrCode IsAllowedNotifySelf(bool &allowed) override; 1262 ErrCode IsAllowedNotifySelf(const sptr<NotificationBundleOption> &bundleOption, bool &allowed);
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 112 service->IsAllowedNotifySelf(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 | 302 ErrCode IsAllowedNotifySelf(bool &allowed) override
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 751 * @tc.desc : Test IsAllowedNotifySelf function 759 ASSERT_EQ((int)advancedNotificationService_->IsAllowedNotifySelf(allowed), (int)ERR_OK); in HWTEST_F() 1427 ASSERT_EQ(advancedNotificationService_->IsAllowedNotifySelf(needPop), ERR_ANS_INVALID_BUNDLE); in HWTEST_F() 1429 ASSERT_EQ(advancedNotificationService_->IsAllowedNotifySelf(bundleOption, needPop), ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 414 * @tc.desc: Test IsAllowedNotifySelf parameters. 422 ErrCode ret = notificationHelper.IsAllowedNotifySelf(allowed); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 632 ErrCode ret2 = ans_->IsAllowedNotifySelf(allowed);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 4977 * @tc.desc: test IsAllowedNotifySelf function
4991 int32_t result = proxy->IsAllowedNotifySelf(allowed);
in HWTEST_F() 4997 * @tc.desc: test IsAllowedNotifySelf function
5014 int32_t result = proxy->IsAllowedNotifySelf(allowed);
in HWTEST_F() 5021 * @tc.desc: test IsAllowedNotifySelf function
5036 int32_t result = proxy->IsAllowedNotifySelf(allowed);
in HWTEST_F() 5042 * @tc.desc: test IsAllowedNotifySelf function
5058 int32_t result = proxy->IsAllowedNotifySelf(allowed);
in HWTEST_F() 5064 * @tc.desc: test IsAllowedNotifySelf function
5080 int32_t result = proxy->IsAllowedNotifySelf(allowe in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 4390 * @tc.desc: Test IsAllowedNotifySelf return. 4398 ErrCode result = ansManagerStub_->IsAllowedNotifySelf(allowed); in HWTEST_F()
|