/base/notification/common_event_service/test/fuzztest/commoneventproxy_fuzzer/ |
H A D | commoneventproxy_fuzzer.cpp | 29 commonEventProxy.UnsubscribeCommonEvent(object);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_dump_test.cpp | 697 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 D | common_event_unsubscribe_unit_test.cpp | 88 * @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 D | common_event_publish_system_event_test.cpp | 199 innerCommonEventManager.UnsubscribeCommonEvent(commonEventListenerPtr); in HWTEST_F() 250 innerCommonEventManager.UnsubscribeCommonEvent(commonEventListenerPtr); in HWTEST_F()
|
H A D | common_event_publish_permission_event_unit_test.cpp | 137 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 D | inner_common_event_manager_test.cpp | 70 * @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 D | common_event_unsubscribe_test.cpp | 86 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 D | common_event_subscribe_test.cpp | 109 virtual int32_t UnsubscribeCommonEvent(const OHOS::sptr<IRemoteObject> &commonEventListener) in UnsubscribeCommonEvent() function in CommonEventStubTest
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_mgr_notify_test.cpp | 161 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 D | common_event_services_module_test.cpp | 273 * @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 D | common_event_stub.h | 88 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
|
H A D | icommon_event.h | 75 virtual int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) = 0;
|
H A D | common_event_proxy.h | 80 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
|
/base/notification/common_event_service/services/include/ |
H A D | common_event_manager_service.h | 80 int32_t UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener) override;
|
H A D | inner_common_event_manager.h | 83 bool UnsubscribeCommonEvent(const sptr<IRemoteObject> &commonEventListener);
|
/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/ |
H A D | commoneventmanagerservice_fuzzer.cpp | 62 service->UnsubscribeCommonEvent(commonEventListener); in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/test/fuzztest/commoneventstub_fuzzer/ |
H A D | commoneventstub_fuzzer.cpp | 60 // test UnsubscribeCommonEvent function
in DoSomethingInterestingWithMyAPI() 61 commonEventStub.UnsubscribeCommonEvent(commonEventListener);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/frameworks/core/src/ |
H A D | common_event_stub.cpp | 119 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 D | common_event.cpp | 211 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 D | common_event_proxy.cpp | 207 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 D | common_event_manager_service_test.cpp | 136 * @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 D | common_event_manager_service.cpp | 292 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 D | inner_common_event_manager.cpp | 368 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 D | common_event_manager_service_branch_test.cpp | 112 * @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 D | common_event_test.cpp | 271 * tc.name: test UnsubscribeCommonEvent 273 * tc.desc: Invoke UnsubscribeCommonEvent interface verify whether it is normal 278 bool unsubscribeCommonEvent = commonEventStub.UnsubscribeCommonEvent(nullptr); in HWTEST_F()
|