Home
last modified time | relevance | path

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

123456

/ohos5.0/base/location/test/location_locator/mock/src/
H A 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()
/ohos5.0/base/location/test/location_manager/mock/src/
H A 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()
/ohos5.0/base/location/test/location_locator/mock/include/
H A 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 &…
/ohos5.0/base/location/test/location_manager/mock/include/
H A 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 &…
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_common_event_test.cpp89 CommonEventManager::PublishCommonEvent(data);
113 CommonEventManager::PublishCommonEvent(data1);
124 CommonEventManager::PublishCommonEvent(data2);
148 CommonEventManager::PublishCommonEvent(data);
172 CommonEventManager::PublishCommonEvent(data);
196 CommonEventManager::PublishCommonEvent(data);
220 CommonEventManager::PublishCommonEvent(data1);
231 CommonEventManager::PublishCommonEvent(data2);
256 CommonEventManager::PublishCommonEvent(data);
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/conditions/
H A Dnetwork_listener_test.cpp87 EventFwk::CommonEventManager::PublishCommonEvent(data);
108 EventFwk::CommonEventManager::PublishCommonEvent(data);
129 EventFwk::CommonEventManager::PublishCommonEvent(data);
150 EventFwk::CommonEventManager::PublishCommonEvent(data);
171 EventFwk::CommonEventManager::PublishCommonEvent(data);
192 EventFwk::CommonEventManager::PublishCommonEvent(data);
212 EventFwk::CommonEventManager::PublishCommonEvent(data);
/ohos5.0/base/notification/common_event_service/interfaces/inner_api/
H A 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…
/ohos5.0/base/powermgr/battery_manager/services/native/src/
H A Dbattery_notify.cpp152 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargeTypeChangedEvent()
220 bool isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChangedEvent()
244 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChangedEventInner()
272 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishLowEvent()
301 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishOkayEvent()
337 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerConnectedEvent()
380 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerDisconnectedEvent()
412 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargingEvent()
444 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishDischargingEvent()
465 bool isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishCustomEvent()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A 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
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Devent_publisher.cpp91 bool isSuccess = EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishNetworkEvent()
99 bool isSuccess = EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishNetworkEvent()
135 if (EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo)) { in PublishChargingEvent()
158 bool isSuccess = EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishStorageEvent()
172 bool isSuccess = EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishBatteryStatusEvent()
181 bool isSuccess = EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishBatteryStatusEvent()
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_common_event_manager.cpp24 bool CommonEventManager::PublishCommonEvent(const CommonEventData& data) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
35 bool CommonEventManager::PublishCommonEvent(const CommonEventData& data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
40 bool CommonEventManager::PublishCommonEvent(const CommonEventData& data, const CommonEventPublishIn… in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/
H A Dcommon_event_services_system_test.cpp737 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
775 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
815 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
855 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
894 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
925 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
962 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true);
1463 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
1506 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
2354 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
[all …]
/ohos5.0/base/notification/common_event_service/test/fuzztest/publishcommonevent_fuzzer/
H A Dpublishcommonevent_fuzzer.cpp49 EventFwk::CommonEventManager::PublishCommonEvent(commonEventData, commonEventPublishInfo); in DoSomethingInterestingWithMyAPI()
53 …EventFwk::CommonEventManager::PublishCommonEvent(commonEventData, commonEventPublishInfo, subscrib… in DoSomethingInterestingWithMyAPI()
56 EventFwk::CommonEventManager::PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
H A DactsCESDataTest.cpp1741 bool publishResult = CommonEventManager::PublishCommonEvent(data);
1802 bool publishResult = CommonEventManager::PublishCommonEvent(data);
1863 bool publishResult = CommonEventManager::PublishCommonEvent(data);
1924 bool publishResult = CommonEventManager::PublishCommonEvent(data);
1985 bool publishResult = CommonEventManager::PublishCommonEvent(data);
2046 bool publishResult = CommonEventManager::PublishCommonEvent(data);
2410 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo);
2474 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo);
2837 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo);
2866 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo);
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_common_event_helper.cpp45 if (!CommonEventManager::PublishCommonEvent(commonData, publishInfo)) { in PublishEvent()
51 if (!CommonEventManager::PublishCommonEvent(commonData)) { in PublishEvent()
69 if (!CommonEventManager::PublishCommonEvent(commonData)) { in PublishEvent()
91 if (!CommonEventManager::PublishCommonEvent(commonData)) { in PublishEvent()
213 if (!CommonEventManager::PublishCommonEvent(commonData, publishInfo)) { in PublishSelfcureStateChangedEvent()
/ohos5.0/base/notification/common_event_service/frameworks/native/src/
H A 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
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/moduletest/
H A Ddistributeddata_account_event_test.cpp88 auto err = CommonEventManager::PublishCommonEvent(event, publishInfo, nullptr); in HarmonyAccountLogin()
100 auto err = CommonEventManager::PublishCommonEvent(event, publishInfo, nullptr); in HarmonyAccountLogout()
112 auto err = CommonEventManager::PublishCommonEvent(event, publishInfo, nullptr); in HarmonyAccountDelete()
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A 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(
H A 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(
/ohos5.0/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event.cpp52 bool CommonEvent::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &pub… in PublishCommonEvent() function in OHOS::EventFwk::CommonEvent
67 return proxy->PublishCommonEvent( in PublishCommonEvent()
86 return proxy->PublishCommonEvent(data, publishInfo, commonEventListener, userId); in PublishCommonEventAsUser()
89 bool CommonEvent::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &pub… in PublishCommonEvent() function in OHOS::EventFwk::CommonEvent
104 …return proxy->PublishCommonEvent(data, publishInfo, commonEventListener, uid, callerToken, UNDEFIN… in PublishCommonEvent()
123 …return proxy->PublishCommonEvent(data, publishInfo, commonEventListener, uid, callerToken, userId); in PublishCommonEventAsUser()
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/
H A DactsCESManagertest.cpp1022 if (!CommonEventManager::PublishCommonEvent(commonEventData)) {
1060 if (!CommonEventManager::PublishCommonEvent(commonEventData)) {
1097 if (!CommonEventManager::PublishCommonEvent(commonEventData)) {
1136 if (!CommonEventManager::PublishCommonEvent(commonEventData)) {
1911 (CommonEventManager::PublishCommonEvent(commonEventData))) {
1952 (CommonEventManager::PublishCommonEvent(commonEventData))) {
1994 (CommonEventManager::PublishCommonEvent(commonEventData, publishInfo))) {
2036 (CommonEventManager::PublishCommonEvent(commonEventData, publishInfo))) {
2081 (CommonEventManager::PublishCommonEvent(commonEventData, publishInfo))) {
2911 if (!CommonEventManager::PublishCommonEvent(commonEventData)) {
[all …]
/ohos5.0/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_event_publisher.cpp32 EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishNfcStateChanged()
46 EventFwk::CommonEventManager::PublishCommonEvent(data); in PublishNfcFieldStateChanged()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dbluetooth_common_event_helper.cpp38 if (!CommonEventManager::PublishCommonEvent(commonData, publishInfo)) { in PublishEvent()
45 if (!CommonEventManager::PublishCommonEvent(commonData)) { in PublishEvent()
/ohos5.0/base/telephony/call_manager/services/call/call_state_observer/src/
H A Dmissed_call_notification.cpp82 bool result = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishMissedCallEvent()
94 …bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullpt… in PublishMissedCallEvent()
114 bool result = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishBlockedCallEvent()
168 …bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullpt… in NotifyUnReadMissedCall()
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp450 EXPECT_EQ(commonEventManagerService_->PublishCommonEvent(
479 EXPECT_EQ(commonEventManagerService_->PublishCommonEvent(
587 EXPECT_EQ(commonEventManagerService_->PublishCommonEvent(
630 EXPECT_EQ(commonEventManagerService_->PublishCommonEvent(
678 (commonEventManagerService_->PublishCommonEvent(
727 (commonEventManagerService_->PublishCommonEvent(
776 (commonEventManagerService_->PublishCommonEvent(
848 (commonEventManagerService_->PublishCommonEvent(
898 (commonEventManagerService_->PublishCommonEvent(
977 EXPECT_EQ(commonEventManagerService_->PublishCommonEvent(
[all …]

123456