Home
last modified time | relevance | path

Searched refs:UnSubscribeCommonEvent (Results 1 – 25 of 56) sorted by relevance

123

/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp194 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
211 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
228 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
245 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
262 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
280 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
298 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr), true);
322 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr1), true);
323 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr2), true);
324 EXPECT_EQ(CommonEventManager::UnSubscribeCommonEvent(subscriberPtr3), true);
[all …]
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
DactsCESManagertest.cpp153 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
183 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
213 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
243 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
273 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
304 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
328 if (!CommonEventManager::UnSubscribeCommonEvent(subscriberPtr)) {
336 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
384 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr1);
385 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr2);
[all …]
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_level_event_test.cpp137 CommonEventManager::UnSubscribeCommonEvent(subscriber);
158 CommonEventManager::UnSubscribeCommonEvent(subscriber);
179 CommonEventManager::UnSubscribeCommonEvent(subscriber);
202 CommonEventManager::UnSubscribeCommonEvent(subscriber);
225 CommonEventManager::UnSubscribeCommonEvent(subscriber);
250 CommonEventManager::UnSubscribeCommonEvent(subscriber);
276 CommonEventManager::UnSubscribeCommonEvent(subscriber);
307 CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/location/test/location_locator/mock/src/
Dmock_common_event_manager.cpp48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… 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/
Dusb_event_test.cpp87 CommonEventManager::UnSubscribeCommonEvent(subscriber);
112 CommonEventManager::UnSubscribeCommonEvent(subscriber);
137 CommonEventManager::UnSubscribeCommonEvent(subscriber);
192 CommonEventManager::UnSubscribeCommonEvent(subscriber);
228 CommonEventManager::UnSubscribeCommonEvent(subscriber);
262 CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/notification/common_event_service/frameworks/native/test/unittest/
Dcommon_event_unsubscribe_test.cpp159 EXPECT_EQ(true, helper->UnSubscribeCommonEvent(subscriber));
175 …EXPECT_EQ(ERR_OK, DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber)…
192 …EXPECT_EQ(ERR_OK, DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber)…
242 …EXPECT_NE(ERR_OK, DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber)…
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp434 CommonEventManager::UnSubscribeCommonEvent(subscriber);
452 CommonEventManager::UnSubscribeCommonEvent(subscriber);
470 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
489 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
508 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
527 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
546 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
565 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
623 auto ret = CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/notification/common_event_service/tools/test/systemtest/cem/
Dcommon_event_command_dump_system_test.cpp120 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
165 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
Dcommon_event_command_publish_system_test.cpp193 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
253 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
313 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
373 CommonEventManager::UnSubscribeCommonEvent(subscriberTestPtr);
/base/usb/usb_manager/test/native/mock/src/
Dusb_event_mock_test.cpp128 CommonEventManager::UnSubscribeCommonEvent(subscriber);
156 CommonEventManager::UnSubscribeCommonEvent(subscriber);
184 CommonEventManager::UnSubscribeCommonEvent(subscriber);
241 CommonEventManager::UnSubscribeCommonEvent(subscriber);
277 CommonEventManager::UnSubscribeCommonEvent(subscriber);
311 CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_shutdown_fast_test.cpp119 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
137 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
Dpower_level_event_system_test_on.cpp112 CommonEventManager::UnSubscribeCommonEvent(subscriber);
Dpower_level_event_system_test_off.cpp111 CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_common_event_manager.cpp50 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_level_event_system_test.cpp309 CommonEventManager::UnSubscribeCommonEvent(subscriber);
330 CommonEventManager::UnSubscribeCommonEvent(subscriber);
351 CommonEventManager::UnSubscribeCommonEvent(subscriber);
378 CommonEventManager::UnSubscribeCommonEvent(subscriber);
406 CommonEventManager::UnSubscribeCommonEvent(subscriber);
/base/telephony/sms_mms/services/sms/
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/
Dmock_common_event_manager.h37 …MOCK_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscribe…
/base/account/os_account/services/accountmgr/src/
Daccount_event_subscribe.cpp61 return EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber_); in DestroyEventSubscribe()
/base/powermgr/power_manager/test/unittest/src/
Dces_system_test.cpp84 CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_manager.cpp105 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent() function in OHOS::EventFwk::CommonEventManager
112 return DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber); in NewUnSubscribeCommonEvent()
/base/notification/common_event_service/test/fuzztest/unsubscribecommonevent_fuzzer/
Dunsubscribecommonevent_fuzzer.cpp54 return EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriber); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/benchmarktest/common_event_publish_test/
Dcommon_event_publish_test.cpp93 OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(subscriberPtr); in BENCHMARK_F()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/
Dcm_event_observer.cpp85 return OHOS::EventFwk::CommonEventManager::UnSubscribeCommonEvent(systemEventSubscriber_); in UnSubscribeSystemEvent()
/base/notification/common_event_service/interfaces/inner_api/
Dcommon_event_manager.h169 static bool UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber);
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_common_event_receiver.cpp33 CommonEventManager::UnSubscribeCommonEvent(subscriber_); in ~ThermalCommonEventReceiver()

123