Home
last modified time | relevance | path

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

1234

/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
H A Dcommon_event_services_system_test.cpp199 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
216 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
233 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
250 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
267 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
285 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
303 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true); in HWTEST_F()
327 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr1), true); in HWTEST_F()
328 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr2), true); in HWTEST_F()
329 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr in HWTEST_F()
[all...]
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
H A DactsCESManagertest.cpp153 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
183 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
213 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
243 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
273 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
304 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
328 if (!CommonEventManager::UnSubscribeCommonEvent(subscriberPtr)) { in HWTEST_F()
336 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
384 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr1); in HWTEST_F()
385 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/src/
H A Daccount_event_subscribe.cpp57 EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber_); in ~AccountEventSubscriber()
67 return EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber_); in DestroyEventSubscribe()
/base/location/test/location_locator/mock/src/
H A Dmock_common_event_manager.cpp48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
50 return Location::MockCommonEventManager::GetInstance().UnSubscribeCommonEvent(subscriber); in UnSubscribeCommonEvent()
/base/location/test/location_manager/mock/src/
H A Dmock_common_event_manager.cpp48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
50 return Location::MockCommonEventManager::GetInstance().UnSubscribeCommonEvent(subscriber); in UnSubscribeCommonEvent()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_event_test.cpp87 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
112 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
137 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
191 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
226 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
260 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dcommon_event_unsubscribe_test.cpp148 * Function: UnSubscribeCommonEvent
152 * CaseDescription: Unsubscribe normally and verify UnSubscribeCommonEvent function return value.
160 EXPECT_EQ(true, helper->UnSubscribeCommonEvent(subscriber)); in HWTEST_F()
165 * Function: UnSubscribeCommonEvent
169 * CaseDescription: Verify UnSubscribeCommonEvent function return value with eventListener not exist.
176 EXPECT_EQ(ERR_OK, CommonEvent::GetInstance()->UnSubscribeCommonEvent(subscriber)); in HWTEST_F()
181 * Function: UnSubscribeCommonEvent
185 * CaseDescription: Verify UnSubscribeCommonEvent function return value with eventListener existed.
193 EXPECT_EQ(ERR_OK, CommonEvent::GetInstance()->UnSubscribeCommonEvent(subscriber)); in HWTEST_F()
202 * CaseDescription: Verify UnSubscribeCommonEvent functio
[all...]
/base/msdp/device_status/intention/adapters/common_event_adapter/src/
H A Dcommon_event_adapter.cpp38 if (!EventFwk::CommonEventManager::UnSubscribeCommonEvent(observer)) { in RemoveObserver()
39 FI_HILOGE("UnSubscribeCommonEvent failed"); in RemoveObserver()
42 FI_HILOGI("UnSubscribeCommonEvent success"); in RemoveObserver()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_level_event_test.cpp211 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
241 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
270 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
299 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
332 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_event_system_test.cpp437 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
458 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
480 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
503 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
526 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
549 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
572 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
595 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
657 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_common_event_manager.cpp50 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_shutdown_fast_test.cpp119 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
138 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
H A Dces_system_test.cpp84 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in HWTEST_F()
/base/notification/common_event_service/tools/test/systemtest/cem/
H A Dcommon_event_command_dump_system_test.cpp120 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
165 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
H A Dcommon_event_command_publish_system_test.cpp193 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
253 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
313 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
373 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr); in HWTEST_F()
/base/telephony/sms_mms/services/sms/
H A Dsms_state_observer.cpp64 bool unSubscribeResult = CommonEventManager::UnSubscribeCommonEvent(smsSubscriber_); in StopEventSubscriber()
148 bool subscribeResult = CommonEventManager::UnSubscribeCommonEvent(sub_); in OnRemoveSystemAbility()
/base/location/test/location_locator/mock/include/
H A Dmock_common_event_manager.h37 MOCK_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber));
/base/location/test/location_manager/mock/include/
H A Dmock_common_event_manager.h37 MOCK_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber));
/base/security/device_auth/services/frameworks/src/os_account_adapter/
H A Dos_account_adapter.cpp96 static void UnSubscribeCommonEvent(void) in UnSubscribeCommonEvent() function
101 if (OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(g_accountSubscriber)) { in UnSubscribeCommonEvent()
208 UnSubscribeCommonEvent(); in DestroyOsAccountAdapter()
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_event_mock_test.cpp128 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
156 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
184 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
240 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
275 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
309 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
/base/hiviewdfx/hiview/core/param_update/src/
H A Dparam_event_manager.cpp67 bool subscribeResult = EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber_); in UnSubscriberEvent()
/base/hiviewdfx/hiview/plugins/unified_collector/power/
H A Dpower_status_manager.cpp53 CommonEventManager::UnSubscribeCommonEvent(powerStateSubscriber_); in ~PowerStatusManager()
/base/notification/common_event_service/test/fuzztest/unsubscribecommonevent_fuzzer/
H A Dunsubscribecommonevent_fuzzer.cpp53 return EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/frameworks/native/src/
H A Dcommon_event_manager.cpp105 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
112 return CommonEvent::GetInstance()->UnSubscribeCommonEvent(subscriber); in NewUnSubscribeCommonEvent()
/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_level_event_system_test.cpp389 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
409 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
429 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
460 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()
493 CommonEventManager::UnSubscribeCommonEvent(subscriber); in HWTEST_F()

Completed in 15 milliseconds

1234