Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/interfaces/ndk/src/
H A Dnotification.cpp28 int32_t result = OHOS::Notification::NotificationHelper::IsAllowedNotifySelf(isEnable); in OH_Notification_IsNotificationEnabled()
/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/
H A Dgetbundleimportance_fuzzer.cpp34 // test IsAllowedNotifySelf function in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationHelper::IsAllowedNotifySelf(allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_enable_notification.cpp160 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 Dnotification_helper.cpp166 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 Dnotification_helper.h368 static ErrCode IsAllowedNotifySelf(bool &allowed);
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_reminder_service.cpp102 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in PublishReminder()
H A Dadvanced_notification_publish_service.cpp863 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 Dans_manager_interface.h512 virtual ErrCode IsAllowedNotifySelf(bool &allowed) = 0;
H A Dans_manager_proxy.h500 ErrCode IsAllowedNotifySelf(bool &allowed) override;
H A Dans_notification.h302 ErrCode IsAllowedNotifySelf(bool &allowed);
H A Dans_manager_stub.h499 virtual ErrCode IsAllowedNotifySelf(bool &allowed) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp347 ErrCode AnsManagerStub::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AnsManagerStub
349 ANS_LOGE("AnsManagerStub::IsAllowedNotifySelf called!"); in IsAllowedNotifySelf()
H A Dans_notification.cpp482 ErrCode AnsNotification::IsAllowedNotifySelf(bool &allowed) in IsAllowedNotifySelf() function in OHOS::Notification::AnsNotification
490 return proxy->IsAllowedNotifySelf(allowed); in IsAllowedNotifySelf()
H A Dans_manager_proxy.cpp1289 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 Dans_manager_stub.cpp1636 ErrCode result = IsAllowedNotifySelf(allowed); in HandleIsAllowedNotifySelf()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Denable_notification.cpp321 NotificationHelper::IsAllowedNotifySelf(asynccallbackinfo->allowed); in IsNotificationEnabledSelf()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_manager_impl.cpp338 errorCode = NotificationHelper::IsAllowedNotifySelf(allowed); in IsNotificationEnabled()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h555 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 Dadvancednotificationservice_fuzzer.cpp112 service->IsAllowedNotifySelf(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp302 ErrCode IsAllowedNotifySelf(bool &allowed) override
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp751 * @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 Dnotification_helper_test.cpp414 * @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 Dans_notification_unit_test.cpp632 ErrCode ret2 = ans_->IsAllowedNotifySelf(allowed); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp4977 * @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 Dans_manager_stub_test.cpp4390 * @tc.desc: Test IsAllowedNotifySelf return.
4398 ErrCode result = ansManagerStub_->IsAllowedNotifySelf(allowed); in HWTEST_F()

Completed in 61 milliseconds