platform/core/uifw/mmi-manager.git
3 years agomodality_vision : add resource directory for model and label 90/265190/1
dyamy-lee [Tue, 12 Oct 2021 06:14:16 +0000 (15:14 +0900)]
modality_vision : add resource directory for model and label

Change-Id: I0bfbc67037b1c9e7fe60596db2b0f495b0e74101

3 years agomodality_vision : vison.c : implementation of vision_init/shutdown 89/265189/1
dyamy-lee [Sun, 10 Oct 2021 06:10:35 +0000 (15:10 +0900)]
modality_vision : vison.c : implementation of vision_init/shutdown

Change-Id: Ic0c71c48789852edb4158ac93055e4aae84f917b

3 years agomodality_vision : add vision init/shutdown empty code and build it, then it is called... 88/265188/1
dyamy-lee [Wed, 29 Sep 2021 06:29:43 +0000 (15:29 +0900)]
modality_vision : add vision init/shutdown empty code and build it, then it is called in mmi-vision-provider

Change-Id: I1401155d53168ebfd663b6dacd4e87f054c6c883

3 years agomodality_vision build : add image_helper and video_helper sub directory for build... 87/265187/1
dyamy-lee [Sun, 10 Oct 2021 05:37:05 +0000 (14:37 +0900)]
modality_vision build : add image_helper and video_helper sub directory for build and add declared dependency for using it

Change-Id: I2dbe0f0b7172acaab5441f9ec8b426a5fbbef1e3

3 years agomodality_vision/video_helper : add video_helper directory for helping video load... 86/265186/1
dyamy-lee [Sun, 10 Oct 2021 05:32:23 +0000 (14:32 +0900)]
modality_vision/video_helper : add video_helper directory for helping video load/destroy in vision

Change-Id: Ie4e4ec71e70aadfbb82fb5a9546e1484b08e9179

3 years agospec file : add gstreamer package for build video_helper and video api of media vision 85/265185/1
dyamy-lee [Sun, 10 Oct 2021 05:35:51 +0000 (14:35 +0900)]
spec file : add gstreamer package for build video_helper and video api of media vision

Change-Id: Ia0051712a16f209235393ec9e52b306653b7da27

3 years agomodality_vision/image_helper : add image_helper directory for helping image load... 84/265184/1
dyamy-lee [Wed, 29 Sep 2021 06:58:29 +0000 (15:58 +0900)]
modality_vision/image_helper : add image_helper directory for helping image load/save/destroy in vision

Change-Id: Ibaa8d20816ac3af8d2a04b9685740ecad176d285

3 years ago spec file : add capi-media-vision, opencv package for build media vision 83/265183/1
dyamy-lee [Wed, 29 Sep 2021 06:08:48 +0000 (15:08 +0900)]
 spec file : add capi-media-vision, opencv package for build media vision

Change-Id: I508ad275c144278b2805465301cb8a044e539c3c

3 years agommi-vision-provider : implement vision provider function - init/deinit/set_mode/get_mode 51/265151/1
dyamy-lee [Thu, 19 Aug 2021 08:58:07 +0000 (17:58 +0900)]
mmi-vision-provider : implement vision provider function - init/deinit/set_mode/get_mode

Change-Id: Ibfdb87a5aad6984d9fcf503c72197b089c721d3d

3 years agomodality vision module : build vision provider, main build : add modality vision... 50/265150/1
dyamy-lee [Thu, 19 Aug 2021 08:50:25 +0000 (17:50 +0900)]
modality vision module : build vision provider, main build : add modality vision directory

Change-Id: Ib32e8df3fef33086dfb8392a05e1df568817c086

3 years agomodality vision module : generate modality vision module 49/265149/1
dyamy-lee [Thu, 19 Aug 2021 08:49:49 +0000 (17:49 +0900)]
modality vision module : generate modality vision module

mmi-vision-provider.h/.c : add skeleton code for modality vision module

Change-Id: I562a14bc8bc559599fcc33f39a9cf9e0094b9ebc

3 years agommi-ref-fusion : change _event_handlers to static 48/265148/1
ulgal-park [Tue, 5 Oct 2021 03:36:28 +0000 (12:36 +0900)]
mmi-ref-fusion : change _event_handlers to static

Change-Id: I79a8a4b213b0323edf0cdbc6bc9449d59c5c6ce0

3 years agoiu: remove duplicated rules 47/265147/1
Jihoon Kim [Wed, 29 Sep 2021 07:17:44 +0000 (16:17 +0900)]
iu: remove duplicated rules

Change-Id: I6338466a50f893963bb2444812ccee525fa89ed2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: Split feed intent unittest into another file 46/265146/1
Jihoon Kim [Wed, 29 Sep 2021 07:02:30 +0000 (16:02 +0900)]
iu: Split feed intent unittest into another file

Change-Id: Ib01ace546952ef98821c64bb823c89278c8156d7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: initialize key event structure 45/265145/1
Jihoon Kim [Tue, 28 Sep 2021 02:50:57 +0000 (11:50 +0900)]
iu: initialize key event structure

Change-Id: Idcbaba12187072def90c4cc5237513ea1951098f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: Rename unittest name 44/265144/1
Jihoon Kim [Tue, 28 Sep 2021 01:55:17 +0000 (10:55 +0900)]
iu: Rename unittest name

Change-Id: I8b07a2083c09ccbd6c35f880a748d4cce42b70d8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoIntegrate IU unittests into mmi-manager-tests 43/265143/1
Jihoon Kim [Mon, 27 Sep 2021 06:05:28 +0000 (15:05 +0900)]
Integrate IU unittests into mmi-manager-tests

Change-Id: I8362281a4632f3ca06e4200c094751d4860d1e7c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: fix return type mismatch issue 30/264530/1
Jihoon Kim [Fri, 24 Sep 2021 00:47:59 +0000 (09:47 +0900)]
iu: fix return type mismatch issue

Change-Id: I341811299acdfb9a4f2a9396feee5732ac465256
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agospec file: add GCOV define to check coverage only in special case 87/264487/1
Duna Oh [Thu, 23 Sep 2021 03:42:12 +0000 (12:42 +0900)]
spec file: add GCOV define to check coverage only in special case

Change-Id: I064ca21c87c1ed497ce6fac11e84134bf77644cf

3 years agospec file :add gcov option for checking code coverage 78/264478/1 accepted/tizen/unified/20210923.133043 submit/tizen/20210923.034212
Duna Oh [Fri, 17 Sep 2021 07:35:16 +0000 (16:35 +0900)]
spec file :add gcov option for checking code coverage

Change-Id: Idddb442dd4ea572add7a89923c34cf2ab30a2119

3 years agowayland-input : moved the xkb_state_new location and added unref it to resolve resour... 77/264477/1
dyamy-lee [Thu, 23 Sep 2021 00:34:16 +0000 (09:34 +0900)]
wayland-input : moved the xkb_state_new location and added unref it to resolve resource leak issue, also do unref if it already exists when keymap cb called.

Change-Id: I5edb9f4e1a487f60e66d61c515c420122c44cf14

3 years agoiu: fix issue not to check NULL 99/264399/1 accepted/tizen/unified/20210920.131433 submit/tizen/20210917.040337
Jihoon Kim [Fri, 17 Sep 2021 02:59:21 +0000 (11:59 +0900)]
iu: fix issue not to check NULL

Change-Id: Ib54462c4233e30836fd5efc575affb67257fcb4f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agommi-client-tests : resolve memory leak about event_cb 98/264398/1
dyamy-lee [Thu, 16 Sep 2021 10:40:15 +0000 (19:40 +0900)]
mmi-client-tests : resolve memory leak about event_cb

Change-Id: I0eeffeb9ae1f27b2ceb97000db47d1c03e3df195

3 years agommi-client-tests: add TC 'SetGetClientEventCB' 66/264366/1 accepted/tizen/unified/20210917.001233 submit/tizen/20210916.101118
Duna Oh [Thu, 16 Sep 2021 07:52:01 +0000 (16:52 +0900)]
mmi-client-tests: add TC 'SetGetClientEventCB'

Change-Id: Ife0161e20f2b322ee71f094b25086e8aabcf2409

3 years agowayland-input : add XF86BTVoice and XF86KeyBtFarVoice key to grab list 65/264365/1
dyamy-lee [Thu, 16 Sep 2021 01:32:02 +0000 (10:32 +0900)]
wayland-input : add XF86BTVoice and XF86KeyBtFarVoice key to grab list

Change-Id: Icfc0e1da7720345a76bfb705133f24730c13638f

3 years agommi-manager-main-tests: create mmi-manager-main-tests for mmi-manager api 64/264364/1
Duna Oh [Wed, 15 Sep 2021 07:26:39 +0000 (16:26 +0900)]
mmi-manager-main-tests: create mmi-manager-main-tests for mmi-manager api

Change-Id: Id390a309757fd6e6712381446d7de51484d194f6

3 years agommi-manager-tests : add ecore event dispatcher 06/264306/1
ulgal-park [Wed, 15 Sep 2021 12:20:09 +0000 (21:20 +0900)]
mmi-manager-tests : add ecore event dispatcher

Change-Id: Ifb026263da1b7e2f8c55cbd34c6bef614cf2b038

3 years agommi-api-handler : deregister proc info when shutdown 02/264302/1
ulgal-park [Wed, 15 Sep 2021 10:28:55 +0000 (19:28 +0900)]
mmi-api-handler : deregister proc info when shutdown

Change-Id: I21cb6f4f8c36de9b1272cbebed4911a9b40c28f9

3 years agommi-manager : initialize global variable when shutdown 01/264301/1
ulgal-park [Wed, 15 Sep 2021 10:00:07 +0000 (19:00 +0900)]
mmi-manager : initialize global variable when shutdown

Change-Id: Ifc5155a49cef5aa794a5edf0b0cc5484af283ee2

3 years agospec file : add ref_fusion-tests executable for testing ref_fusion module 00/264300/1
dyamy-lee [Wed, 15 Sep 2021 07:32:24 +0000 (16:32 +0900)]
spec file : add ref_fusion-tests executable for testing ref_fusion module

Change-Id: I5c4493c16a99de315c60301adce345c26516ef19

3 years agobuild : add tests/ref-fusion directory as subdir for build it 99/264299/1
dyamy-lee [Wed, 15 Sep 2021 07:31:43 +0000 (16:31 +0900)]
build : add tests/ref-fusion directory as subdir for build it

Change-Id: Id91e2ccb8ac7d579334924d62b637733fc0ca1f7

3 years agocreate tests/ref-fusion meson.build 98/264298/1
dyamy-lee [Wed, 15 Sep 2021 07:31:06 +0000 (16:31 +0900)]
create tests/ref-fusion meson.build

Change-Id: Ia96c5d2418a0dfc5a361abea3cee2363eed59d9d

3 years agoref_fusion build : declared ref-fusion dependency for build in tests 97/264297/1
dyamy-lee [Wed, 15 Sep 2021 07:30:01 +0000 (16:30 +0900)]
ref_fusion build : declared ref-fusion dependency for build in tests

Change-Id: Ib877691d80ea61ac3e82ec92c7cda5f804ea87d5

3 years agommi-ref-fusion-tests : add ref fusion testcase in tests/ref-fusion directory 96/264296/1
dyamy-lee [Wed, 15 Sep 2021 07:29:06 +0000 (16:29 +0900)]
mmi-ref-fusion-tests : add ref fusion testcase in tests/ref-fusion directory

Change-Id: Ie31ed27598b8e64b74b5427c9e26de4a746e9cdd

3 years agotests: fix to set correct install_rpath for modality_keyboard_tests 95/264295/1
Sung-Jin Park [Wed, 15 Sep 2021 07:45:43 +0000 (16:45 +0900)]
tests: fix to set correct install_rpath for modality_keyboard_tests

Change-Id: I9ec7e5571a145fbb0306ab07b5a20469d500f0b9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agotests: fix to use proper path of modules for the given arch 94/264294/1
Sung-Jin Park [Wed, 15 Sep 2021 06:32:24 +0000 (15:32 +0900)]
tests: fix to use proper path of modules for the given arch

Change-Id: I90cb83ceb54fd809e22826f37aeb9205dc339235
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agowayland-input : change keyname as more similar name client knows, also fix print... 93/264293/1
dyamy-lee [Wed, 15 Sep 2021 06:35:58 +0000 (15:35 +0900)]
wayland-input : change keyname as more similar name client knows, also fix print type log error of key up/down by ev->type

Change-Id: I6bd94271f65aaef17b07a4c47d72cd72d3328488

3 years agotests build : add mmi-fusion-tests.cpp in meson.build of tests directory 92/264292/1
dyamy-lee [Tue, 14 Sep 2021 11:15:24 +0000 (20:15 +0900)]
tests build : add mmi-fusion-tests.cpp in meson.build of tests directory

Change-Id: I88c92aeba20beb1d95bd49c2c89e47ac53e5575a

3 years agommi-fusion-tests : create mmi-fusion-tests for mmi-fusion api 91/264291/1
dyamy-lee [Tue, 14 Sep 2021 11:14:30 +0000 (20:14 +0900)]
mmi-fusion-tests : create mmi-fusion-tests for mmi-fusion api

Change-Id: Idb88cc9c072171f9143f30e792fa06adfac9ae45

3 years agommi-provider : set Ecore_Event_Handler* as NULL after delete it. 90/264290/1
dyamy-lee [Wed, 15 Sep 2021 00:50:33 +0000 (09:50 +0900)]
mmi-provider : set Ecore_Event_Handler* as NULL after delete it.

Change-Id: If05fb8a9d49d3c9836a702bbbc6f6d3ea106718e

3 years agommi-ref-fusion : set Ecore_Event_Handler* as NULL after delete it. 89/264289/1
dyamy-lee [Wed, 15 Sep 2021 00:42:33 +0000 (09:42 +0900)]
mmi-ref-fusion : set Ecore_Event_Handler* as NULL after delete it.

Change-Id: Ia7fab2a74164cc4416661aa9d93af7eb089add65

3 years agommi-manager : set Ecore_Event_Handler* as NULL after delete it. It can make abort... 88/264288/1
dyamy-lee [Wed, 15 Sep 2021 00:24:03 +0000 (09:24 +0900)]
mmi-manager : set Ecore_Event_Handler* as NULL after delete it. It can make abort which is not expected.

Change-Id: Ibc21ebb5ceb420f72df5bebabf4878bcafa8263e

3 years agommi-client-tests: create mmi-client-testcases.cpp and add it in meson.build of tests... 87/264287/1
Duna Oh [Tue, 14 Sep 2021 16:40:16 +0000 (01:40 +0900)]
mmi-client-tests: create mmi-client-testcases.cpp and add it in meson.build of tests directory

Change-Id: I931b6041223376edbeb3fa1b3294abbf92de7f68

3 years agowayland-input: assign NULL after xkb_keymap_unref and add NULL checking 86/264286/1
Duna Oh [Wed, 15 Sep 2021 02:00:38 +0000 (11:00 +0900)]
wayland-input: assign NULL after xkb_keymap_unref and add NULL checking

Change-Id: I02514f41fceef3cb47abed1094ee25391f78784d

3 years agommi-provider: fix to use PROVIDER_PATH defined in a project for the given arch 32/264232/1
Sung-Jin Park [Tue, 14 Sep 2021 11:55:46 +0000 (20:55 +0900)]
mmi-provider: fix to use PROVIDER_PATH defined in a project for the given arch

Change-Id: I6af0a6c3f014690fc1f74ac51aa27a87d2753bc6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-fusion: fix to use FUSION_PATH defined in a project for the given arch 31/264231/1
Sung-Jin Park [Tue, 14 Sep 2021 11:55:29 +0000 (20:55 +0900)]
mmi-fusion: fix to use FUSION_PATH defined in a project for the given arch

Change-Id: I984ef10bce5e4c5794cb978d7db62018ec96224d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agobuild: add definition of FUSION_PATH, PROVIDER_PATH to load modules on the correct... 30/264230/1
Sung-Jin Park [Tue, 14 Sep 2021 12:22:23 +0000 (21:22 +0900)]
build: add definition of FUSION_PATH, PROVIDER_PATH to load modules on the correct path

Change-Id: I2512b92eb32a3a5eb7f9287d1a7631fbb8198028
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agospec file : add modality_keyboard-tests executable for testing modality_keyboard... 26/264226/1
dyamy-lee [Tue, 14 Sep 2021 10:02:32 +0000 (19:02 +0900)]
spec file : add modality_keyboard-tests executable for testing modality_keyboard module

Change-Id: I318ddeff78ff33279c2cf93bc3a37515b42875bc

3 years agobuild : add tests/keyboard-provider directory as subdir for build it 25/264225/1
dyamy-lee [Tue, 14 Sep 2021 10:01:30 +0000 (19:01 +0900)]
build : add tests/keyboard-provider directory as subdir for build it

Change-Id: I1808d9528f1fb4424b4996f08d1c92ed00fc4362

3 years agocreate tests/keyboard-provider meson.build 24/264224/1
dyamy-lee [Tue, 14 Sep 2021 09:59:30 +0000 (18:59 +0900)]
create tests/keyboard-provider meson.build

Change-Id: Ie2db9ae2114d36084677d68b260b53e3e35fb88c

3 years agomodality_keyboard build : declared mmi-keyboard dependecy for build in tests 23/264223/1
dyamy-lee [Tue, 14 Sep 2021 09:58:27 +0000 (18:58 +0900)]
modality_keyboard build : declared mmi-keyboard dependecy for build in tests

Change-Id: I5603d5734166367fc89a9b4aad523623d2bd8350

3 years agommi-keyboard-provider-tests : add keyboard provider testcase in tests/keyboard-provid... 22/264222/1
dyamy-lee [Tue, 14 Sep 2021 09:57:09 +0000 (18:57 +0900)]
mmi-keyboard-provider-tests : add keyboard provider testcase in tests/keyboard-provider directory

Change-Id: I42bb64238623c4e75c6af4cf99fb5ae891a5988e

3 years agommi-provider-tests : create mmi-provider-tests.cpp and add this in meson.build of... 21/264221/1
dyamy-lee [Tue, 14 Sep 2021 09:51:35 +0000 (18:51 +0900)]
mmi-provider-tests : create mmi-provider-tests.cpp and add this in meson.build of tests directory

mmi-provider-tests has tc about mmi-provider and mmi-provider-iface api

Change-Id: I7c983831acdfe7dfb49a74aa1cef7a2adf4a308b

3 years agommi-provider : add missed header which is mmi-provider.h 20/264220/1
dyamy-lee [Tue, 14 Sep 2021 09:47:43 +0000 (18:47 +0900)]
mmi-provider : add missed header which is mmi-provider.h

Change-Id: I1a5718662d980b98cfa36e162bdc0056b0301828

3 years agommimgr : mmi-fusion-iface, mmi-provider-iface remove typedef bool for resolving confl... 19/264219/1
dyamy-lee [Tue, 14 Sep 2021 09:47:12 +0000 (18:47 +0900)]
mmimgr : mmi-fusion-iface, mmi-provider-iface remove typedef bool for resolving conflict with c++ bool. also, not used now.

Change-Id: I9f50447cd1f0b9ead6877e79f478bdea4e5cc2e8

3 years agoref-fusion : fix drop logic to handle focus client terminated case 18/264218/1
ulgal-park [Tue, 14 Sep 2021 09:00:32 +0000 (18:00 +0900)]
ref-fusion : fix drop logic to handle focus client terminated case

Change-Id: I3cf2583b36dadc815342974907f26820f64009b0

3 years agoiu: Send event in case app state is not matched 17/264217/1
Jihoon Kim [Tue, 14 Sep 2021 08:06:36 +0000 (17:06 +0900)]
iu: Send event in case app state is not matched

Change-Id: I4b68965218d6eae36f588c54f43e626ec3c5a9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: Fix IU key event unittest 16/264216/1
Jihoon Kim [Tue, 14 Sep 2021 08:02:36 +0000 (17:02 +0900)]
iu: Fix IU key event unittest

[  FAILED  ] IUClientFeedInputEventTest.utc_mmi_iu_feed_intent_key_input_press_right
[  FAILED  ] IUClientFeedInputEventTest.utc_mmi_iu_feed_intent_key_press_ok

Change-Id: I359011a71c58e256e5f46b29f0b4f83020f84b81
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agowayland-input.c: use xkb_keymap_unref instead of xkb_map_unref 15/264215/1
Duna Oh [Tue, 14 Sep 2021 08:15:26 +0000 (17:15 +0900)]
wayland-input.c: use xkb_keymap_unref instead of xkb_map_unref

Change-Id: Icfc25a9d1567e8c7316538986742e1dc7ef0aa87

3 years agommi-manager.h: add extern 'C' wrapper to allow cpp files to refer its APIs 14/264214/1
Duna Oh [Tue, 14 Sep 2021 07:25:58 +0000 (16:25 +0900)]
mmi-manager.h: add extern 'C' wrapper to allow cpp files to refer its APIs

Change-Id: Idb7dfbab9a6e521484bed7347a7469e4a25085aa

3 years agommi_provider:fix the wrong array index of _provider_event_handlers 13/264213/1
Duna Oh [Tue, 14 Sep 2021 07:25:07 +0000 (16:25 +0900)]
mmi_provider:fix the wrong array index of _provider_event_handlers

Change-Id: I8dce0cc02eea70871247e9b68756e657bda5a5fb

3 years agopackaging: disable compiling tidl temporarily 60/264160/1 accepted/tizen/unified/20210914.053333 submit/tizen/20210914.041950
Sung-Jin Park [Tue, 14 Sep 2021 03:16:14 +0000 (12:16 +0900)]
packaging: disable compiling tidl temporarily

Change-Id: I5fec351645d98fd88cc113be239ad26424fdc383
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoiu: Support to send event 40/264140/1
Jihoon Kim [Mon, 13 Sep 2021 11:39:25 +0000 (20:39 +0900)]
iu: Support to send event

Change-Id: I961a77e2e3006e87e8ce7a895859b263eae5a611
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agobuild, packaging, src, tests: restructure source tree to provide libmmimgr library... 09/264109/1
Sung-Jin Park [Mon, 13 Sep 2021 08:35:08 +0000 (17:35 +0900)]
build, packaging, src, tests: restructure source tree to provide libmmimgr library for modules

Change-Id: I059ab1d426b97cb6d63a642bf027ad0f9fbee9a8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoiu: Fix unittest fail issue 08/264108/1
Jihoon Kim [Mon, 13 Sep 2021 04:31:57 +0000 (13:31 +0900)]
iu: Fix unittest fail issue

Change-Id: If32e09b22eaf8b1fa0cec5bc9804d984e4edaa80
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: Change OK key event as Ok 07/264107/1
Jihoon Kim [Mon, 13 Sep 2021 04:31:03 +0000 (13:31 +0900)]
iu: Change OK key event as Ok

Change-Id: I92148e8cacf0442e7a185728400f989f5a0b4b18
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agobuild: fix to install debug header 06/264106/1
Sung-Jin Park [Mon, 13 Sep 2021 07:28:09 +0000 (16:28 +0900)]
build: fix to install debug header

Change-Id: Id6626d229e2fce23c3c5b02cc9a860f013e17e32
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agobuild: remove invalid modules from meson.build 05/264105/1
Sung-Jin Park [Mon, 13 Sep 2021 07:20:57 +0000 (16:20 +0900)]
build: remove invalid modules from meson.build

Change-Id: Ie323283981db4bbc0629443d301543ebd1d3637c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoiu: Add bridge code between mmi-manager and iu 04/264104/1
Jihoon Kim [Thu, 9 Sep 2021 11:03:41 +0000 (20:03 +0900)]
iu: Add bridge code between mmi-manager and iu

Change-Id: I4ae67aebd57c6cd5392bbf09e293229883c93f95
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoiu: Replace event type with the enum in mmi-common.h 03/264103/1
Jihoon Kim [Wed, 8 Sep 2021 02:30:04 +0000 (11:30 +0900)]
iu: Replace event type with the enum in mmi-common.h

Change-Id: I1401a1098ea6b661357cd007a49bbad5e3d6cc95
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agommi: add NULL checks and free allocated variables to prevent RESOURCE_LEAK 02/264102/1
Duna Oh [Fri, 10 Sep 2021 07:58:36 +0000 (16:58 +0900)]
mmi: add NULL checks and free allocated variables to prevent RESOURCE_LEAK

Change-Id: I4795673e189f75c8b294aa85b17352a244ad4da5

3 years agowayland-input : check calloc returns NULL 01/264101/1
dyamy-lee [Fri, 10 Sep 2021 05:46:12 +0000 (14:46 +0900)]
wayland-input : check calloc returns NULL

Change-Id: Ib9fa0a073f2308306fcfaccad8cec40d1e247934

3 years agommi-api-handler: remove unreachable code 00/264100/1
Sung-Jin Park [Thu, 9 Sep 2021 09:05:55 +0000 (18:05 +0900)]
mmi-api-handler: remove unreachable code

Change-Id: I3cf3a3acb2adf3596d22c005addb552f2c48ae27
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoiu: fix issue detected by static analysis tool 99/264099/1
Jihoon Kim [Thu, 9 Sep 2021 08:50:27 +0000 (17:50 +0900)]
iu: fix issue detected by static analysis tool

Change-Id: I94ee32dedd12f284de2981128458a05062fdacca
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoref-fusion: remove unused event handler 98/264098/1
Sung-Jin Park [Wed, 8 Sep 2021 12:30:25 +0000 (21:30 +0900)]
ref-fusion: remove unused event handler

Change-Id: I18b6184f6d28bd8432c91589c20e3dbfad508d5b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: implement set_state() for a given client 97/264097/1
Sung-Jin Park [Wed, 8 Sep 2021 12:27:16 +0000 (21:27 +0900)]
mmi-manager: implement set_state() for a given client

Change-Id: I086675ba251783bf640bfe8aee58c8c6ca2100da
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoref-fusion: implement focus/state change callbacks and set_state() 96/264096/1
Sung-Jin Park [Wed, 8 Sep 2021 12:24:25 +0000 (21:24 +0900)]
ref-fusion: implement focus/state change callbacks and set_state()

Change-Id: I91ab02ce71a27cfd6c27ca025a2190cbde3d994b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-fusion: add apis for getting a fusion handle, getting/setting state of the fusion 95/264095/1
Sung-Jin Park [Wed, 8 Sep 2021 12:21:35 +0000 (21:21 +0900)]
mmi-fusion: add apis for getting a fusion handle, getting/setting state of the fusion

Change-Id: I8b65301c816703a62c9afe5b3f0338882d9754c4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agomodality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly 94/264094/1
Sung-Jin Park [Wed, 8 Sep 2021 04:56:19 +0000 (13:56 +0900)]
modality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly

Change-Id: I89f0ecaa5ab5b9a758fe10d2ee49072bf9a6ac1b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager : resolving when client shutdown, mmi-manager abort unexpected because... 93/264093/1
dyamy-lee [Wed, 8 Sep 2021 00:48:01 +0000 (09:48 +0900)]
mmi-manager : resolving when client shutdown, mmi-manager abort unexpected because of focus.

When client shutdown, it doesn't need to set 'focus out' about this client, because it already disconnected.
Also, if it need to set 'focus in' to new client which is in _focus_candidates, it should be deleted from _focus_candidates when it set 'focus in'.

Change-Id: I3bd110331048bf847c57d91c24f8256d93b98c11

3 years agommi-fusion: initiate a fusion module found for the first time 92/264092/1
Sung-Jin Park [Tue, 7 Sep 2021 13:36:12 +0000 (22:36 +0900)]
mmi-fusion: initiate a fusion module found for the first time

Change-Id: I963cdc5e3a137e40a1404f2605cc7b14868d3f70
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoref_fusion: override b_lundef option to 'false' 91/264091/1
Sung-Jin Park [Tue, 7 Sep 2021 14:50:37 +0000 (23:50 +0900)]
ref_fusion: override b_lundef option to 'false'

Change-Id: Ic62a35e28dbcd0b36fa34c447baa7122a6141103
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agomodality_keyboard: override b_lundef option to 'false' 90/264090/1
Sung-Jin Park [Tue, 7 Sep 2021 14:38:59 +0000 (23:38 +0900)]
modality_keyboard: override b_lundef option to 'false'

The modality_keyboard module is a module of mmi-manager and it'll be loaded
and used by dlopen/dlsym and some variables and apis of mmi-manager will be used
by the module. As mmi-manager is an executable, it doesn't export variables
and apis to a module. Therefore building modality_keyboard module will make
build errors like 'undefined reference to XXX'.

To not make the undefined reference errors when building modality_keyboard module,
we override b_lundef option to 'false'. Please note that the default value of
b_lundef option is 'true'.

Of cource, setting b_lundef option to 'false' will hide all the other undefined
 reference errors other than errors related to symbols of mmi-manager. Thus, we
will make mmi-manager into a share library soon. Please refer to it.

Change-Id: I7737bcec648d4f73cca81ca707534236465244b9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: set export_dynamic to true for modules(.so) of mmi-manager 89/264089/1
Sung-Jin Park [Tue, 7 Sep 2021 14:35:44 +0000 (23:35 +0900)]
mmi-manager: set export_dynamic to true for modules(.so) of mmi-manager

For shared module to be able to refer to functions and variables defined in
mmi-manager executable, we set export_dynamic to 'true' in meson.build file.

Change-Id: I7b66b964e7b4281a24e51ccb303cf45ebbc5ed26
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-keyboard-provider, wayland-input : change indent space to tab about modality_keyboard 88/264088/1
dyamy-lee [Tue, 7 Sep 2021 03:19:11 +0000 (12:19 +0900)]
mmi-keyboard-provider, wayland-input : change indent space to tab about modality_keyboard

Change-Id: Idfd1d87f0b9017aac1954ab4ed6894c00538ae3e

3 years agoFix typo in gesture type 87/264087/1
Jihoon Kim [Mon, 6 Sep 2021 12:10:49 +0000 (21:10 +0900)]
Fix typo in gesture type

Change-Id: I04b2a030ba1338649dfe8106dc5ffe4531b712f7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agommi-provider: add mmi provider event handlers for debugging 86/264086/1
Sung-Jin Park [Mon, 6 Sep 2021 08:12:00 +0000 (17:12 +0900)]
mmi-provider: add mmi provider event handlers for debugging

Change-Id: I41f8d150d0787c1d91e7dba68255c9db7e0dc01c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: add definitions of MMI_PROVIDER_EVENT_XXX 85/264085/1
Sung-Jin Park [Mon, 6 Sep 2021 08:06:34 +0000 (17:06 +0900)]
mmi-manager: add definitions of MMI_PROVIDER_EVENT_XXX

Change-Id: Ic220ac7697feb512ce95701818494e332c821630
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: remove unused file (mmi-manager-event-types.h) 84/264084/1
Sung-Jin Park [Mon, 6 Sep 2021 06:14:53 +0000 (15:14 +0900)]
mmi-manager: remove unused file (mmi-manager-event-types.h)

Change-Id: I2d80cab03c7a8e4e32c5ae70e403f627109063a9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agomodality_keyboard : add include_directories in build and change header path 83/264083/1
dyamy-lee [Mon, 6 Sep 2021 09:51:44 +0000 (18:51 +0900)]
modality_keyboard : add include_directories in build and change header path

Change-Id: Ie224b648e1dca9b4bb027caf3feff1e4bf412819

3 years agommi-manager : set client has focus state when it change 82/264082/1
dyamy-lee [Mon, 6 Sep 2021 09:08:05 +0000 (18:08 +0900)]
mmi-manager : set client has focus state when it change

Change-Id: I799756d5b3d549351ba9fa231c80fc61b9a4a6a2

3 years agommi-keyboard-provider : op_mode changes to extern, wayland-input : check op mode... 81/264081/1
dyamy-lee [Thu, 26 Aug 2021 10:36:40 +0000 (19:36 +0900)]
mmi-keyboard-provider : op_mode changes to extern, wayland-input : check op mode - when PROPAGATE_EVENT, can add event

Change-Id: I4ac892b00a606c230a4a74204a9e0361f36cbf0d

3 years agowayland-input : add/free mmi_provider_event_key event and separate this as function 80/264080/1
dyamy-lee [Thu, 26 Aug 2021 10:05:37 +0000 (19:05 +0900)]
wayland-input : add/free mmi_provider_event_key event and separate this as function

Change-Id: I7f56a12afba8246e21df023e313dda434def7bb0

3 years agommi-client: destroy all event handles which belong to a disconnected client 79/264079/1
Sung-Jin Park [Sat, 4 Sep 2021 04:39:12 +0000 (13:39 +0900)]
mmi-client: destroy all event handles which belong to a disconnected client

Change-Id: I4afbd29c21420578ad68dd077aad6456275b5fa3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoref-fusion: add definition of needed caps for each mmi state 78/264078/1
Sung-Jin Park [Sat, 4 Sep 2021 07:33:16 +0000 (16:33 +0900)]
ref-fusion: add definition of needed caps for each mmi state

Change-Id: I34ab1bb799777bf122c4c30102e0b7ad9d723542
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-client: fill out args of each event before sending to app and fix indentation 77/264077/1
Sung-Jin Park [Fri, 3 Sep 2021 12:38:24 +0000 (21:38 +0900)]
mmi-client: fill out args of each event before sending to app and fix indentation

Change-Id: I59774a1b648f67f49e28e4fdc4b5e0daffbdfa8c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: set client state in _state_change_cb 76/264076/1
Sung-Jin Park [Fri, 3 Sep 2021 12:33:10 +0000 (21:33 +0900)]
mmi-manager: set client state in _state_change_cb

Change-Id: I8cc67f2fe4bb56947f48d330d8cbf32305f7a72b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi-manager: remove unnecessary args_size variable 75/264075/1
Sung-Jin Park [Fri, 3 Sep 2021 12:31:34 +0000 (21:31 +0900)]
mmi-manager: remove unnecessary args_size variable

Change-Id: I76a606f9f65dcfdf5c9e6ea2ba7f5ed9777fc8cd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoref-fusion: implement basic MMI_MANAGER_EVENT_FOCUS/STATE_CHANGE event handlers 74/264074/1
Sung-Jin Park [Fri, 3 Sep 2021 12:30:48 +0000 (21:30 +0900)]
ref-fusion: implement basic MMI_MANAGER_EVENT_FOCUS/STATE_CHANGE event handlers

Change-Id: I6686e9f5034bcc1799909da7e715ff9c52adee21
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoref-fusion: fix formatting and module name 73/264073/1
Sung-Jin Park [Thu, 2 Sep 2021 10:57:05 +0000 (19:57 +0900)]
ref-fusion: fix formatting and module name

Change-Id: I9904834a514674706cb1960ad3f7797ffb8bf147
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>