/base/location/test/location_locator/mock/src/ |
H A 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, subscriber); in PublishCommonEvent() 37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager 40 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subscriber, uid); in PublishCommonEvent()
|
/base/location/test/location_manager/mock/src/ |
H A 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, subscriber); in PublishCommonEvent() 37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager 40 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subscriber, uid); in PublishCommonEvent()
|
/base/location/test/location_locator/mock/include/ |
H A 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 &publishInfo,
|
/base/location/test/location_manager/mock/include/ |
H A 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 &publishInfo,
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A 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 CommonEventPublishInfo &publishInfo) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager 38 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
|
/base/notification/common_event_service/interfaces/inner_api/ |
H A D | common_event_manager.h | 33 static bool PublishCommonEvent(const CommonEventData &data); 51 static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo); 92 static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, 129 static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
|
/base/notification/common_event_service/test/fuzztest/publishcommonevent_fuzzer/ |
H A D | publishcommonevent_fuzzer.cpp | 49 EventFwk::CommonEventManager::PublishCommonEvent(commonEventData, commonEventPublishInfo); in DoSomethingInterestingWithMyAPI() 53 EventFwk::CommonEventManager::PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber); in DoSomethingInterestingWithMyAPI() 56 EventFwk::CommonEventManager::PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/frameworks/native/src/ |
H A 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 CommonEventPublishInfo &publishInfo) in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager 60 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager 81 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, in PublishCommonEvent() function in OHOS::EventFwk::CommonEventManager
|
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_notify.cpp | 149 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargeTypeChangedEvent() 219 bool isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChangedEvent() 243 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChangedEventInner() 271 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishLowEvent() 300 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishOkayEvent() 331 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerConnectedEvent() 370 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishPowerDisconnectedEvent() 402 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishChargingEvent() 434 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PublishDischargingEvent() 455 bool isSuccess = CommonEventManager::PublishCommonEvent(dat in PublishCustomEvent() [all...] |
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 679 * @tc.name: PublishCommonEvent 715 * @tc.name: PublishCommonEvent 737 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); in HWTEST_F() 754 * @tc.name: PublishCommonEvent 775 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); in HWTEST_F() 792 * @tc.name: PublishCommonEvent 815 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); in HWTEST_F() 855 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true); in HWTEST_F() 872 * @tc.name: PublishCommonEvent 894 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventDat in HWTEST_F() [all...] |
/base/notification/common_event_service/frameworks/core/include/ |
H A D | common_event_stub.h | 53 int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo, 67 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
H A D | icommon_event.h | 40 virtual int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo, 54 virtual bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
H A D | common_event_proxy.h | 45 int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishInfo, 59 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
H A D | common_event.h | 40 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, 65 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_publish_system_event_test.cpp | 93 * @tc.name: test PublishCommonEvent 115 bool publishResult = innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 123 * @tc.name: test PublishCommonEvent 145 bool publishResult = innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 153 * @tc.name: test PublishCommonEvent 194 bool publishResult = innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 204 * @tc.name: test PublishCommonEvent 245 bool publishResult = innerCommonEventManager.PublishCommonEvent( in HWTEST_F()
|
H A D | common_event_sticky_test.cpp | 117 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 154 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 165 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 202 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 234 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 266 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F() 502 EXPECT_TRUE(innerCommonEventManager.PublishCommonEvent( in HWTEST_F()
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
H A D | missed_call_notification.cpp | 74 bool result = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishMissedCallEvent() 86 bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishMissedCallEvent() 106 bool result = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in PublishBlockedCallEvent() 160 bool resultWithNumber = EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr); in NotifyUnReadMissedCall()
|
/base/notification/common_event_service/frameworks/core/test/unittest/ |
H A D | common_event_proxy_test.cpp | 148 int result = commonEventProxy.PublishCommonEvent(data, publishInfo, nullptr, useId); in HWTEST_F() 173 int result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId); in HWTEST_F() 201 bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId); in HWTEST_F() 229 bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId); in HWTEST_F() 257 bool result = commonEventProxy.PublishCommonEvent(data, publishInfo, commonEventListener, useId); in HWTEST_F()
|
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/ |
H A D | common_event_manager_service_branch_test.cpp | 65 * @tc.desc: test PublishCommonEvent function, shell is system app and return true.
78 // test PublishCommonEvent
in HWTEST_F() 85 EXPECT_EQ(false, comm->PublishCommonEvent(event, publishinfo, commonEventListener, uid, callerToken, userId));
in HWTEST_F() 152 * @tc.desc: 1.test PublishCommonEvent function IsReady is true.
164 // test PublishCommonEvent function
in HWTEST_F() 172 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId));
in HWTEST_F() 178 * @tc.desc: 1.test PublishCommonEvent function IsReady is true.
195 // test PublishCommonEvent function
in HWTEST_F() 201 comm->PublishCommonEvent(event, publishinfo, commonEventListener, userId));
in HWTEST_F() 207 * @tc.desc: 1.test PublishCommonEvent functio [all...] |
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/ |
H A D | actsCESDataTest.cpp | 781 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 847 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 916 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 985 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 1054 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 1120 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 1189 bool publishResult = CommonEventManager::PublishCommonEvent(data, publishInfo, subscriberPublishTest); in HWTEST_F() 1221 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo, subscriber); in HWTEST_F() 1251 CommonEventManager::PublishCommonEvent(commonEventData, publishInfo, subscriber); in HWTEST_F() 1341 CommonEventManager::PublishCommonEvent(commonEventDat in HWTEST_F() [all...] |
/base/notification/common_event_service/services/include/ |
H A D | common_event_manager_service.h | 45 int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo, 59 bool PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|
/base/notification/common_event_service/test/fuzztest/commonevent_fuzzer/ |
H A D | commonevent_fuzzer.cpp | 46 // test PublishCommonEvent function
in DoSomethingInterestingWithMyAPI() 81 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber);
in DoSomethingInterestingWithMyAPI() 82 // test PublishCommonEvent and four paramter
in DoSomethingInterestingWithMyAPI() 83 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber, code, code);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/ |
H A D | commoneventmanagerservice_fuzzer.cpp | 54 service->PublishCommonEvent(commonEventData, commonEventPublishInfo, commonEventListener, code); in DoSomethingInterestingWithMyAPI() 55 service->PublishCommonEvent( in DoSomethingInterestingWithMyAPI()
|
/base/telephony/call_manager/services/call_voice_assistant/src/ |
H A D | call_voice_assistant_manager.cpp | 144 PublishCommonEvent(false, std::string("connect_voice_assistant_ability_failed"));
in ConnectAbility() 160 void CallVoiceAssistantManager::PublishCommonEvent(bool isConnect, std::string publisher)
in PublishCommonEvent() function in OHOS::Telephony::CallVoiceAssistantManager 183 EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo, nullptr);
in PublishCommonEvent() 215 PublishCommonEvent(false, std::string("on_stop_service"));
in OnStopService() 333 this->PublishCommonEvent(isConnectService, std::string("stop_broadcast_event"));
in MuteRinger() 373 PublishCommonEvent(isConnectService, std::string("remote_object_send_request"));
in SendRequest() 434 voicePtr->PublishCommonEvent(false, std::string("control_switch_state_on_change"));
in OnChange() 543 PublishCommonEvent(false, std::string("call_status_active"));
in CallStatusActive()
|
/base/notification/common_event_service/tools/test/mock/ |
H A D | mock_common_event_stub.h | 43 int32_t PublishCommonEvent(const CommonEventData &event, const CommonEventPublishInfo &publishinfo,
|