/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | common_event_info.cpp | 101 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 D | json_serializer_test.cpp | 379 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 D | state_machine.cpp | 257 [&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 D | bundle_profile.cpp | 1418 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 D | inner_bundle_info.cpp | 2683 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 D | state_machine.h | 95 void OnCommonEvent(Context &context, const std::string &commonEvent);
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 69 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 D | inner_bundle_info.h | 339 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 D | node_text_input_modifier.cpp | 1961 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 D | node_text_area_modifier.cpp | 1770 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 D | jsXNode.js | 1166 get commonEvent() {
|