/base/telephony/cellular_call/test/fuzztest/getcscalldata_fuzzer/ |
D | getcscalldata_fuzzer.cpp | 45 …d GetCsCallData(std::shared_ptr<CellularCallHandler> handle, AppExecFwk::InnerEvent::Pointer event, in GetCsCallData() argument 60 handle->GetCsCallData(event); in GetCsCallData() 61 handle->GetImsCallData(event); in GetCsCallData() 62 handle->ImsCallStatusInfoReport(event); in GetCsCallData() 64 handle->GetCsCallsDataResponse(event); in GetCsCallData() 65 handle->GetImsCallsDataResponse(event); in GetCsCallData() 66 handle->DialResponse(event); in GetCsCallData() 67 handle->SendDtmfResponse(event); in GetCsCallData() 68 handle->StartDtmfResponse(event); in GetCsCallData() 69 handle->SimStateChangeReport(event); in GetCsCallData() [all …]
|
/base/telephony/cellular_call/services/manager/include/ |
D | cellular_call_handler.h | 56 void ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event) override; 80 void SimStateChangeReport(const AppExecFwk::InnerEvent::Pointer &event); 82 void SimRecordsLoadedReport(const AppExecFwk::InnerEvent::Pointer &event); 84 void DialResponse(const AppExecFwk::InnerEvent::Pointer &event); 86 …void CommonResultEventHandling(const AppExecFwk::InnerEvent::Pointer &event, CellularCallEventInfo… 88 void CommonResultResponse(const AppExecFwk::InnerEvent::Pointer &event); 90 void ExecutePostDial(const AppExecFwk::InnerEvent::Pointer &event); 92 void SendDtmfResponse(const AppExecFwk::InnerEvent::Pointer &event); 94 void StartDtmfResponse(const AppExecFwk::InnerEvent::Pointer &event); 96 void StopDtmfResponse(const AppExecFwk::InnerEvent::Pointer &event); [all …]
|
/base/notification/common_event_service/ |
D | README_zh.md | 49 公共事件的由string类型的event和CommonEventPublishData类型的options两部分组成,event表示公共事件的名称,options表示公共事件的属性信息。 63 #### CommonEvent.publish(event: string, callback: AsyncCallback<void>) 73 | event | 只读 | string | 是 | 表示要发布的公共事件的名称 | 92 #### CommonEvent.publish(event: string, options: CommonEventPublishData, callback: AsyncCallback<vo… 102 | event | 只读 | string | 是 | 表示要发布的公共事件的名称 | 197 events: ["event"] 240 events: ["event"] 267 | event | 只读 | string | 是 | 表示当前接收的公共事件名称 | 286 events: ["event"] 312 events: ["event"] [all …]
|
/base/security/device_security_level/services/dslm/ |
D | dslm_hievent.c | 44 SecurityInfoSyncEvent event; in ReportHiEventInfoSync() local 45 (void)memset_s(&event, sizeof(SecurityInfoSyncEvent), 0, sizeof(SecurityInfoSyncEvent)); in ReportHiEventInfoSync() 48 event.costTime = (int32_t)(info->lastResponseTime - info->lastRequestTime); in ReportHiEventInfoSync() 51 event.retCode = (int32_t)info->result; in ReportHiEventInfoSync() 52 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventInfoSync() 53 event.localVersion = GetCurrentVersion(); in ReportHiEventInfoSync() 54 event.targetVersion = info->version; in ReportHiEventInfoSync() 55 …if (memcpy_s(event.targetModel, MODEL_MAX_LEN, info->credInfo.model, CRED_INFO_MODEL_LEN) != EOK) { in ReportHiEventInfoSync() 56 (void)memset_s(event.targetModel, MODEL_MAX_LEN, 0, MODEL_MAX_LEN); in ReportHiEventInfoSync() 59 event.credType = info->credInfo.credType; in ReportHiEventInfoSync() [all …]
|
/base/msdp/device_status/services/interaction/coordination/src/ |
D | coordination.cpp | 44 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in ActivateCoordination() local 45 CHKPR(event, RET_ERR); in ActivateCoordination() 46 event->type = CoordinationEventManager::EventType::START; in ActivateCoordination() 47 event->sess = sess; in ActivateCoordination() 48 event->msgId = MessageId::COORDINATION_MESSAGE; in ActivateCoordination() 49 event->userData = userData; in ActivateCoordination() 50 COOR_EVENT_MGR->AddCoordinationEvent(event); in ActivateCoordination() 54 COOR_EVENT_MGR->OnErrorMessage(event->type, static_cast<CoordinationMessage>(ret)); in ActivateCoordination() 61 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in DeactivateCoordination() local 62 CHKPR(event, RET_ERR); in DeactivateCoordination() [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/ |
D | event_logger_plugin_test.cpp | 71 std::shared_ptr<Event> event = nullptr; variable 72 ASSERT_EQ(eventLogger.IsInterestedPipelineEvent(event), false); 86 std::shared_ptr<Event> event = std::make_shared<Event>("Eventlogger002"); variable 87 event->eventId_ = eventMaxId; 88 ASSERT_EQ(eventLogger.IsInterestedPipelineEvent(event), false); 101 std::shared_ptr<Event> event = std::make_shared<Event>("Eventlogger003"); variable 102 event->eventId_ = 0; 103 event->domain_ = "FRAMEWORK"; 104 event->eventName_ = "SERVICE_BLOCK2"; 105 ASSERT_EQ(eventLogger.IsInterestedPipelineEvent(event), false); [all …]
|
/base/security/device_security_level/services/dfx/ |
D | dslm_bigdata.cpp | 53 void ReportAppInvokeEvent(const AppInvokeEvent *event) in ReportAppInvokeEvent() argument 55 if (event == nullptr) { in ReportAppInvokeEvent() 60 …::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_USER_ID, event->uid, STR_COST_TIME, event->cost… in ReportAppInvokeEvent() 61 …STR_RET_CODE, event->retCode, STR_SEC_LEVEL, event->secLevel, STR_RET_MODE, event->retMode, STR_LO… in ReportAppInvokeEvent() 62 event->localModel, STR_TARGET_MODEL, event->targetModel, STR_PKG_NAME, event->pkgName); in ReportAppInvokeEvent() 65 void ReportSecurityInfoSyncEvent(const SecurityInfoSyncEvent *event) in ReportSecurityInfoSyncEvent() argument 67 if (event == nullptr) { in ReportSecurityInfoSyncEvent() 72 …OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_LOCAL_MODEL, event->localModel, STR_TARGET_… in ReportSecurityInfoSyncEvent() 73 …event->targetModel, STR_LOCAL_VERSION, event->localVersion, STR_TARGET_VERSION, event->targetVersi… in ReportSecurityInfoSyncEvent() 74 …STR_CRED_TYPE, event->credType, STR_RET_CODE, event->retCode, STR_COST_TIME, event->costTime, STR_… in ReportSecurityInfoSyncEvent() [all …]
|
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example1/ |
D | event_processor_example1.cpp | 37 bool EventProcessorExample1::CanProcessEvent(std::shared_ptr<Event> event) in CanProcessEvent() argument 40 if (event == nullptr) { in CanProcessEvent() 44 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent() 45 event->eventId_ == EventSourceExample::PIPELINE_EVENT_ID_AAA) { in CanProcessEvent() 49 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent() 50 event->eventName_ == "testbb") { in CanProcessEvent() 54 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent() 55 event->eventName_ == "testcc") { in CanProcessEvent() 63 bool EventProcessorExample1::OnEvent(std::shared_ptr<Event>& event) in OnEvent() argument 67 … GetHiviewContext()->SetHiviewProperty("EPE1_OnEvent", "received : " + event->eventName_, true); in OnEvent() [all …]
|
/base/telephony/core_service/services/sim/include/ |
D | sim_file.h | 35 void ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event); 37 bool ProcessIccReady(const AppExecFwk::InnerEvent::Pointer &event); 54 bool ProcessIccLocked(const AppExecFwk::InnerEvent::Pointer &event); 76 using FileProcessFunc = bool (SimFile::*)(const AppExecFwk::InnerEvent::Pointer &event); 79 void ObtainSpnPhase(bool start, const AppExecFwk::InnerEvent::Pointer &event); 86 void ProcessSpnGeneral(const AppExecFwk::InnerEvent::Pointer &event); 87 void ProcessSpnCphs(const AppExecFwk::InnerEvent::Pointer &event); 88 void ProcessSpnShortCphs(const AppExecFwk::InnerEvent::Pointer &event); 89 bool ProcessGetAdDone(const AppExecFwk::InnerEvent::Pointer &event); 90 bool ProcessVoiceMailCphs(const AppExecFwk::InnerEvent::Pointer &event); [all …]
|
/base/telephony/core_service/services/tel_ril/test/ |
D | tel_ril_test.cpp | 242 auto event = AppExecFwk::InnerEvent::Get(RadioEvent::RADIO_CURRENT_CALLS); in OnRequestCallGetCurrentCallsStatusTest() local 243 if (event != nullptr && telRilManager_ != nullptr) { in OnRequestCallGetCurrentCallsStatusTest() 244 event->SetOwner(handler); in OnRequestCallGetCurrentCallsStatusTest() 246 telRilManager_->GetCallList(slotId, event); in OnRequestCallGetCurrentCallsStatusTest() 253 auto event = AppExecFwk::InnerEvent::Get(RadioEvent::RADIO_SIM_GET_STATUS); in OnRequestSimGetSimStatusTest() local 254 if (event != nullptr && telRilManager_ != nullptr) { in OnRequestSimGetSimStatusTest() 255 event->SetOwner(handler); in OnRequestSimGetSimStatusTest() 257 telRilManager_->GetSimStatus(slotId, event); in OnRequestSimGetSimStatusTest() 264 auto event = AppExecFwk::InnerEvent::Get(RadioEvent::RADIO_SIM_IO); in OnRequestSimIccIoTest() local 265 if (event != nullptr && telRilManager_ != nullptr) { in OnRequestSimIccIoTest() [all …]
|
/base/notification/eventhandler/test/systemtest/ems_inner_event_system_test/ |
D | ems_inner_event_system_test.cpp | 44 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo1() local 45 auto getName = event->GetTaskName(); in TestTaskInfo1() 48 (event->GetTaskCallback())(); in TestTaskInfo1() 58 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo2() local 59 auto getName = event->GetTaskName(); in TestTaskInfo2() 62 (event->GetTaskCallback())(); in TestTaskInfo2() 72 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo3() local 73 auto getName = event->GetTaskName(); in TestTaskInfo3() 76 (event->GetTaskCallback())(); in TestTaskInfo3() 86 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo4() local [all …]
|
/base/telephony/core_service/test/unittest/tel_ril_gtest/ |
D | tel_ril_test_util.cpp | 300 auto event = AppExecFwk::InnerEvent::Get(eventId); in CallGetCurrentCallsStatusTest() local 301 if (event != nullptr && telRilManager_ != nullptr) { in CallGetCurrentCallsStatusTest() 302 event->SetOwner(handler); in CallGetCurrentCallsStatusTest() 304 telRilManager_->GetCallList(slotId, event); in CallGetCurrentCallsStatusTest() 320 auto event = AppExecFwk::InnerEvent::Get(eventId); in SimGetSimStatusTest() local 321 if (event != nullptr && telRilManager_ != nullptr) { in SimGetSimStatusTest() 322 event->SetOwner(handler); in SimGetSimStatusTest() 324 telRilManager_->GetSimStatus(slotId, event); in SimGetSimStatusTest() 339 auto event = AppExecFwk::InnerEvent::Get(eventId); in SimIccIoTest() local 340 if (event != nullptr && telRilManager_ != nullptr) { in SimIccIoTest() [all …]
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | event_base_test.cpp | 48 bool TestEventHandler::OnEvent(std::shared_ptr<OHOS::HiviewDFX::Event>& event) in OnEvent() argument 50 if (event == nullptr) { in OnEvent() 56 void TestEventListener::OnUnorderedEvent(const Event& event) in OnUnorderedEvent() argument 58 ASSERT_TRUE(event.messageType_ == Event::MessageType::NONE); in OnUnorderedEvent() 90 std::shared_ptr<Event> event = std::make_shared<Event>(""); variable 91 ASSERT_TRUE(handlerRef.CanProcessEvent(event)); 92 ASSERT_TRUE(handlerRef.IsInterestedPipelineEvent(event)); 105 Event event(""); variable 106 ASSERT_TRUE(event.OnContinue()); 107 ASSERT_TRUE(!event.hasFinish_); [all …]
|
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example4/ |
D | event_processor_example4.cpp | 39 bool EventProcessorExample4::CanProcessEvent(std::shared_ptr<Event> event) in CanProcessEvent() argument 41 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent() 42 event->eventId_ == EventSourceExample::PIPELINE_EVENT_ID_BBB) { in CanProcessEvent() 46 if (event->messageType_ == Event::MessageType::FAULT_EVENT && in CanProcessEvent() 47 event->eventName_ == "testbb") { in CanProcessEvent() 54 bool EventProcessorExample4::OnEvent(std::shared_ptr<Event>& event) in OnEvent() argument 57 … printf("EventProcessorExample4 OnEvent 0 tid:%d sender:%s.\n", gettid(), event->sender_.c_str()); in OnEvent() 58 if (event->eventId_ == EventSourceExample::PIPELINE_EVENT_ID_BBB) { in OnEvent() 62 if (event->eventId_ == EventSourceExample::PIPELINE_EVENT_ID_AAA) { in OnEvent() 64 event->SetValue("Done", GetName()); in OnEvent() [all …]
|
/base/hiviewdfx/hiview/base/event_report/ |
D | hiview_event_report.cpp | 33 auto event = factory->Create(); in ReportPluginLoad() local 34 event->Update(PluginEventSpace::KEY_OF_PLUGIN_NAME, name); in ReportPluginLoad() 35 event->Update(PluginEventSpace::KEY_OF_RESULT, result); in ReportPluginLoad() 36 event->Report(); in ReportPluginLoad() 37 HiLog::Info(LABEL, "report plugin load event=%{public}s", event->ToJsonString().c_str()); in ReportPluginLoad() 43 auto event = factory->Create(); in ReportPluginUnload() local 44 event->Update(PluginEventSpace::KEY_OF_PLUGIN_NAME, name); in ReportPluginUnload() 45 event->Update(PluginEventSpace::KEY_OF_RESULT, result); in ReportPluginUnload() 46 event->Report(); in ReportPluginUnload() 47 HiLog::Info(LABEL, "report plugin unload event=%{public}s", event->ToJsonString().c_str()); in ReportPluginUnload() [all …]
|
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/ |
D | event_source_example.cpp | 93 struct inotify_event *event = nullptr; in OnFileDescriptorEvent() local 106 event = reinterpret_cast<struct inotify_event*>(buffer); in OnFileDescriptorEvent() 107 while ((reinterpret_cast<char *>(event) - buffer) < len) { in OnFileDescriptorEvent() 109 if (it.second != event->wd) { in OnFileDescriptorEvent() 113 if (event->name[event->len - 1] != '\0') { in OnFileDescriptorEvent() 114 event->name[event->len - 1] = '\0'; in OnFileDescriptorEvent() 116 std::string filePath = it.first + "/" + std::string(event->name); in OnFileDescriptorEvent() 131 auto tmpLen = sizeof(struct inotify_event) + event->len; in OnFileDescriptorEvent() 132 event = reinterpret_cast<struct inotify_event*>(offset + tmpLen); in OnFileDescriptorEvent() 173 …auto event = std::make_shared<EventSourceExampleEvent>(file, static_cast<PipelineEventProducer *>(… in CreateAndPublishEvent() local [all …]
|
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/ |
D | freeze_detector_plugin_module_test.cpp | 57 auto event = std::make_shared<SysEvent>("SysEvent", nullptr, extraInfo); in CreateFreezeEvent() local 59 event->normalExtraInfo_ = extraInfo; in CreateFreezeEvent() 61 event->SetEventValue("domain_", domain); in CreateFreezeEvent() 62 event->domain_ = domain; in CreateFreezeEvent() 63 event->SetEventValue("name_", stringid); in CreateFreezeEvent() 64 event->eventName_ = stringid; in CreateFreezeEvent() 65 event->SetEventValue("time_", happenTime); in CreateFreezeEvent() 66 event->happenTime_ = happenTime; in CreateFreezeEvent() 67 return event; in CreateFreezeEvent() 96 auto event = CreateFreezeEvent(json, false, startTime, "APPEXECFWK", "UI_BLOCK_6S"); variable [all …]
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_event_test.cpp | 52 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo() local 53 auto getName = event->GetTaskName(); in TestTaskInfo() 56 (event->GetTaskCallback())(); in TestTaskInfo() 106 auto event = InnerEvent::Get(eventId, eventParam); variable 107 auto id = event->GetInnerEventId(); 108 auto param = event->GetParam(); 127 auto event = InnerEvent::Get(eventId, object, eventParam); variable 128 auto id = event->GetInnerEventId(); 129 auto param = event->GetParam(); 130 auto sharedObject = event->GetSharedObject<uint32_t>(); [all …]
|
/base/hiviewdfx/hiview/base/ |
D | event_loop.cpp | 160 uint64_t EventLoop::AddEvent(std::shared_ptr<EventHandler> handler, std::shared_ptr<Event> event, c… in AddEvent() argument 167 … if (Audit::IsEnabled() && (event != nullptr) && (handler != nullptr) && (!(event->isPipeline_))) { in AddEvent() 168 …auto digest = event->sender_ + Audit::DOMAIN_DELIMITER + handler->GetHandlerInfo() + Audit::DOMAIN… in AddEvent() 169 GetName() + Audit::DOMAIN_DELIMITER + event->GetEventInfo(); in AddEvent() 170 Audit::WriteAuditEvent(Audit::StatsEvent::QUEUE_EVENT_IN, event->createTime_, digest); in AddEvent() 174 loopEvent.event = std::move(event); in AddEvent() 183 …> EventLoop::AddEventForResult(std::shared_ptr<EventHandler> handler, std::shared_ptr<Event> event) in AddEventForResult() argument 189 if (handler == nullptr || event == nullptr) { in AddEventForResult() 193 … if (Audit::IsEnabled() && (event != nullptr) && (handler != nullptr) && (!(event->isPipeline_))) { in AddEventForResult() 194 …auto digest = event->sender_ + Audit::DOMAIN_DELIMITER + handler->GetHandlerInfo() + Audit::DOMAIN… in AddEventForResult() [all …]
|
/base/hiviewdfx/hievent_lite/frameworks/ |
D | hiview_event.c | 78 HiEvent *event = (HiEvent *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, sizeof(HiEvent)); in HiEventCreate() local 79 if (event == NULL) { in HiEventCreate() 82 event->payload = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, SINGLE_VALUE_MAX_LEN * num); in HiEventCreate() 83 if (event->payload == NULL) { in HiEventCreate() 84 HIVIEW_MemFree(MEM_POOL_HIVIEW_ID, (void *)event); in HiEventCreate() 88 event->common.mark = num; in HiEventCreate() 89 event->common.eventId = eventId; in HiEventCreate() 90 event->common.time = (uint32)(HIVIEW_GetCurrentTime() / MS_PER_SECOND); in HiEventCreate() 91 event->common.len = 0; in HiEventCreate() 92 event->type = type; in HiEventCreate() [all …]
|
/base/telephony/core_service/services/network_search/include/ |
D | network_search_handler.h | 49 void ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event) override; 53 void DcPhysicalLinkActiveUpdate(const AppExecFwk::InnerEvent::Pointer &event); 54 void NotifyStateChange(const AppExecFwk::InnerEvent::Pointer &event); 55 void HandleDelayNotifyEvent(const AppExecFwk::InnerEvent::Pointer &event); 58 void UpdateImsServiceStatus(const AppExecFwk::InnerEvent::Pointer &event); 59 void UpdateImsRegisterState(const AppExecFwk::InnerEvent::Pointer &event); 100 void GetRadioStateResponse(const AppExecFwk::InnerEvent::Pointer &event); 101 void SetRadioStateResponse(const AppExecFwk::InnerEvent::Pointer &event); 103 void ImsiLoadedReady(const AppExecFwk::InnerEvent::Pointer &event); 105 void RadioStateChange(const AppExecFwk::InnerEvent::Pointer &event); [all …]
|
/base/msdp/device_status/rust/subsystem/input/sys/src/ |
D | input_binding.rs | 81 event: *const CPointerEvent 86 pub fn CGetPointerId(event: *const CPointerEvent) -> i32; in CGetPointerId() 87 pub fn CGetPointerAction(event: *const CPointerEvent) -> i32; in CGetPointerAction() 88 pub fn CGetTargetWindowId(event: *const CPointerEvent) -> i32; in CGetTargetWindowId() 89 pub fn CGetSourceType(event: *const CPointerEvent) -> i32; in CGetSourceType() 90 pub fn CGetTargetDisplayId(event: *const CPointerEvent) -> i32; in CGetTargetDisplayId() 91 pub fn CGetDisplayX(event: *const CPointerEvent) -> i32; in CGetDisplayX() 92 pub fn CGetDisplayY(event: *const CPointerEvent) -> i32; in CGetDisplayY() 93 pub fn CPointerEventAddFlag(event: *const CPointerEvent); in CPointerEventAddFlag() 94 pub fn CGetDeviceId(event: *const CPointerEvent) -> i32; in CGetDeviceId() [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/config/ |
D | event_logger_config | 2 event id="" name="UI_BLOCK_6S" action="s,tr,k:SysRqFile,cmd:c,cmd:m" interval="10" 3 event id="" name="UI_BLOCK_3S" action="s,pb:1:r" interval="10" 4 event id="" name="THREAD_BLOCK_6S" action="tr,k:SysRqFile,cmd:c,cmd:m" interval="10" 5 event id="" name="THREAD_BLOCK_3S" action="pb:1:r" interval="10" 6 event id="" name="LIFECYCLE_TIMEOUT" action="tr,k:SysRqFile,cmd:c,cmd:m" interval="10" 7 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="pb:1:r" interval="10" 8 event id="" name="APP_INPUT_BLOCK" action="tr,k:SysRqFile,cmd:c,cmd:m" interval="10" 9 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p,cmd:d" interval="10" 10 event id="" name="NO_FOCUS_WINDOW" action="cmd:w,cmd:a" interval="10" 11 event id="" name="SERVICE_BLOCK" action="tr,pb:0:a,k:SysRqFile,cmd:c,cmd:m" interval="0" [all …]
|
/base/telephony/cellular_data/services/src/state_machine/ |
D | default.cpp | 34 bool Default::StateProcess(const AppExecFwk::InnerEvent::Pointer &event) in StateProcess() argument 36 if (event == nullptr) { in StateProcess() 45 uint32_t eventCode = event->GetInnerEventId(); in StateProcess() 48 return (this->*(it->second))(event); in StateProcess() 53 bool Default::ProcessConnectDone(const AppExecFwk::InnerEvent::Pointer &event) in ProcessConnectDone() argument 59 bool Default::ProcessDisconnectDone(const AppExecFwk::InnerEvent::Pointer &event) in ProcessDisconnectDone() argument 61 if (event == nullptr) { in ProcessDisconnectDone() 71 stateMachine->DeferEvent(std::move(event)); in ProcessDisconnectDone() 75 bool Default::ProcessDisconnectAllDone(const AppExecFwk::InnerEvent::Pointer &event) in ProcessDisconnectAllDone() argument 77 if (event == nullptr) { in ProcessDisconnectAllDone() [all …]
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_handler.cpp | 54 bool EventHandler::SendEvent(InnerEvent::Pointer &event, int64_t delayTime, Priority priority) in SendEvent() argument 56 if (!event) { in SendEvent() 67 event->SetSendTime(now); in SendEvent() 68 event->SetSenderKernelThreadId(syscall(__NR_gettid)); in SendEvent() 71 event->SetHandleTime(now + std::chrono::milliseconds(delayTime)); in SendEvent() 73 event->SetHandleTime(now); in SendEvent() 76 event->SetOwner(shared_from_this()); in SendEvent() 78 auto traceId = event->GetOrCreateTraceId(); in SendEvent() 80 if (AllowHiTraceOutPut(traceId, event->HasWaiter())) { in SendEvent() 81 HiTracePointerOutPut(traceId, event, "Send", HiTraceTracepointType::HITRACE_TP_CS); in SendEvent() [all …]
|