Home
last modified time | relevance | path

Searched refs:eventId (Results 1 - 25 of 531) sorted by relevance

12345678910>>...22

/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/src/
H A Danr_handler.cpp52 void ANRHandler::SetSessionStage(int32_t eventId, const wptr<ISessionStage>& sessionStage) in SetSessionStage() argument
54 auto task = [this, eventId, sessionStage]() { in SetSessionStage()
57 WLOGFE("SessionStage for eventId:%{public}d is nullptr", eventId); in SetSessionStage()
58 sessionStageMap_[eventId] = { INVALID_PERSISTENT_ID, nullptr }; in SetSessionStage()
62 sessionStageMap_[eventId] = { persistentId, sessionStage }; in SetSessionStage()
63 WLOGFD("SetSessionStage for eventId:%{public}d, persistentId:%{public}d", eventId, persistentId); in SetSessionStage()
65 PostTask(task, "SetSessionStage:EID:" + std::to_string(eventId)); in SetSessionStage()
68 void ANRHandler::HandleEventConsumed(int32_t eventId, int64_ argument
127 SetAnrHandleState(int32_t eventId, bool status) SetAnrHandleState() argument
152 int32_t eventId = anrHandlerState_.eventsToReceipt.front(); MarkProcessed() local
168 SendEvent(int32_t eventId, int64_t delayTime) SendEvent() argument
184 ClearExpiredEvents(int32_t eventId) ClearExpiredEvents() argument
199 GetPersistentIdOfEvent(int32_t eventId) GetPersistentIdOfEvent() argument
217 UpdateLatestEventId(int32_t eventId) UpdateLatestEventId() argument
[all...]
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Danr_handler.cpp47 void ANRHandler::SetLastProcessedEventId(int32_t eventType, int32_t eventId, int64_t actionTime) in SetLastProcessedEventId() argument
50 MMI_HILOGD("Processed event type:%{public}d, id:%{public}d, actionTime:%{public}" PRId64, eventType, eventId, in SetLastProcessedEventId()
54 MMI_HILOG_FREEZEI("Last eventId:%{public}d, current eventId:%{public}d", lastEventId_, eventId); in SetLastProcessedEventId()
56 lastEventId_ = eventId; in SetLastProcessedEventId()
58 SendEvent(eventType, eventId); in SetLastProcessedEventId()
61 void ANRHandler::MarkProcessed(int32_t eventType, int32_t eventId) in MarkProcessed() argument
64 BytraceAdapter::StartMarkedTracker(eventId); in MarkProcessed()
65 MMI_HILOGD("Processed event type:%{public}d, id:%{public}d", eventType, eventId); in MarkProcessed()
82 SendEvent(int32_t eventType, int32_t eventId) SendEvent() argument
[all...]
H A Dbytrace_adapter.cpp100 int32_t eventId = pointerEvent->GetId(); in StartBytrace() local
103 StartAsyncTrace(HITRACE_TAG_MULTIMODALINPUT, ON_POINTER_EVENT, eventId); in StartBytrace()
104 HITRACE_METER_NAME(HITRACE_TAG_MULTIMODALINPUT, "service report pointerId:" + std::to_string(eventId) + in StartBytrace()
107 StartAsyncTrace(HITRACE_TAG_MULTIMODALINPUT, ON_TOUCH_EVENT, eventId); in StartBytrace()
108 HITRACE_METER_NAME(HITRACE_TAG_MULTIMODALINPUT, "service report touchId:" + std::to_string(eventId) + in StartBytrace()
113 FinishAsyncTrace(HITRACE_TAG_MULTIMODALINPUT, ON_POINTER_EVENT, eventId); in StartBytrace()
115 FinishAsyncTrace(HITRACE_TAG_MULTIMODALINPUT, ON_TOUCH_EVENT, eventId); in StartBytrace()
211 int32_t eventId = pointerEvent->GetId(); in StartBytrace() local
215 StartAsyncTrace(HITRACE_TAG_MULTIMODALINPUT, POINTER_EVENT_DISPATCH, eventId); in StartBytrace()
216 HITRACE_METER_NAME(HITRACE_TAG_MULTIMODALINPUT, "client dispatch pointerId:" + std::to_string(eventId)); in StartBytrace()
442 StartMarkedTracker(int32_t eventId) StartMarkedTracker() argument
[all...]
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_report_handler.cpp43 void BundleActiveReportHandler::SendEvent(const int32_t& eventId, in SendEvent() argument
53 if (taskHandlerMap_.find(eventId) == taskHandlerMap_.end()) { in SendEvent()
54 taskHandlerMap_[eventId] = std::queue<ffrt::task_handle>(); in SendEvent()
56 ffrt::task_handle taskHandle = ffrtQueue_->submit_h([reportHandler, eventId, handlerobj]() { in SendEvent()
57 reportHandler->ProcessEvent(eventId, handlerobj); in SendEvent()
59 if (reportHandler->taskHandlerMap_.find(eventId) == reportHandler->taskHandlerMap_.end()) { in SendEvent()
62 if (!reportHandler->taskHandlerMap_[eventId].empty()) { in SendEvent()
63 reportHandler->taskHandlerMap_[eventId].pop(); in SendEvent()
66 taskHandlerMap_[eventId].push(std::move(taskHandle)); in SendEvent()
69 void BundleActiveReportHandler::RemoveEvent(const int32_t& eventId) in RemoveEvent() argument
86 HasEvent(const int32_t& eventId) HasEvent() argument
99 ProcessEvent(const int32_t& eventId, const std::shared_ptr<BundleActiveReportHandlerObject>& handlerobj) ProcessEvent() argument
[all...]
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_handler.cpp68 void BundleActiveGroupHandler::SendCheckBundleMsg(const int32_t& eventId, in SendCheckBundleMsg() argument
75 std::string msgKey = GetMsgKey(eventId, handlerobj, delayTime); in SendCheckBundleMsg()
85 checkBundleTaskMap_[msgKey] = ffrtQueue_->submit_h([groupHandler, eventId, handlerobj, msgKey]() { in SendCheckBundleMsg()
86 groupHandler->ProcessEvent(eventId, handlerobj); in SendCheckBundleMsg()
108 std::string BundleActiveGroupHandler::GetMsgKey(const int32_t& eventId, in GetMsgKey() argument
116 return std::to_string(eventId) + "_" + std::to_string(tmpHandlerobj.userId_) + "_" + in GetMsgKey()
120 void BundleActiveGroupHandler::SendEvent(const int32_t& eventId, in SendEvent() argument
130 if (taskHandlerMap_.find(eventId) == taskHandlerMap_.end()) { in SendEvent()
131 taskHandlerMap_[eventId] = std::queue<ffrt::task_handle>(); in SendEvent()
133 ffrt::task_handle taskHandle = ffrtQueue_->submit_h([groupHandler, eventId, handlerob in SendEvent()
146 RemoveEvent(const int32_t& eventId) RemoveEvent() argument
182 ProcessEvent(const int32_t& eventId, const std::shared_ptr<BundleActiveGroupHandlerObject>& handlerobj) ProcessEvent() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Dvideo_component.h160 void SetPreparedEventId(const EventMarker& eventId) in SetPreparedEventId() argument
162 preparedEventId_ = eventId; in SetPreparedEventId()
170 void SetStartEventId(const EventMarker& eventId) in SetStartEventId() argument
172 startEventId_ = eventId; in SetStartEventId()
180 void SetPauseEventId(const EventMarker& eventId) in SetPauseEventId() argument
182 pauseEventId_ = eventId; in SetPauseEventId()
190 void SetStopEventId(const EventMarker& eventId) in SetStopEventId() argument
192 stopEventId_ = eventId; in SetStopEventId()
200 void SetFinishEventId(const EventMarker& eventId) in SetFinishEventId() argument
202 finishEventId_ = eventId; in SetFinishEventId()
210 SetErrorEventId(const EventMarker& eventId) SetErrorEventId() argument
220 SetSeekingEventId(const EventMarker& eventId) SetSeekingEventId() argument
230 SetSeekedEventId(const EventMarker& eventId) SetSeekedEventId() argument
240 SetTimeUpdateEventId(const EventMarker& eventId) SetTimeUpdateEventId() argument
250 SetFullscreenChangeEventId(const EventMarker& eventId) SetFullscreenChangeEventId() argument
[all...]
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_package_stats.cpp91 void BundleActivePackageStats::UpdateAbility(const int64_t timeStamp, const int32_t eventId, in UpdateAbility() argument
94 if (eventId != BundleActiveEvent::ABILITY_FOREGROUND && eventId != BundleActiveEvent::ABILITY_BACKGROUND && in UpdateAbility()
95 eventId != BundleActiveEvent::ABILITY_STOP) { in UpdateAbility()
98 if (abilities_.empty() && eventId == BundleActiveEvent::ABILITY_FOREGROUND) { in UpdateAbility()
111 if (eventId == BundleActiveEvent::ABILITY_FOREGROUND) { in UpdateAbility()
120 switch (eventId) { in UpdateAbility()
125 abilities_[abilityId] = eventId; in UpdateAbility()
128 abilities_[abilityId] = eventId; in UpdateAbility()
139 const int32_t eventId) in UpdateLongTimeTask()
138 UpdateLongTimeTask(const std::string& longTimeTaskName, const int64_t timeStamp, const int32_t eventId) UpdateLongTimeTask() argument
173 Update(const std::string& longTimeTaskName, const int64_t timeStamp, const int32_t eventId, const std::string& abilityId, const int32_t uid) Update() argument
[all...]
H A Dbundle_active_event.cpp51 BundleActiveEvent::BundleActiveEvent(int32_t eventId, int64_t timeStamp) in BundleActiveEvent() argument
62 eventId_ = eventId; in BundleActiveEvent()
66 BundleActiveEvent::BundleActiveEvent(const int32_t eventId, const std::string bundleName, const int32_t uid) in BundleActiveEvent() argument
77 eventId_ = eventId; in BundleActiveEvent()
115 const int64_t formId, const int32_t eventId, const int32_t uid) in BundleActiveEvent()
126 eventId_ = eventId; in BundleActiveEvent()
199 bool BundleActiveEvent::IsBundleEvent(const int32_t eventId) in IsBundleEvent() argument
201 if (eventId == ABILITY_BACKGROUND || in IsBundleEvent()
202 eventId == ABILITY_FOREGROUND || in IsBundleEvent()
203 eventId in IsBundleEvent()
113 BundleActiveEvent(const std::string bundleName, const std::string moduleName, const std::string formName, const int32_t formDimension, const int64_t formId, const int32_t eventId, const int32_t uid) BundleActiveEvent() argument
212 IsAppStateEvent(const int32_t eventId) IsAppStateEvent() argument
[all...]
/foundation/ability/ability_runtime/services/common/include/
H A Devent_handler_wrap.h34 EventWrap(uint32_t eventId) : EventWrap(eventId, 0) {} in EventWrap() argument
35 EventWrap(uint32_t eventId, int64_t param) : eventId_(eventId), param_(param) in EventWrap() argument
39 EventWrap(uint32_t eventId, int64_t param, bool isExtension) : eventId_(eventId), param_(param), in EventWrap() argument
44 EventWrap(uint32_t eventId, std::shared_ptr<EventDataBase> data) in EventWrap() argument
45 : eventId_(eventId), param_(0), eventData_(data) in EventWrap()
117 bool SendEvent(uint32_t eventId);
118 bool SendEvent(uint32_t eventId, int64_
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dplatform_res_register.h36 void RegisterEvent(const std::string& eventId, const EventCallback&& eventCallback) in RegisterEvent() argument
38 eventMap_[eventId] = std::move(eventCallback); in RegisterEvent()
41 void UnregisterEvent(const std::string& eventId) in UnregisterEvent() argument
43 eventMap_.erase(eventId); in UnregisterEvent()
46 void OnEvent(const std::string& eventId, const std::string& param) in OnEvent() argument
48 auto event = eventMap_.find(eventId); in OnEvent()
52 LOGW("failed to find eventId = %{public}s", eventId.c_str()); in OnEvent()
/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/include/
H A Danr_handler.h36 void SetSessionStage(int32_t eventId, const wptr<ISessionStage>& sessionStage);
37 void HandleEventConsumed(int32_t eventId, int64_t actionTime);
44 void SendEvent(int32_t eventId, int64_t delayTime);
45 void SetAnrHandleState(int32_t eventId, bool status);
46 void ClearExpiredEvents(int32_t eventId);
47 int32_t GetPersistentIdOfEvent(int32_t eventId);
49 void UpdateLatestEventId(int32_t eventId);
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_base.cpp46 void NetPolicyBase::SendEvent(int32_t eventId, int64_t delayTime) in SendEvent() argument
49 SendEvent(eventId, policyEvent, delayTime); in SendEvent()
52 void NetPolicyBase::SendEvent(int32_t eventId, std::shared_ptr<PolicyEvent> &policyEvent, int64_t delayTime) in SendEvent() argument
54 policyEvent->eventId = eventId; in SendEvent()
56 DelayedSingleton<NetPolicyCore>::GetInstance()->SendEvent(eventId, policyEvent, delayTime); in SendEvent()
/foundation/window/window_manager/window_scene/test/unittest/
H A Ddfx_hisysevent_test.cpp62 int32_t eventId = 1; in TEST_F() local
68 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
85 int32_t eventId = 1; in TEST_F() local
91 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
108 int32_t eventId = 1; in TEST_F() local
114 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
131 int32_t eventId = 1; in TEST_F() local
137 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
/foundation/systemabilitymgr/samgr/frameworks/native/source/
H A Dsystem_ability_on_demand_event.cpp58 if (!data.WriteInt32(static_cast<int32_t>(event.eventId))) { in WriteOnDemandEventToParcel()
59 HILOGW("WriteOnDemandEvent write eventId failed!"); in WriteOnDemandEventToParcel()
76 if (!data.WriteInt32(static_cast<int32_t>(condition.eventId))) { in WriteOnDemandConditionToParcel()
77 HILOGW("WriteOnDemandCondition write eventId failed!"); in WriteOnDemandConditionToParcel()
141 int32_t eventId = 0; in ReadOnDemandEventFromParcel() local
142 if (!reply.ReadInt32(eventId)) { in ReadOnDemandEventFromParcel()
143 HILOGW("ReadOnDemandEvent read eventId failed!"); in ReadOnDemandEventFromParcel()
146 event.eventId = static_cast<OnDemandEventId>(eventId); in ReadOnDemandEventFromParcel()
161 int32_t eventId in ReadOnDemandConditionFromParcel() local
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/src/common/
H A Dnet_policy_event_handler.cpp28 void NetPolicyEventHandler::ProcessEvent(int32_t eventId, std::shared_ptr<PolicyEvent> eventData) in ProcessEvent() argument
34 core_->HandleEvent(eventId, eventData); in ProcessEvent()
39 auto eventId = static_cast<int32_t>(event->GetInnerEventId()); in SendEvent() local
41 ffrtQueue_.submit([this, eventId, eventData] { ProcessEvent(eventId, eventData); }, in SendEvent()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_status_collect_manager.cpp171 return (ev1.eventId == ev2.eventId && ev1.name == ev2.name && in IsSameEvent()
177 if (ev1.eventId != TIMED_EVENT) { in IsSameEventName()
178 if (ev1.eventId == ev2.eventId && ev1.name == ev2.name) { in IsSameEventName()
182 if (ev1.eventId == ev2.eventId && ev1.name == ev2.name && ev1.value == ev2.value && in IsSameEventName()
196 if (collectPluginMap_.count(condition.eventId) == 0) { in CheckConditions()
197 HILOGE("not support condition: %{public}d", condition.eventId); in CheckConditions()
200 if (collectPluginMap_[condition.eventId] in CheckConditions()
322 IsExistInPluginMap(int32_t eventId) IsExistInPluginMap() argument
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_share_mgr.cpp145 auto eventId = FormEventHandler::GetEventId(); in HandleRecvFormShareInfoFromRemoteTask() local
146 eventMap_.emplace(eventId, formShareInfoKey); in HandleRecvFormShareInfoFromRemoteTask()
148 eventHandler_->ProcessEvent(MSG::FORM_SHARE_INFO_DELAY_MSG, eventId, FORM_SHARE_INFO_DELAY_TIMER); in HandleRecvFormShareInfoFromRemoteTask()
180 auto eventId = FormEventHandler::GetEventId(); in CheckFormPackage() local
181 HILOG_DEBUG("free install operator send event, eventId:%{public}" PRId64 ", key:%{public}s", in CheckFormPackage()
182 eventId, formShareInfoKey.c_str()); in CheckFormPackage()
184 MSG::FORM_PACKAGE_FREE_INSTALL_DELAY_MSG, eventId, FORM_PACKAGE_FREE_INSTALL_TIMER); in CheckFormPackage()
188 freeInstallOperatorMap_.emplace(eventId, freeInstallOperator); in CheckFormPackage()
287 int64_t eventId = 0; in RemoveFormShareInfo() local
290 eventId in RemoveFormShareInfo()
314 int64_t eventId = 0; FinishFreeInstallTask() local
359 HandleFormShareInfoTimeout(int64_t eventId) HandleFormShareInfoTimeout() argument
379 HandleFreeInstallTimeout(int64_t eventId) HandleFreeInstallTimeout() argument
528 OnEventTimeoutResponse(int64_t msg, int64_t eventId) OnEventTimeoutResponse() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_data_connection_server.cpp34 uint16_t handle, uint32_t eventId, const std::string &inComingAddr) in ProcessDataConnectionServerCallback()
37 HILOGI("Event from rfcomm device: %{public}s, handle: %{public}hu, eventId: %{public}u", in ProcessDataConnectionServerCallback()
38 GetEncryptAddr(addr).c_str(), handle, eventId); in ProcessDataConnectionServerCallback()
40 switch (eventId) { in ProcessDataConnectionServerCallback()
64 LOG_INFO("[HFP AG]%{public}s():Invalid event from rfcomm eventId[%u]", __FUNCTION__, eventId); in ProcessDataConnectionServerCallback()
73 uint16_t handle, uint32_t eventId, const void *eventData, void *context) in DataConnectionServerCallback()
78 if (eventId == RFCOMM_CHANNEL_EV_CONNECT_INCOMING) { in DataConnectionServerCallback()
88 std::bind(&HfpAgDataConnectionServer::ProcessDataConnectionServerCallback, handle, eventId, addr)); in DataConnectionServerCallback()
33 ProcessDataConnectionServerCallback( uint16_t handle, uint32_t eventId, const std::string &inComingAddr) ProcessDataConnectionServerCallback() argument
72 DataConnectionServerCallback( uint16_t handle, uint32_t eventId, const void *eventData, void *context) DataConnectionServerCallback() argument
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_data_connection_server.cpp33 uint16_t handle, uint32_t eventId, const std::string &inComingAddr) in ProcessDataConnectionServerCallback()
36 HILOGI("Event from rfcomm device: %{public}s, handle: %{public}hu, eventId:%{public}u", in ProcessDataConnectionServerCallback()
37 GetEncryptAddr(addr).c_str(), handle, eventId); in ProcessDataConnectionServerCallback()
39 switch (eventId) { in ProcessDataConnectionServerCallback()
63 LOG_DEBUG("[HFP HF]%{public}s():Invalid event from rfcomm eventId[%u]", __FUNCTION__, eventId); in ProcessDataConnectionServerCallback()
72 uint16_t handle, uint32_t eventId, const void *eventData, void *context) in DataConnectionServerCallback()
77 if (eventId == RFCOMM_CHANNEL_EV_CONNECT_INCOMING) { in DataConnectionServerCallback()
83 std::bind(&HfpHfDataConnectionServer::ProcessDataConnectionServerCallback, handle, eventId, addr)); in DataConnectionServerCallback()
32 ProcessDataConnectionServerCallback( uint16_t handle, uint32_t eventId, const std::string &inComingAddr) ProcessDataConnectionServerCallback() argument
71 DataConnectionServerCallback( uint16_t handle, uint32_t eventId, const void *eventData, void *context) DataConnectionServerCallback() argument
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_power_state_callback_service.cpp33 int32_t eventId; in OnPowerStateChanged() local
36 eventId = BundleActiveEvent::SYSTEM_WAKEUP; in OnPowerStateChanged()
38 eventId = BundleActiveEvent::SYSTEM_SLEEP; in OnPowerStateChanged()
42 bundleActiveCore_->PreservePowerStateInfo(eventId); in OnPowerStateChanged()
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
H A Denroll_intell_voice_engine_callback_napi.cpp67 int32_t eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_NONE; in ConvertEventId() local
70 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_INIT_DONE; in ConvertEventId()
73 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_ENROLL_COMPLETE; in ConvertEventId()
76 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_COMMIT_ENROLL_COMPLETE; in ConvertEventId()
82 return eventId; in ConvertEventId()
91 int32_t eventId = ConvertEventId(it->first); in ClearAsyncWork() local
102 context->callbackInfo.eventId = eventId; in ClearAsyncWork()
103 if (eventId == static_cast<int32_t>(INTELL_VOICE_ENGINE_MSG_INIT_DONE)) { in ClearAsyncWork()
105 } else if (eventId in ClearAsyncWork()
[all...]
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dpackage_usage_test.cpp85 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; in HWTEST_F() local
88 packageStats->Update(longTimeTaskName, timeStamp, eventId, abilityId, uid); in HWTEST_F()
90 eventId = BundleActiveEvent::ABILITY_BACKGROUND; in HWTEST_F()
91 packageStats->Update(longTimeTaskName, timeStamp, eventId, abilityId, uid); in HWTEST_F()
93 eventId = BundleActiveEvent::ABILITY_STOP; in HWTEST_F()
94 packageStats->Update(longTimeTaskName, timeStamp, eventId, abilityId, uid); in HWTEST_F()
96 eventId = BundleActiveEvent::END_OF_THE_DAY; in HWTEST_F()
97 packageStats->Update(longTimeTaskName, timeStamp, eventId, abilityId, uid); in HWTEST_F()
99 eventId = BundleActiveEvent::LONG_TIME_TASK_STARTTED; in HWTEST_F()
100 packageStats->Update(longTimeTaskName, timeStamp, eventId, abilityI in HWTEST_F()
127 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; HWTEST_F() local
150 int32_t eventId = BundleActiveEvent::LONG_TIME_TASK_ENDED; HWTEST_F() local
226 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; HWTEST_F() local
989 int32_t eventId = 0; HWTEST_F() local
1017 int32_t eventId = 0; HWTEST_F() local
1031 int32_t eventId = 0; HWTEST_F() local
1047 int32_t eventId = 2; HWTEST_F() local
1069 int32_t eventId = BundleActiveEvent::END_OF_THE_DAY; HWTEST_F() local
1093 int32_t eventId = BundleActiveEvent::FLUSH; HWTEST_F() local
1131 int32_t eventId = BundleActiveEvent::ABILITY_FOREGROUND; HWTEST_F() local
1153 int32_t eventId = BundleActiveEvent::LONG_TIME_TASK_ENDED; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_object_event.h165 void RegisterObjectEvent(const std::string& eventId, const EventObJectCallback&& eventCallback) in RegisterObjectEvent() argument
167 eventObjectMap_[eventId] = std::move(eventCallback); in RegisterObjectEvent()
171 const std::string& eventId, const EventObjectWithBoolReturnCallback&& eventCallback) in RegisterObjectEventWithBoolReturn()
173 TAG_LOGI(AceLogTag::ACE_WEB, "RegisterObjectEventWithBoolReturn %{public}s", eventId.c_str()); in RegisterObjectEventWithBoolReturn()
174 eventObjectWithBoolReturnMap_[eventId] = std::move(eventCallback); in RegisterObjectEventWithBoolReturn()
177 void UnRegisterObjectEvent(const std::string& eventId) in UnRegisterObjectEvent() argument
179 eventObjectMap_.erase(eventId); in UnRegisterObjectEvent()
182 void UnRegisterObjectEventWithBoolReturn(const std::string& eventId) in UnRegisterObjectEventWithBoolReturn() argument
184 eventObjectWithBoolReturnMap_.erase(eventId); in UnRegisterObjectEventWithBoolReturn()
187 void OnObjectEvent(const std::string& eventId, cons argument
170 RegisterObjectEventWithBoolReturn( const std::string& eventId, const EventObjectWithBoolReturnCallback&& eventCallback) RegisterObjectEventWithBoolReturn() argument
197 OnObjectEventWithBoolReturn(const std::string& eventId, const std::string& param, void *jObject) OnObjectEventWithBoolReturn() argument
[all...]
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_event_handler.cpp58 auto eventId = static_cast<int32_t>(event->GetInnerEventId()); in HWTEST_F() local
61 instance_->ProcessEvent(eventId, eventData); in HWTEST_F()
70 auto eventId = static_cast<int32_t>(event->GetInnerEventId()); in HWTEST_F() local
72 instance->ProcessEvent(eventId, eventData); in HWTEST_F()
79 auto eventId = static_cast<int32_t>(event->GetInnerEventId()); in HWTEST_F() local
81 instance_->ProcessEvent(eventId, eventData); in HWTEST_F()
/foundation/resourceschedule/device_standby/plugins/ext/include/
H A Dstandby_messsage.h55 explicit StandbyMessage(uint32_t eventId): eventId_(eventId) {} in StandbyMessage()
56 StandbyMessage(uint32_t eventId, const std::string& action): eventId_(eventId), action_(action) {} in StandbyMessage()

Completed in 14 milliseconds

12345678910>>...22