Home
last modified time | relevance | path

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

12

/base/notification/common_event_service/frameworks/native/src/
H A Dcommon_event_manager.cpp140 int32_t CommonEventManager::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventManager
142 return CommonEvent::GetInstance()->SetStaticSubscriberState(enable); in SetStaticSubscriberState()
145 int32_t CommonEventManager::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventManager
147 return CommonEvent::GetInstance()->SetStaticSubscriberState(events, enable); in SetStaticSubscriberState()
/base/notification/common_event_service/interfaces/inner_api/
H A Dcommon_event_manager.h225 static int32_t SetStaticSubscriberState(bool enable);
234 static int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable);
/base/notification/common_event_service/frameworks/core/include/
H A Dcommon_event_stub.h160 int32_t SetStaticSubscriberState(bool enable) override;
169 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
H A Dicommon_event.h147 virtual int32_t SetStaticSubscriberState(bool enable) = 0;
156 virtual int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) = 0;
H A Dcommon_event_proxy.h152 int32_t SetStaticSubscriberState(bool enable) override;
161 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
H A Dcommon_event.h169 int32_t SetStaticSubscriberState(bool enable);
192 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable);
/base/notification/common_event_service/interfaces/kits/cj/src/
H A Dcommon_event_manager_impl.h30 static int32_t SetStaticSubscriberState(bool enable);
H A Dcommon_event_manager_impl.cpp62 int32_t CommonEventManagerImpl::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::CommonEventManager::CommonEventManagerImpl
64 return OHOS::EventFwk::CommonEventManager::SetStaticSubscriberState(enable); in SetStaticSubscriberState()
/base/notification/common_event_service/services/include/
H A Dcommon_event_manager_service.h152 int32_t SetStaticSubscriberState(bool enable) override;
161 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
H A Dstatic_subscriber_manager.h58 int32_t SetStaticSubscriberState(bool enable);
67 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable);
H A Dinner_common_event_manager.h158 int32_t SetStaticSubscriberState(bool enable);
167 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable);
/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event_stub.cpp223 int32_t ret = SetStaticSubscriberState(enable); in OnRemoteRequest()
238 int32_t ret = SetStaticSubscriberState(events, enable); in OnRemoteRequest()
354 int32_t CommonEventStub::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventStub
361 int32_t CommonEventStub::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventStub
H A Dcommon_event.cpp319 int32_t CommonEvent::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEvent
327 return proxy_->SetStaticSubscriberState(enable); in SetStaticSubscriberState()
330 int32_t CommonEvent::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEvent
338 return proxy_->SetStaticSubscriberState(events, enable); in SetStaticSubscriberState()
H A Dcommon_event_proxy.cpp468 int32_t CommonEventProxy::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventProxy
493 int32_t CommonEventProxy::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventProxy
/base/notification/common_event_service/services/src/
H A Dcommon_event_manager_service.cpp533 int32_t CommonEventManagerService::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventManagerService
540 return innerCommonEventManager_->SetStaticSubscriberState(enable); in SetStaticSubscriberState()
543 int32_t CommonEventManagerService::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::CommonEventManagerService
549 return innerCommonEventManager_->SetStaticSubscriberState(events, enable); in SetStaticSubscriberState()
H A Dinner_common_event_manager.cpp723 int32_t InnerCommonEventManager::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::InnerCommonEventManager
726 return staticSubscriberManager_->SetStaticSubscriberState(enable); in SetStaticSubscriberState()
731 int32_t InnerCommonEventManager::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::InnerCommonEventManager
734 return staticSubscriberManager_->SetStaticSubscriberState(events, enable); in SetStaticSubscriberState()
H A Dstatic_subscriber_manager.cpp526 int32_t StaticSubscriberManager::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::StaticSubscriberManager
543 int32_t StaticSubscriberManager::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() function in OHOS::EventFwk::StaticSubscriberManager
/base/notification/common_event_service/frameworks/core/test/unittest/
H A Dcommon_event_proxy_test.cpp351 * tc.name: test SetStaticSubscriberState
362 int32_t result = commonEventProxy.SetStaticSubscriberState(true); in HWTEST_F()
368 * tc.name: test SetStaticSubscriberState
370 * tc.desc: Successful verification by calling SetStaticSubscriberState API.
378 int32_t result = commonEventProxy.SetStaticSubscriberState(events, true); in HWTEST_F()
H A Dcommon_event_stub_test.cpp616 * tc.name: test SetStaticSubscriberState
624 int32_t result = commonEventStub.SetStaticSubscriberState(true); in HWTEST_F()
630 * tc.name: test SetStaticSubscriberState
632 * tc.desc: Successful verification by calling SetStaticSubscriberState API.
639 int32_t result = commonEventStub.SetStaticSubscriberState(events, true); in HWTEST_F()
H A Dcommon_event_test.cpp495 * @tc.name: verify SetStaticSubscriberState
496 * @tc.desc: Invoke SetStaticSubscriberState interface verify whether it is normal
501 int32_t result = commonEvent.SetStaticSubscriberState(true); in HWTEST_F()
507 * @tc.name: verify SetStaticSubscriberState
508 * @tc.desc: Failed to call SetStaticSubscriberState API to obtain proxy
515 int32_t result = commonEvent.SetStaticSubscriberState(events, true); in HWTEST_F()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_set_param.cpp349 napi_value NapiStaticSubscribe::SetStaticSubscriberState(napi_env env, napi_callback_info info) in SetStaticSubscriberState() function in OHOS::EventManagerFwkNapi::NapiStaticSubscribe
511 auto ret = fromBundle ? CommonEventManager::SetStaticSubscriberState(events, enable) in OnSetStaticSubscriberState()
512 : CommonEventManager::SetStaticSubscriberState(enable); in OnSetStaticSubscriberState()
521 task.Reject(env, AbilityRuntime::CreateJsError(env, ret, "SetStaticSubscriberState failed")); in OnSetStaticSubscriberState()
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_manager_service_test.cpp308 * @tc.desc: Test the SetStaticSubscriberState function, test whether it is a system application.
316 int32_t result = commonEventManagerService.SetStaticSubscriberState(events, true); in HWTEST_F()
H A Dcommon_event_manager_service_new_branch_test.cpp361 * @tc.desc: test SetStaticSubscriberState function.
374 EXPECT_EQ(OHOS::ERR_INVALID_OPERATION, comm->SetStaticSubscriberState(true)); in HWTEST_F()
/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/
H A Dcommon_event_branch_test.cpp285 * tc.name: SetStaticSubscriberState
287 * tc.desc: test SetStaticSubscriberState function.
293 OHOS::Notification::ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, commonEvent.SetStaticSubscriberState(true)); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/
H A Dcommon_event_manager_service_branch_test.cpp538 * @tc.desc: test SetStaticSubscriberState function.
551 int32_t ret = comm->SetStaticSubscriberState(true); in HWTEST_F()
553 EXPECT_EQ(ret, comm->SetStaticSubscriberState(true)); in HWTEST_F()

Completed in 26 milliseconds

12