/base/notification/ces_standard/frameworks/core/src/ |
D | common_event_listener.cpp | 30 void CommonEventListener::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, … in NotifyEvent() argument 41 std::bind(&CommonEventListener::OnReceiveEvent, this, commonEventData, ordered, sticky); in NotifyEvent() 93 const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in OnReceiveEvent() argument 95 EVENT_LOGI("enter %{public}s", commonEventData.GetWant().GetAction().c_str()); in OnReceiveEvent() 99 int code = commonEventData.GetCode(); in OnReceiveEvent() 100 std::string data = commonEventData.GetData(); in OnReceiveEvent() 115 commonEventSubscriber_->OnReceiveEvent(commonEventData); in OnReceiveEvent()
|
D | event_receive_proxy.cpp | 31 void EventReceiveProxy::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, co… in NotifyEvent() argument 50 if (!data.WriteParcelable(&commonEventData)) { in NotifyEvent()
|
/base/notification/ces_standard/services/ces/src/ |
D | common_event_sticky_manager.cpp | 67 std::string event = commonEventRecordPtr->commonEventData->GetWant().GetAction(); in UpdateStickyEvent() 137 std::string action = "\t\tAction: " + record->commonEventData->GetWant().GetAction() + "\n"; in DumpState() 141 for (auto entitiesVec : record->commonEventData->GetWant().GetEntities()) { in DumpState() 152 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpState() 153 std::string uri = "\t\tUri: " + record->commonEventData->GetWant().GetUriString() + "\n"; in DumpState() 154 …std::string flags = "\t\tFlags: " + std::to_string(record->commonEventData->GetWant().GetFlags()) … in DumpState() 155 std::string type = "\t\tType: " + record->commonEventData->GetWant().GetType() + "\n"; in DumpState() 156 … std::string bundle = "\t\tBundleName: " + record->commonEventData->GetWant().GetBundle() + "\n"; in DumpState() 158 … "\t\tAbilityName: " + record->commonEventData->GetWant().GetElement().GetAbilityName() + "\n"; in DumpState() 159 …std::string deviced = "\t\tDevicedID: " + record->commonEventData->GetWant().GetElement().GetDevic… in DumpState() [all …]
|
D | common_event_control_manager.cpp | 116 eventRecord.commonEventData->GetWant().GetAction().c_str(), in NotifyFreezeEvents() 119 …commonEventListenerProxy->NotifyEvent(*(eventRecord.commonEventData), false, eventRecord.publishIn… in NotifyFreezeEvents() 145 eventRecord->commonEventData->GetWant().GetAction().c_str(), eventRecord->receivers.size()); in NotifyUnorderedEvent() 164 *(eventRecord->commonEventData), false, eventRecord->publishInfo->IsSticky()); in NotifyUnorderedEvent() 328 record.want = eventRecordPtr->commonEventData->GetWant(); in EnqueueHistoryEventRecord() 329 record.code = eventRecordPtr->commonEventData->GetCode(); in EnqueueHistoryEventRecord() 330 record.data = eventRecordPtr->commonEventData->GetData(); in EnqueueHistoryEventRecord() 427 eventRecordPtr->commonEventData->GetWant().GetAction().c_str()); in NotifyOrderedEvent() 428 …receiver->NotifyEvent(*(eventRecordPtr->commonEventData), true, eventRecordPtr->publishInfo->IsSti… in NotifyOrderedEvent() 478 receiver->NotifyEvent(*(sp->commonEventData), true, sp->publishInfo->IsSticky()); in ProcessNextOrderedEvent() [all …]
|
D | inner_common_event_manager.cpp | 83 eventRecord.commonEventData = std::make_shared<CommonEventData>(data); in PublishCommonEvent() 109 eventRecord.commonEventData->GetWant().GetAction(), mappedSupport)) { in PublishCommonEvent() 110 Want want = eventRecord.commonEventData->GetWant(); in PublishCommonEvent() 113 mappedEventRecord.commonEventData->SetWant(want); in PublishCommonEvent() 236 int code = sp->commonEventData->GetCode(); in UnsubscribeCommonEvent() 237 std::string data = sp->commonEventData->GetData(); in UnsubscribeCommonEvent() 391 commonEventRecord->commonEventData->GetWant().GetAction().c_str()); in PublishStickyEvent()
|
/base/notification/ces_standard/frameworks/native/src/ |
D | common_event_data.cpp | 136 CommonEventData *commonEventData = new CommonEventData(); in Unmarshalling() local 138 if (commonEventData && !commonEventData->ReadFromParcel(parcel)) { in Unmarshalling() 139 delete commonEventData; in Unmarshalling() 140 commonEventData = nullptr; in Unmarshalling() 143 return commonEventData; in Unmarshalling()
|
D | common_event_manager.cpp | 88 …ommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &commonEventData) in GetStickyCommonEvent() argument 90 … return DelayedSingleton<CommonEvent>::GetInstance()->GetStickyCommonEvent(event, commonEventData); in GetStickyCommonEvent()
|
/base/notification/ces_standard/test/systemtest/common/ces/common_event_services_system_test/ |
D | common_event_services_system_test.cpp | 662 CommonEventData commonEventData(wantTest); 672 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); 701 CommonEventData commonEventData(wantTest); 711 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); 739 CommonEventData commonEventData(wantTest); 749 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); 779 CommonEventData commonEventData(wantTest); 789 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true); 816 CommonEventData commonEventData(wantTest); 829 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData, publishInfo), true); [all …]
|
/base/notification/ces_standard/services/test/unittest/ |
D | common_event_publish_ordered_event_unit_test.cpp | 329 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(eventRef); variable 334 commonEventRecord.commonEventData = commonEventData; 379 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); variable 384 commonEventRecord.commonEventData = commonEventData; 436 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); variable 441 eventRecord->commonEventData = commonEventData; 485 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); variable 490 eventRecord->commonEventData = commonEventData; 509 std::shared_ptr<CommonEventData> commonEventData = std::make_shared<CommonEventData>(); variable 514 eventRecord->commonEventData = commonEventData; [all …]
|
D | common_event_sticky_test.cpp | 347 recordPtr->commonEventData = std::make_shared<CommonEventData>(data); 363 auto action = records.front()->commonEventData->GetWant().GetAction(); 394 eventRecord.commonEventData = dataPtr; 405 auto action = recordPtr->commonEventData->GetWant().GetAction(); 429 recordPtr->commonEventData = std::make_shared<CommonEventData>(data); 431 EXPECT_EQ(recordPtr->commonEventData->GetData(), ""); 456 eventRecord.commonEventData = newDataPtr; 467 auto action = recordPtr->commonEventData->GetWant().GetAction(); 471 auto updatedData = recordPtr->commonEventData->GetData();
|
/base/notification/ces_standard/test/systemtest/common/acts/actsCESManagertest/ |
D | actsCESManagertest.cpp | 1018 CommonEventData commonEventData(wantTest); 1022 if (!CommonEventManager::PublishCommonEvent(commonEventData)) { 1056 CommonEventData commonEventData(wantTest); 1060 if (!CommonEventManager::PublishCommonEvent(commonEventData)) { 1093 CommonEventData commonEventData(wantTest); 1097 if (!CommonEventManager::PublishCommonEvent(commonEventData)) { 1132 CommonEventData commonEventData(wantTest); 1136 if (!CommonEventManager::PublishCommonEvent(commonEventData)) { 1169 CommonEventData commonEventData(wantTest); 1175 if (!CommonEventManager::PublishCommonEvent(commonEventData, publishInfo)) { [all …]
|
/base/notification/ces_standard/services/ces/include/ |
D | common_event_record.h | 26 std::shared_ptr<CommonEventData> commonEventData; member 39 : commonEventData(nullptr), in CommonEventRecord()
|
D | ordered_event_record.h | 64 commonEventData = commonEventRecord.commonEventData; in FillCommonEventRecord()
|
/base/notification/ces_standard/services/test/moduletest/common_event_services_module_test/ |
D | common_event_services_module_test.cpp | 476 CommonEventData commonEventData(testWant); 485 commonEventData, publishInfo, commonEventListener, UNDEFINED_USER); 509 CommonEventData commonEventData(testWant); 518 commonEventData, publishInfo, commonEventListener, UNDEFINED_USER); 624 CommonEventData commonEventData(testWant); 632 result = CommonEventManager::PublishCommonEvent(commonEventData, publishInfo); 671 CommonEventData commonEventData(testWant); 679 commonEventData, publishInfo, commonEventListener, UNDEFINED_USER); 718 CommonEventData commonEventData(testWant); 727 (CommonEventManager::PublishCommonEvent(commonEventData, publishInfo))) { [all …]
|
/base/accessibility/services/aams/test/mock/ |
D | common_event_data_mock.cpp | 78 CommonEventData *commonEventData = new CommonEventData(); in Unmarshalling() local 80 return commonEventData; in Unmarshalling()
|
D | common_event_manager_mock.cpp | 63 …ommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &commonEventData) in GetStickyCommonEvent() argument
|
/base/accessibility/services/test/mock/ |
D | common_event_data_mock.cpp | 78 CommonEventData *commonEventData = new CommonEventData(); in Unmarshalling() local 80 return commonEventData; in Unmarshalling()
|
D | common_event_manager_mock.cpp | 63 …ommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &commonEventData) in GetStickyCommonEvent() argument
|
/base/notification/ces_standard/tools/cem/src/ |
D | common_event_command.cpp | 289 CommonEventData commonEventData; in RunAsPublishCommand() local 290 commonEventData.SetWant(want); in RunAsPublishCommand() 293 commonEventData.SetCode(code); in RunAsPublishCommand() 296 commonEventData.SetData(data); in RunAsPublishCommand() 306 commonEventData, publishInfo, subscriber, userId); in RunAsPublishCommand()
|
/base/notification/ces_standard/frameworks/core/include/ |
D | ievent_receive.h | 36 …virtual void NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &…
|
D | event_receive_proxy.h | 29 …virtual void NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &…
|
D | common_event_listener.h | 45 …void OnReceiveEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &stick…
|
/base/notification/ces_standard/test/systemtest/common/ces/ces_check_service/ |
D | ces_check_service.cpp | 116 CommonEventData commonEventData(wantTest); 122 EXPECT_EQ(CommonEventManager::PublishCommonEvent(commonEventData), true);
|
/base/notification/ans_standard/frameworks/ans/test/moduletest/mock/ |
D | mock_common_event_manager.cpp | 56 …ommonEventManager::GetStickyCommonEvent(const std::string &event, CommonEventData &commonEventData) in GetStickyCommonEvent() argument
|
/base/notification/ces_standard/tools/test/systemtest/cem/ |
D | common_event_command_publish_system_test.cpp | 94 void OnReceiveEvent(const CommonEventData &commonEventData) in OnReceiveEvent() argument 101 int code = commonEventData.GetCode(); in OnReceiveEvent() 104 std::string data = commonEventData.GetData(); in OnReceiveEvent()
|