Home
last modified time | relevance | path

Searched refs:CommonEventData (Results 1 – 25 of 261) sorted by relevance

1234567891011

/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_data.cpp23 CommonEventData::CommonEventData() : code_(0) in CommonEventData() function in OHOS::EventFwk::CommonEventData
27 CommonEventData::CommonEventData(const Want &want) : want_(want), code_(0) in CommonEventData() function in OHOS::EventFwk::CommonEventData
31 CommonEventData::CommonEventData(const Want &want, const int32_t &code, const std::string &data) in CommonEventData() function in OHOS::EventFwk::CommonEventData
36 CommonEventData::~CommonEventData() in ~CommonEventData()
40 void CommonEventData::SetCode(const int32_t &code) in SetCode()
45 int32_t CommonEventData::GetCode() const in GetCode()
50 void CommonEventData::SetData(const std::string &data) in SetData()
55 std::string CommonEventData::GetData() const in GetData()
60 void CommonEventData::SetWant(const Want &want) in SetWant()
65 const Want &CommonEventData::GetWant() const in GetWant()
[all …]
Dcommon_event_manager.cpp25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent()
31 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, const int32_t &userI… in PublishCommonEventAsUser()
37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
42 int32_t CommonEventManager::NewPublishCommonEvent(const CommonEventData &data, in NewPublishCommonEvent()
48 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, in PublishCommonEventAsUser()
54 int32_t CommonEventManager::NewPublishCommonEventAsUser(const CommonEventData &data, in NewPublishCommonEventAsUser()
60 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
66 bool CommonEventManager::PublishCommonEventAsUser(const CommonEventData &data, in PublishCommonEventAsUser()
73 int32_t CommonEventManager::NewPublishCommonEventAsUser(const CommonEventData &data, in NewPublishCommonEventAsUser()
81 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_common_event_data.cpp20 CommonEventData::CommonEventData() in CommonEventData() function in OHOS::EventFwk::CommonEventData
23 CommonEventData::~CommonEventData() in ~CommonEventData()
26 void CommonEventData::SetWant(const Want &want) in SetWant()
31 bool CommonEventData::Marshalling(Parcel &parcel) const in Marshalling()
Dmock_common_event_manager.cpp25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent()
33 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
38 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
56 bool CommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &commonEven… in GetStickyCommonEvent()
/base/notification/common_event_service/interfaces/inner_api/
Dcommon_event_manager.h33 static bool PublishCommonEvent(const CommonEventData &data);
42 static bool PublishCommonEventAsUser(const CommonEventData &data, const int32_t &userId);
51 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
60 …static int32_t NewPublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &pu…
70 …static bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &pu…
81 …static int32_t NewPublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishIn…
92 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
104 …static bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &pu…
116 …static int32_t NewPublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishIn…
129 …static bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishI…
[all …]
Dcommon_event_data.h26 class CommonEventData : public Parcelable {
28 CommonEventData();
36 explicit CommonEventData(const Want &want);
46 CommonEventData(const Want &want, const int32_t &code, const std::string &data);
48 ~CommonEventData();
104 static CommonEventData *Unmarshalling(Parcel &parcel);
/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 &…
38 MOCK_METHOD(bool, GetStickyCommonEvent, (const std::string &event, CommonEventData &data));
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_common_event_subscriber.h27 using CommonEventData = OHOS::EventFwk::CommonEventData; variable
33 …monEventSubscribeInfo &subscribeInfo, const std::function<void(const CommonEventData &)> &callback…
36 void OnReceiveEvent(const CommonEventData &data) override;
39 std::function<void(const EventFwk::CommonEventData &)> callback_;
/base/time/time_service/services/time/include/
Dnitz_subscriber.h36 virtual void OnReceiveEvent(const CommonEventData &data);
44 using broadcastSubscriberFunc = void (NITZSubscriber::*)(const CommonEventData &data);
46 void UnknownBroadcast(const CommonEventData &data);
47 void NITZTimeChangeBroadcast(const CommonEventData &data);
48 void NITZTimezoneChangeBroadcast(const CommonEventData &data);
Dpower_subscriber.h36 virtual void OnReceiveEvent(const CommonEventData &data);
43 using broadcastSubscriberFunc = void (PowerSubscriber::*)(const CommonEventData &data);
45 void UnknownBroadcast(const CommonEventData &data);
46 void PowerBroadcast(const CommonEventData &data);
/base/telephony/call_manager/services/call/include/
Dcall_broadcast_subscriber.h33 virtual void OnReceiveEvent(const EventFwk::CommonEventData &data);
40 …broadcastSubscriberFunc = void (CallBroadcastSubscriber::*)(const EventFwk::CommonEventData &data);
42 void UnknownBroadcast(const EventFwk::CommonEventData &data);
43 void SimStateBroadcast(const EventFwk::CommonEventData &data);
/base/location/test/location_locator/mock/src/
Dmock_common_event_manager.cpp20 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data) in PublishCommonEvent()
25 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, in PublishCommonEvent()
31 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, in PublishCommonEvent()
37 bool CommonEventManager::PublishCommonEvent(const CommonEventData &data, const CommonEventPublishIn… in PublishCommonEvent()
53 bool CommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &data) in GetStickyCommonEvent()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_sticky_test.cpp73 virtual void OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
106 CommonEventData data;
122 CommonEventData Stickydata;
143 CommonEventData data;
162 CommonEventData data2;
170 CommonEventData Stickydata;
191 CommonEventData data;
205 CommonEventData Stickydata;
223 CommonEventData data;
237 CommonEventData Stickydata;
[all …]
Dcommon_event_manager_service_test.cpp49 virtual void OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
100 CommonEventData event; in HWTEST_F()
118 CommonEventData event; in HWTEST_F()
135 CommonEventData event; in HWTEST_F()
152 CommonEventData event; in HWTEST_F()
172 CommonEventData event; in HWTEST_F()
192 CommonEventData event; in HWTEST_F()
227 CommonEventData eventData; in HWTEST_F()
Dcommon_event_publish_permission_event_unit_test.cpp67 virtual void OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
79 virtual void OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
126 CommonEventData data;
168 CommonEventData data;
211 CommonEventData data;
254 CommonEventData data;
296 std::shared_ptr<CommonEventData> spCommonEventData = std::make_shared<CommonEventData>();
337 std::shared_ptr<CommonEventData> spCommonEventData = std::make_shared<CommonEventData>();
378 std::shared_ptr<CommonEventData> spCommonEventData = std::make_shared<CommonEventData>();
417 std::shared_ptr<CommonEventData> spCommonEventData = std::make_shared<CommonEventData>();
[all …]
/base/powermgr/thermal_manager/services/native/include/thermal_observer/
Dthermal_common_event_receiver.h30 using EventHandle = std::function<void(const OHOS::EventFwk::CommonEventData &data)>;
48 void OnReceiveEvent(const EventFwk::CommonEventData &data) override in OnReceiveEvent()
54 void HandleEvent(const OHOS::EventFwk::CommonEventData &data);
62 void HandleEventChanged(const OHOS::EventFwk::CommonEventData &data) const;
63 void HandleBatteryChargerCompleted(const OHOS::EventFwk::CommonEventData &data) const;
/base/inputmethod/imf/services/include/
Dim_common_event_manager.h49 void OnReceiveEvent(const EventFwk::CommonEventData &data);
50 void RemovePackage(const EventFwk::CommonEventData &data);
51 void StartUser(const EventFwk::CommonEventData &data);
52 void RemoveUser(const EventFwk::CommonEventData &data);
55 using EventListenerFunc = void (EventSubscriber::*)(const EventFwk::CommonEventData &data);
/base/notification/common_event_service/frameworks/core/include/
Dcommon_event.h38 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
50 …int32_t PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publis…
63 bool PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
77 …bool PublishCommonEventAsUser(const CommonEventData &data, const CommonEventPublishInfo &publishIn…
104 bool GetStickyCommonEvent(const std::string &event, CommonEventData &eventData);
200 … bool PublishParameterCheck(const CommonEventData &data, const CommonEventPublishInfo &publishInfo,
/base/notification/distributed_notification_service/services/ans/include/
Dsystem_event_subscriber.h34 const std::function<void(const EventFwk::CommonEventData &)> &callback) in SystemEventSubscriber()
49 void OnReceiveEvent(const EventFwk::CommonEventData &data) override in OnReceiveEvent()
57 std::function<void(const EventFwk::CommonEventData &)> callback_;
/base/time/time_service/services/time/src/
Dnitz_subscriber.cpp32 void NITZSubscriber::OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
54 void NITZSubscriber::UnknownBroadcast(const CommonEventData &data) in UnknownBroadcast()
59 void NITZSubscriber::NITZTimeChangeBroadcast(const CommonEventData &data) in NITZTimeChangeBroadcast()
65 void NITZSubscriber::NITZTimezoneChangeBroadcast(const CommonEventData &data) in NITZTimezoneChangeBroadcast()
/base/notification/common_event_service/frameworks/core/test/unittest/
Dcommon_event_proxy_test.cpp50 virtual void OnReceiveEvent(const CommonEventData &data) in OnReceiveEvent()
139 CommonEventData event;
140 CommonEventData data;
167 CommonEventData event;
168 CommonEventData data;
192 CommonEventData event;
193 CommonEventData data;
220 CommonEventData event;
221 CommonEventData data;
248 CommonEventData event;
[all …]
/base/theme/wallpaper_mgr/services/include/
Dwallpaper_common_event_subscriber.h27 using CommonEventData = OHOS::EventFwk::CommonEventData; variable
39 void OnReceiveEvent(const OHOS::EventFwk::CommonEventData &data) override;
/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/
Dcommon_event_control_manager_branch_test.cpp91 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
113 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
135 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
159 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
184 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
203 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
228 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
253 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
275 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
299 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); in HWTEST_F()
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dsystem_event_observer_test.cpp66 EventFwk::CommonEventData data;
80 EventFwk::CommonEventData data;
93 EventFwk::CommonEventData data;
106 EventFwk::CommonEventData data;
120 EventFwk::CommonEventData data;
134 EventFwk::CommonEventData data;
/base/telephony/call_manager/services/call/src/
Dcall_broadcast_subscriber.cpp33 void CallBroadcastSubscriber::OnReceiveEvent(const EventFwk::CommonEventData &data) in OnReceiveEvent()
53 void CallBroadcastSubscriber::UnknownBroadcast(const EventFwk::CommonEventData &data) in UnknownBroadcast()
58 void CallBroadcastSubscriber::SimStateBroadcast(const EventFwk::CommonEventData &data) in SimStateBroadcast()

1234567891011