Home
last modified time | relevance | path

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

12

/base/notification/common_event_service/test/fuzztest/commoneventproxy_fuzzer/
H A Dcommoneventproxy_fuzzer.cpp29 commonEventProxy.UnsubscribeCommonEvent(object); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_dump_test.cpp697 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
698 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener2->AsObject()); in HWTEST_F()
727 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
728 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener2->AsObject()); in HWTEST_F()
784 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
818 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
851 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
883 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
914 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listener->AsObject()); in HWTEST_F()
948 GetInnerCommonEventManager()->UnsubscribeCommonEvent(listene in HWTEST_F()
[all...]
H A Dcommon_event_unsubscribe_unit_test.cpp88 * @tc.desc: verify InnerCommonEventManager UnsubscribeCommonEvent function success
104 // UnsubscribeCommonEvent in HWTEST_F()
106 EXPECT_TRUE(innerCommonEventManager.UnsubscribeCommonEvent(commonEventListenerPtr)); in HWTEST_F()
113 * verify InnerCommonEventManager UnsubscribeCommonEvent function return value.
119 EXPECT_FALSE(innerCommonEventManager->UnsubscribeCommonEvent(sp)); in HWTEST_F()
H A Dcommon_event_publish_system_event_test.cpp199 innerCommonEventManager.UnsubscribeCommonEvent(commonEventListenerPtr); in HWTEST_F()
250 innerCommonEventManager.UnsubscribeCommonEvent(commonEventListenerPtr); in HWTEST_F()
H A Dcommon_event_publish_permission_event_unit_test.cpp137 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
180 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
223 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
266 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1017 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1062 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1107 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1152 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1197 inner.UnsubscribeCommonEvent(listener); in HWTEST_F()
1242 inner.UnsubscribeCommonEvent(listene in HWTEST_F()
[all...]
H A Dinner_common_event_manager_test.cpp70 * @tc.desc: test UnsubscribeCommonEvent function and commonEventListener is nullptr.
78 EXPECT_EQ(false, innerCommonEventManager.UnsubscribeCommonEvent(commonEventListener)); in HWTEST_F()
84 * @tc.desc: test UnsubscribeCommonEvent function.
98 EXPECT_EQ(false, innerCommonEventManager.UnsubscribeCommonEvent(commonEventListener)); in HWTEST_F()
/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dcommon_event_unsubscribe_test.cpp86 virtual int32_t UnsubscribeCommonEvent(const OHOS::sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in CommonEventStubTest
198 * Function: UnsubscribeCommonEvent
211 EXPECT_EQ(true, innerCommonEventManager->UnsubscribeCommonEvent(commonEventListener)); in HWTEST_F()
248 * Function: UnsubscribeCommonEvent
253 * verify UnsubscribeCommonEvent function return value.
259 EXPECT_EQ(false, innerCommonEventManager->UnsubscribeCommonEvent(sp)); in HWTEST_F()
H A Dcommon_event_subscribe_test.cpp109 virtual int32_t UnsubscribeCommonEvent(const OHOS::sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in CommonEventStubTest
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mgr_notify_test.cpp161 auto err = CommonEventManager::GetInstance().UnsubscribeCommonEvent(subscriber); in HWTEST_F()
193 auto err = CommonEventManager::GetInstance().UnsubscribeCommonEvent(subscriber); in HWTEST_F()
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp273 * @tc.name: CommonEventManagerService UnsubscribeCommonEvent
288 EXPECT_EQ(commonEventManagerService_->UnsubscribeCommonEvent(commonEventListener), ERR_OK); in HWTEST_F()
294 * @tc.name: CommonEventManagerService UnsubscribeCommonEvent
309 EXPECT_EQ(commonEventManagerService_->UnsubscribeCommonEvent(commonEventListener), ERR_OK); in HWTEST_F()
315 * @tc.name: CommonEventManagerService UnsubscribeCommonEvent
316 * @tc.desc: test UnsubscribeCommonEvent has priority, Verify that ordered common event was unsubscribed successfully
329 EXPECT_EQ(commonEventManagerService_->UnsubscribeCommonEvent(commonEventListener), ERR_OK); in HWTEST_F()
335 * @tc.name: CommonEventManagerService UnsubscribeCommonEvent
336 * @tc.desc: test UnsubscribeCommonEvent , Verify the common event was unsubscribed successfully
348 EXPECT_EQ(commonEventManagerService_->UnsubscribeCommonEvent(commonEventListene in HWTEST_F()
[all...]
/base/notification/common_event_service/frameworks/core/include/
H A Dcommon_event_stub.h88 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
H A Dicommon_event.h75 virtual int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) = 0;
H A Dcommon_event_proxy.h80 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
/base/notification/common_event_service/services/include/
H A Dcommon_event_manager_service.h80 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
H A Dinner_common_event_manager.h83 bool UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener);
/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/
H A Dcommoneventmanagerservice_fuzzer.cpp62 service->UnsubscribeCommonEvent(commonEventListener); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/fuzztest/commoneventstub_fuzzer/
H A Dcommoneventstub_fuzzer.cpp60 // test UnsubscribeCommonEvent function in DoSomethingInterestingWithMyAPI()
61 commonEventStub.UnsubscribeCommonEvent(commonEventListener); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event_stub.cpp119 CesXCollie cesXCollie("ces::UnsubscribeCommonEvent"); in OnRemoteRequest()
130 int32_t ret = UnsubscribeCommonEvent(commonEventListener); in OnRemoteRequest()
296 int32_t CommonEventStub::UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in OHOS::EventFwk::CommonEventStub
H A Dcommon_event.cpp211 EVENT_LOGD("before UnsubscribeCommonEvent listeners size is %{public}zu", eventListeners_.size()); in UnSubscribeCommonEvent()
212 if (proxy->UnsubscribeCommonEvent(eventListener->second->AsObject()) == ERR_OK) { in UnSubscribeCommonEvent()
H A Dcommon_event_proxy.cpp207 int32_t CommonEventProxy::UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in OHOS::EventFwk::CommonEventProxy
/base/notification/common_event_service/test/benchmarktest/common_event_service_test/
H A Dcommon_event_manager_service_test.cpp136 * @tc.desc: UnsubscribeCommonEvent
150 bool result = commonEventManagerService_->UnsubscribeCommonEvent( in BENCHMARK_F()
153 state.SkipWithError("UnsubscribeCommonEvent failed."); in BENCHMARK_F()
/base/notification/common_event_service/services/src/
H A Dcommon_event_manager_service.cpp292 int32_t CommonEventManagerService::UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManagerService
309 bool ret = innerCommonEventManager->UnsubscribeCommonEvent(commonEventListener); in UnsubscribeCommonEvent()
H A Dinner_common_event_manager.cpp368 bool InnerCommonEventManager::UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in OHOS::EventFwk::InnerCommonEventManager
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/
H A Dcommon_event_manager_service_branch_test.cpp112 * @tc.desc: test UnsubscribeCommonEvent function and IsReady is false.
126 ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, comm->UnsubscribeCommonEvent(commonEventListener)); in HWTEST_F()
453 * @tc.desc: 1.test UnsubscribeCommonEvent function.
465 EXPECT_EQ(ERR_OK, comm->UnsubscribeCommonEvent(nullptr)); in HWTEST_F()
/base/notification/common_event_service/frameworks/core/test/unittest/
H A Dcommon_event_test.cpp271 * tc.name: test UnsubscribeCommonEvent
273 * tc.desc: Invoke UnsubscribeCommonEvent interface verify whether it is normal
278 bool unsubscribeCommonEvent = commonEventStub.UnsubscribeCommonEvent(nullptr); in HWTEST_F()

Completed in 25 milliseconds

12