/base/location/test/location_locator/mock/src/ |
D | mock_common_event_manager.cpp | 20 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/ |
D | mock_common_event_manager.h | 27 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/ |
D | mock_common_event_manager.cpp | 25 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/ |
D | common_event_manager.h | 33 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/ |
D | publishcommonevent_fuzzer.cpp | 44 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/ |
D | battery_notify.cpp | 104 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/ |
D | usb_host_manager.cpp | 59 …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/ |
D | common_event_manager.cpp | 25 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/ |
D | icommon_event.h | 40 …virtual int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &pub… 54 …virtual bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publis…
|
D | common_event_stub.h | 53 …int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo, 67 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
D | common_event_proxy.h | 45 …int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishInfo, 59 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
D | common_event.h | 38 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/ |
D | common_event_services_system_test.cpp | 732 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/ |
D | common_event_publish_system_event_test.cpp | 115 bool publishResult = innerCommonEventManager.PublishCommonEvent( 145 bool publishResult = innerCommonEventManager.PublishCommonEvent( 194 bool publishResult = innerCommonEventManager.PublishCommonEvent( 245 bool publishResult = innerCommonEventManager.PublishCommonEvent(
|
D | common_event_sticky_test.cpp | 117 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/ |
D | common_event.cpp | 34 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()
|
D | common_event_stub.cpp | 57 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/ |
D | common_event_manager_service_branch_test.cpp | 84 …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/ |
D | actsCESDataTest.cpp | 781 …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/ |
D | common_event_proxy_test.cpp | 148 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/ |
D | os_account_interface.cpp | 178 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() 382 … PublishCommonEvent(osAccountInfo, OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_USER_UNLOCKED, in SendToStorageAccountStart()
|
/base/notification/common_event_service/services/include/ |
D | common_event_manager_service.h | 43 …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/ |
D | missed_call_notification.cpp | 67 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/ |
D | commoneventmanagerservice_fuzzer.cpp | 51 …commonEventManagerService.PublishCommonEvent(commonEventData, commonEventPublishInfo, commonEventL… in DoSomethingInterestingWithMyAPI() 52 commonEventManagerService.PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/test/fuzztest/commoneventsubscriber_fuzzer/ |
D | commoneventsubscriber_fuzzer.cpp | 82 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber); in DoSomethingInterestingWithMyAPI() 84 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber, code, code); in DoSomethingInterestingWithMyAPI()
|