Home
last modified time | relevance | path

Searched refs:PublishCommonEvent (Results 1 – 25 of 92) sorted by relevance

1234

/base/location/test/location_locator/mock/src/
Dmock_common_event_manager.cpp20 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
22 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data); in PublishCommonEvent()
25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
28 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo); in PublishCommonEvent()
31 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
34 …return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subsc… in PublishCommonEvent()
37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
40 …return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subsc… in PublishCommonEvent()
/base/location/test/location_locator/mock/include/
Dmock_common_event_manager.h27 MOCK_METHOD(bool, PublishCommonEvent, (const CommonEventData &data));
28 MOCK_METHOD(bool, PublishCommonEvent, (const CommonEventData &data,
30 MOCK_METHOD(bool, PublishCommonEvent, (const CommonEventData &data,
32 MOCK_METHOD(bool, PublishCommonEvent, (const CommonEventData &data,
34 …MOCK_METHOD(bool, PublishCommonEvent, (const CommonEventData &data, const CommonEventPublishInfo &…
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_common_event_manager.cpp25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
33 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
38 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
/base/notification/common_event_service/interfaces/inner_api/
Dcommon_event_manager.h33 static bool PublishCommonEvent(const CommonEventData &data);
51 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
92 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
129 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
/base/notification/common_event_service/test/fuzztest/publishcommonevent_fuzzer/
Dpublishcommonevent_fuzzer.cpp44 EventFwk::CommonEventManager::PublishCommonEvent(commonEventData, commonEventPublishInfo); in DoSomethingInterestingWithMyAPI()
47 return EventFwk::CommonEventManager::PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
51 return EventFwk::CommonEventManager::PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp104 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargeTypeChangedEvent()
165 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChangedEvent()
193 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishLowEvent()
222 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishOkayEvent()
253 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerConnectedEvent()
285 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerDisconnectedEvent()
316 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargingEvent()
347 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishDischargingEvent()
/base/usb/usb_manager/services/native/src/
Dusb_host_manager.cpp59 …auto isSuccess = PublishCommonEvent(CommonEventSupport::COMMON_EVENT_USB_DEVICE_DETACHED, *devOld); in DelDevice()
76 auto isSuccess = PublishCommonEvent(CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED, *dev); in AddDevice()
98 bool UsbHostManager::PublishCommonEvent(const std::string &event, const UsbDevice &dev) in PublishCommonEvent() function in OHOS::USB::UsbHostManager
112 return CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishCommonEvent()
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_manager.cpp25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
60 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
81 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
/base/notification/common_event_service/frameworks/core/include/
Dicommon_event.h40 …virtual int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &pub…
54 …virtual bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publis…
Dcommon_event_stub.h53 …int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
67 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
Dcommon_event_proxy.h45 …int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishInfo,
59 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
Dcommon_event.h38 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
63 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp732 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
770 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
810 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
850 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
889 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
920 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
957 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
984 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
1014 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
1054 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
[all …]
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_publish_system_event_test.cpp115 bool publishResult = innerCommonEventManager.PublishCommonEvent(
145 bool publishResult = innerCommonEventManager.PublishCommonEvent(
194 bool publishResult = innerCommonEventManager.PublishCommonEvent(
245 bool publishResult = innerCommonEventManager.PublishCommonEvent(
Dcommon_event_sticky_test.cpp117 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
154 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
165 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
202 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
234 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
266 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
502 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent(
/base/notification/common_event_service/frameworks/core/src/
Dcommon_event.cpp34 bool CommonEvent::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &pub… in PublishCommonEvent() function in OHOS::EventFwk::CommonEvent
45 return commonEventProxy_->PublishCommonEvent( in PublishCommonEvent()
60 return commonEventProxy_->PublishCommonEvent(data, publishInfo, commonEventListener, userId); in PublishCommonEventAsUser()
63 bool CommonEvent::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &pub… in PublishCommonEvent() function in OHOS::EventFwk::CommonEvent
74 …return commonEventProxy_->PublishCommonEvent(data, publishInfo, commonEventListener, uid, callerTo… in PublishCommonEvent()
90 …return commonEventProxy_->PublishCommonEvent(data, publishInfo, commonEventListener, uid, callerTo… in PublishCommonEventAsUser()
Dcommon_event_stub.cpp57 int32_t ret = PublishCommonEvent(*event, *publishinfo, commonEventListener, userId); in OnRemoteRequest()
83 …bool ret = PublishCommonEvent(*event, *publishinfo, commonEventListener, uid, callerToken, userId); in OnRemoteRequest()
230 int32_t CommonEventStub::PublishCommonEvent(const CommonEventData &event, const CommonEventPublishI… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventStub
238 bool CommonEventStub::PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventStub
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/
Dcommon_event_manager_service_branch_test.cpp84 …EXPECT_EQ(true, comm->PublishCommonEvent(event, publishinfo, commonEventListener, uid, callerToken… in HWTEST_F()
170 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId)); in HWTEST_F()
200 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId)); in HWTEST_F()
226 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId)); in HWTEST_F()
252 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId)); in HWTEST_F()
278 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId)); in HWTEST_F()
306 …EXPECT_EQ(false, comm->PublishCommonEvent(event, publishinfo, commonEventListener, uid, callerToke… in HWTEST_F()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp781 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
847 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
916 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
985 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
1054 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
1120 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
1189 …bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTe…
1221 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo, subscriber);
1251 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo, subscriber);
1341 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo, subscriber);
[all …]
/base/notification/common_event_service/frameworks/core/test/unittest/
Dcommon_event_proxy_test.cpp148 int result = commonEventProxy.PublishCommonEvent(data, publishInfo, nullptr, useId);
173 int result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId);
201 … bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId);
229 … bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId);
257 … bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId);
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_interface.cpp178 if (!OHOS::EventFwk::CommonEventManager::PublishCommonEvent(data)) { in SendToCESAccountCreate()
200 if (!OHOS::EventFwk::CommonEventManager::PublishCommonEvent(data)) { in SendToCESAccountDelete()
212 void OsAccountInterface::PublishCommonEvent( in PublishCommonEvent() function in OHOS::AccountSA::OsAccountInterface
223 if (!OHOS::EventFwk::CommonEventManager::PublishCommonEvent(data)) { in PublishCommonEvent()
245 if (!OHOS::EventFwk::CommonEventManager::PublishCommonEvent(data)) { in SendToCESAccountSwitched()
382PublishCommonEvent(osAccountInfo, OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_USER_UNLOCKED, in SendToStorageAccountStart()
/base/notification/common_event_service/services/include/
Dcommon_event_manager_service.h43 …int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
57 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
/base/telephony/call_manager/services/call/call_state_observer/src/
Dmissed_call_notification.cpp67 bool result = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishMissedCallEvent()
79 …bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullpt… in PublishMissedCallEvent()
133 …bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullpt… in NotifyUnReadMissedCall()
/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/
Dcommoneventmanagerservice_fuzzer.cpp51 …commonEventManagerService.PublishCommonEvent(commonEventData, commonEventPublishInfo, commonEventL… in DoSomethingInterestingWithMyAPI()
52 commonEventManagerService.PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/fuzztest/commoneventsubscriber_fuzzer/
Dcommoneventsubscriber_fuzzer.cpp82 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber); in DoSomethingInterestingWithMyAPI()
84 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber, code, code); in DoSomethingInterestingWithMyAPI()

1234