/base/notification/common_event_service/frameworks/native/src/ |
H A D | common_event_manager.cpp | 140 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 D | common_event_manager.h | 225 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 D | common_event_stub.h | 160 int32_t SetStaticSubscriberState(bool enable) override; 169 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
|
H A D | icommon_event.h | 147 virtual int32_t SetStaticSubscriberState(bool enable) = 0; 156 virtual int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) = 0;
|
H A D | common_event_proxy.h | 152 int32_t SetStaticSubscriberState(bool enable) override; 161 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
|
H A D | common_event.h | 169 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 D | common_event_manager_impl.h | 30 static int32_t SetStaticSubscriberState(bool enable);
|
H A D | common_event_manager_impl.cpp | 62 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 D | common_event_manager_service.h | 152 int32_t SetStaticSubscriberState(bool enable) override; 161 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) override;
|
H A D | static_subscriber_manager.h | 58 int32_t SetStaticSubscriberState(bool enable); 67 int32_t SetStaticSubscriberState(const std::vector<std::string> &events, bool enable);
|
H A D | inner_common_event_manager.h | 158 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 D | common_event_stub.cpp | 223 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 D | common_event.cpp | 319 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 D | common_event_proxy.cpp | 468 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 D | common_event_manager_service.cpp | 533 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 D | inner_common_event_manager.cpp | 723 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 D | static_subscriber_manager.cpp | 526 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 D | common_event_proxy_test.cpp | 351 * 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 D | common_event_stub_test.cpp | 616 * 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 D | common_event_test.cpp | 495 * @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 D | common_event_set_param.cpp | 349 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 D | common_event_manager_service_test.cpp | 308 * @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 D | common_event_manager_service_new_branch_test.cpp | 361 * @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 D | common_event_branch_test.cpp | 285 * 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 D | common_event_manager_service_branch_test.cpp | 538 * @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()
|