Home
last modified time | relevance | path

Searched refs:sticky (Results 1 - 19 of 19) sorted by relevance

/base/notification/common_event_service/test/systemtest/common/acts/actsCESCESpublishInfoTest/
H A DactsCESCESpublishInfoTest.cpp85 bool sticky = false; in HWTEST_F() local
91 publishInfo.SetSticky(sticky); in HWTEST_F()
118 bool sticky = true; in HWTEST_F() local
124 publishInfo.SetSticky(sticky); in HWTEST_F()
150 bool sticky = false; in HWTEST_F() local
156 publishInfo.SetSticky(sticky); in HWTEST_F()
182 bool sticky = true; in HWTEST_F() local
188 publishInfo.SetSticky(sticky); in HWTEST_F()
244 bool sticky = true; in HWTEST_F() local
250 publishInfo.SetSticky(sticky); in HWTEST_F()
280 bool sticky = false; HWTEST_F() local
316 bool sticky = false; HWTEST_F() local
352 bool sticky = true; HWTEST_F() local
394 bool sticky = true; HWTEST_F() local
987 bool sticky = true; HWTEST_F() local
1021 bool sticky = false; HWTEST_F() local
1055 bool sticky = false; HWTEST_F() local
1089 bool sticky = true; HWTEST_F() local
[all...]
/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event_listener.cpp35 void CommonEventListener::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
47 std::function<void()> onReceiveEventFunc = [wp, commonEventData, ordered, sticky] () { in NotifyEvent()
53 sThis->OnReceiveEvent(commonEventData, ordered, sticky); in NotifyEvent()
129 const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in OnReceiveEvent()
138 std::make_shared<AsyncCommonEventResult>(code, data, ordered, sticky, this); in OnReceiveEvent()
128 OnReceiveEvent( const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) OnReceiveEvent() argument
H A Devent_receive_stub.cpp44 bool sticky = data.ReadBool(); in OnRemoteRequest() local
49 NotifyEvent(*eventData, ordered, sticky); in OnRemoteRequest()
H A Devent_receive_proxy.cpp31 void EventReceiveProxy::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
60 if (!data.WriteBool(sticky)) { in NotifyEvent()
/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dmatching_skills_test.cpp401 bool sticky = true; in HWTEST_F() local
403 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); in HWTEST_F()
419 bool sticky = true; in HWTEST_F() local
421 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); in HWTEST_F()
439 bool sticky = true; in HWTEST_F() local
441 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); in HWTEST_F()
459 bool sticky = true; in HWTEST_F() local
461 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token); in HWTEST_F()
480 bool sticky = true; in HWTEST_F() local
482 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, toke in HWTEST_F()
499 bool sticky = true; HWTEST_F() local
518 bool sticky = true; HWTEST_F() local
[all...]
H A Dcommon_event_subscribe_test.cpp88 virtual void NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
/base/notification/common_event_service/frameworks/core/include/
H A Dcommon_event_listener.h46 * @param sticky Indicates whether it is a sticky common event.
48 void NotifyEvent(const CommonEventData &data, const bool &ordered, const bool &sticky) override;
65 void OnReceiveEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky);
H A Dievent_receive.h33 * @param sticky Indicates whether it is a sticky common event.
36 virtual void NotifyEvent(const CommonEventData &data, const bool &ordered, const bool &sticky) = 0;
H A Devent_receive_proxy.h42 * @param sticky Indicates whether it is a sticky common event.
45 virtual void NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) override;
/base/notification/common_event_service/frameworks/native/src/
H A Dasync_common_event_result.cpp24 const bool &ordered, const bool &sticky, const wptr<IRemoteObject> &token) in AsyncCommonEventResult()
30 sticky_ = sticky; in AsyncCommonEventResult()
23 AsyncCommonEventResult(const int32_t &resultCode, const std::string &resultData, const bool &ordered, const bool &sticky, const wptr<IRemoteObject> &token) AsyncCommonEventResult() argument
H A Dcommon_event_publish_info.cpp46 void CommonEventPublishInfo::SetSticky(bool sticky) in SetSticky() argument
48 sticky_ = sticky; in SetSticky()
137 // write sticky in Marshalling()
139 EVENT_LOGE("common event Publish Info write sticky failed"); in Marshalling()
189 // read sticky in ReadFromParcel()
/base/notification/common_event_service/services/include/
H A Dhistory_event_record.h54 bool sticky; member
76 sticky(false), in HistoryEventRecord()
/base/notification/common_event_service/interfaces/inner_api/
H A Dasync_common_event_result.h31 * @param sticky Indicates the type of the current sticky common event is sticky or not.
35 const bool &sticky, const wptr<IRemoteObject> &token);
114 * Checks whether the current common event is a sticky common event.
116 * @return Returns true if the current common event is a sticky common event; false otherwise.
H A Dcommon_event_publish_info.h44 * Sets whether the type of a common event is sticky or not.
46 * @param sticky Indicates the type of a common event is sticky or not
48 void SetSticky(bool sticky);
51 * Obtains whether it is a sticky common event, which can be set
54 * @return Returns the common event is sticky or not.
/base/notification/common_event_service/frameworks/core/test/unittest/
H A Devent_receive_stub_test.cpp45 void NotifyEvent(const CommonEventData &data, const bool &ordered, const bool &sticky) override
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_control_manager_test.cpp65 bool sticky = commonEventControlManager.PublishStickyCommonEvent(eventRecord, subscriberRecord); in HWTEST_F() local
66 EXPECT_EQ(false, sticky); in HWTEST_F()
80 bool sticky = commonEventControlManager.NotifyUnorderedEvent(eventRecord); in HWTEST_F() local
81 EXPECT_EQ(false, sticky); in HWTEST_F()
95 bool sticky = commonEventControlManager.EnqueueUnorderedRecord(eventRecordPtr); in HWTEST_F() local
96 EXPECT_EQ(false, sticky); in HWTEST_F()
H A Dcommon_event_subscribe_unit_test.cpp600 virtual void NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp925 * @tc.desc: set sticky and get action, publish common event set sticky to true and verify the action of stickyData
956 * @tc.desc: set sticky and get another action, publish common event set sticky to true and verify the action of
1375 bool sticky = false; in HWTEST_F() local
1382 publishInfo.SetSticky(sticky); in HWTEST_F()
/base/notification/common_event_service/services/src/
H A Dcommon_event_control_manager.cpp442 record.sticky = eventRecordPtr->publishInfo->IsSticky(); in EnqueueHistoryEventRecord()
1150 if (record.sticky) { in DumpHistoryStateByCommonEventRecord()

Completed in 21 milliseconds