/base/notification/common_event_service/test/systemtest/common/acts/actsCESCESpublishInfoTest/ |
H A D | actsCESCESpublishInfoTest.cpp | 85 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 D | common_event_listener.cpp | 35 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 D | event_receive_stub.cpp | 44 bool sticky = data.ReadBool(); in OnRemoteRequest() local 49 NotifyEvent(*eventData, ordered, sticky); in OnRemoteRequest()
|
H A D | event_receive_proxy.cpp | 31 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 D | matching_skills_test.cpp | 401 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 D | common_event_subscribe_test.cpp | 88 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 D | common_event_listener.h | 46 * @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 D | ievent_receive.h | 33 * @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 D | event_receive_proxy.h | 42 * @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 D | async_common_event_result.cpp | 24 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 D | common_event_publish_info.cpp | 46 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 D | history_event_record.h | 54 bool sticky; member 76 sticky(false), in HistoryEventRecord()
|
/base/notification/common_event_service/interfaces/inner_api/ |
H A D | async_common_event_result.h | 31 * @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 D | common_event_publish_info.h | 44 * 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 D | event_receive_stub_test.cpp | 45 void NotifyEvent(const CommonEventData &data, const bool &ordered, const bool &sticky) override
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_control_manager_test.cpp | 65 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 D | common_event_subscribe_unit_test.cpp | 600 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 D | common_event_services_module_test.cpp | 925 * @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 D | common_event_control_manager.cpp | 442 record.sticky = eventRecordPtr->publishInfo->IsSticky(); in EnqueueHistoryEventRecord() 1150 if (record.sticky) { in DumpHistoryStateByCommonEventRecord()
|