Home
last modified time | relevance | path

Searched refs:commonEvent (Results 1 - 11 of 11) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dcommon_event_info.cpp101 void to_json(nlohmann::json &jsonObject, const CommonEventInfo &commonEvent) in to_json() argument
104 {JSON_KEY_NAME, commonEvent.name}, in to_json()
105 {Constants::BUNDLE_NAME, commonEvent.bundleName}, in to_json()
106 {JSON_KEY_UID, commonEvent.uid}, in to_json()
107 {JSON_KEY_PERMISSION, commonEvent.permission}, in to_json()
108 {JSON_KEY_DATA, commonEvent.data}, in to_json()
109 {JSON_KEY_TYPE, commonEvent.type}, in to_json()
110 {JSON_KEY_EVENTS, commonEvent.events} in to_json()
114 void from_json(const nlohmann::json &jsonObject, CommonEventInfo &commonEvent) in from_json() argument
121 commonEvent in from_json()
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp379 CommonEventInfo commonEvent; in BenchmarkTestForCommonEventInfoToJson() local
380 commonEvent.name = "ohos.global.systemres"; in BenchmarkTestForCommonEventInfoToJson()
381 commonEvent.permission = "1"; in BenchmarkTestForCommonEventInfoToJson()
382 commonEvent.bundleName = "ohos_global_systemres"; in BenchmarkTestForCommonEventInfoToJson()
385 to_json(jsonObject, commonEvent); in BenchmarkTestForCommonEventInfoToJson()
408 CommonEventInfo commonEvent; in BenchmarkTestForCommonEventInfoFromJson() local
411 from_json(jsonObject, commonEvent); in BenchmarkTestForCommonEventInfoFromJson()
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dstate_machine.cpp257 [&context, this] (const std::string &commonEvent) { in EnableCooperate()
258 OnCommonEvent(context, commonEvent); in EnableCooperate()
578 void StateMachine::OnCommonEvent(Context &context, const std::string &commonEvent) in OnCommonEvent() argument
581 FI_HILOGI("Current common event:%{public}s", commonEvent.c_str()); in OnCommonEvent()
582 if (commonEvent == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF || in OnCommonEvent()
583 commonEvent == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED) { in OnCommonEvent()
584 FI_HILOGI("Receive common event:%{public}s, stop cooperate", commonEvent.c_str()); in OnCommonEvent()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp1418 void from_json(const nlohmann::json &jsonObject, CommonEvent &commonEvent) in from_json() argument
1425 commonEvent.name, in from_json()
1431 commonEvent.events, in from_json()
1440 commonEvent.permission, in from_json()
1446 commonEvent.data, in from_json()
1454 commonEvent.type, in from_json()
2331 CommonEventInfo commonEvent; in ToInnerBundleInfo() local
2332 commonEvent.name = info.name; in ToInnerBundleInfo()
2333 commonEvent.bundleName = configJson.app.bundleName; in ToInnerBundleInfo()
2334 commonEvent in ToInnerBundleInfo()
[all...]
H A Dinner_bundle_info.cpp2683 for (const auto &commonEvent : commonEvents_) { in GetCommonEvents()
2684 for (const auto &event : commonEvent.second.events) { in GetCommonEvents()
2686 item = commonEvent.second; in GetCommonEvents()
/foundation/multimodalinput/input/intention/cooperate/plugin/include/
H A Dstate_machine.h95 void OnCommonEvent(Context &context, const std::string &commonEvent);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h69 void to_json(nlohmann::json &jsonObject, const CommonEventInfo &commonEvent);
70 void from_json(const nlohmann::json &jsonObject, CommonEventInfo &commonEvent);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_bundle_info.h339 for (const auto &commonEvent : commonEvents) { in AddModuleCommonEvent()
340 commonEvents_.try_emplace(commonEvent.first, commonEvent.second); in AddModuleCommonEvent()
1070 * @brief Insert commonEvent.
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_text_input_modifier.cpp1961 auto onEvent = [node, extraParam](int32_t value, NG::TextFieldCommonEvent& commonEvent) { in SetTextInputOnSubmit()
1991 auto onPaste = [node, extraParam](const std::string& str, NG::TextCommonEvent& commonEvent) { in SetOnTextInputPaste()
H A Dnode_text_area_modifier.cpp1770 auto onPaste = [node, extraParam](const std::string& str, NG::TextCommonEvent& commonEvent) { in SetOnTextAreaPaste()
1867 auto onEvent = [node, extraParam](int32_t value, NG::TextFieldCommonEvent& commonEvent) { in SetTextAreaOnSubmit()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js1166 get commonEvent() {

Completed in 27 milliseconds