platform/core/uifw/mmi-framework.git
2 years agoCreate set result cb API in mmi and test 96/281596/1
dyamy-lee [Mon, 5 Sep 2022 09:44:08 +0000 (18:44 +0900)]
Create set result cb API in mmi and test

A client(ex.reference app) is calling  of mmi modeule.
This function is calling  for saving in client

Change-Id: Ic9749d464a2dfb3298417fc1e1a8325851f05193

2 years agoCreate set result cb API in client and test 95/281595/1
dyamy-lee [Mon, 5 Sep 2022 09:41:07 +0000 (18:41 +0900)]
Create set result cb API in client and test

This function saves a result callback by each input_event_type in client module.
Also, create input_event_type as enum for readabiltiy.
And, add test code for mmi_client_set_result_cb.

Change-Id: I2a4f27ebe7d1c235a99fc125153d2ed4ef1fed7e

2 years agoskeleton of mmi_client_set_result_cb 94/281594/1
dyamy-lee [Mon, 5 Sep 2022 09:35:01 +0000 (18:35 +0900)]
skeleton of mmi_client_set_result_cb

create skeleton of mmi_client_set_result_cb and, it's tests

Change-Id: I88d6621612b4cb26ef702089f71d8d28adf1d0f1

2 years agorename about module : mmi-core to mmi-client 91/281591/1
dyamy-lee [Mon, 5 Sep 2022 05:05:12 +0000 (14:05 +0900)]
rename about module : mmi-core to mmi-client

this module's role is more related saving client data.
So, changed module name from mmi-core to mmi-client

Change-Id: Iaa90457d8bc60996c26789e79ec32c62804048eb

2 years agomove the structure of mmi_struct_s to header of mmi-core 90/281590/1
dyamy-lee [Mon, 5 Sep 2022 04:24:20 +0000 (13:24 +0900)]
move the structure of mmi_struct_s to header of mmi-core

this structure doesn't need exposure for app developer.
so, it moved location for exposure only the definition of related API

Change-Id: Id5453d6e64e20f379190399dbc99920822d8edb8

2 years agochange the prefix to matching with file name 89/281589/1
dyamy-lee [Mon, 5 Sep 2022 02:28:38 +0000 (11:28 +0900)]
change the prefix to matching with file name

if a prefix is same with file name, it can be know easily some function is which module

Change-Id: I6e89f92ef9d3ffde09799ff1bc4cf734c8787c2a

2 years agoRefactorying files with skeleton codes 88/281588/1
dyamy-lee [Fri, 2 Sep 2022 08:54:09 +0000 (17:54 +0900)]
Refactorying files with skeleton codes

Following new architecture design for interface,
refatorying files with skeleton codes.

mmi files are related with Reference Apps.
mmi-core files are called from mmi files for real mmi library logic.
mmi-common has structures for mmi library.

Change-Id: I917efe2904112bd14c566d9c282f4d59935ab40f

2 years agoremove not use things : app_id, uid, ecore_init 87/281587/1
dyamy-lee [Fri, 2 Sep 2022 07:38:32 +0000 (16:38 +0900)]
remove not use things : app_id, uid, ecore_init

Reference apps which use this library will launch by app manager, no more daemon.
So, this library does not use ecore init and quit for launching app.
Also, it does not register tidl by app_id and does not need uid.
This patch remove those things and tests.
The tests will be recreated following new functions creation.

Change-Id: If3779ca3d9d8f92b2a6736a0811293aa19390187

2 years agoremove ecore event and handling functions 86/281586/1
dyamy-lee [Mon, 22 Aug 2022 09:01:02 +0000 (18:01 +0900)]
remove ecore event and handling functions

Following change of the architecture, these ecore events and handling functions will not use.
So, remove all these in src and tests, too.

Change-Id: I9a8a7f128b21ce1cf2236dd550561472595737c8

2 years agotidl interface change 85/281585/1
dyamy-lee [Mon, 22 Aug 2022 08:15:37 +0000 (17:15 +0900)]
tidl interface change

The MMI library architecture was changed.
So, following change, tidl interface also changed.
This patch remove previous tidl interface and, only add minimum change of new interface for checking first.
Also, this patch removes functions which using previous tidl api.

Change-Id: Id2575f95693e7245b46c542cfc942950972d85eb

2 years agoUpdate version(0.1.1) 61/278661/1 accepted/tizen/unified/20220726.012224 submit/tizen/20220725.020611
dyamy-lee [Mon, 25 Jul 2022 00:02:46 +0000 (09:02 +0900)]
Update version(0.1.1)

Change-Id: I32d8bee7732cbc35c4ebac5379f6df43d4b55a81

2 years agoFix broken symbol char 55/277155/1
sungwook79.park [Thu, 16 Jun 2022 04:55:15 +0000 (13:55 +0900)]
Fix broken symbol char

Change-Id: Iae89a6d1f5ec30253e0a0864b4d690d675ff86fd
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
2 years agoRename mmifw to mmi because this module is the library for application 54/277154/1
sungwook79.park [Thu, 16 Jun 2022 04:38:24 +0000 (13:38 +0900)]
Rename mmifw to mmi because this module is the library for application

Change-Id: I7d44a0818a07fa26ea6b8ec440953c254f9f9267
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
2 years agommifw-ipc : initialize array_string_h 53/277153/1
dyamy-lee [Fri, 4 Mar 2022 02:10:57 +0000 (11:10 +0900)]
mmifw-ipc : initialize array_string_h

Change-Id: I1d0c0c9423b96a83e840cfc2dca85678a4bd133a

2 years agochange CODEOWNERS by changing members 52/277152/1
dyamy-lee [Thu, 3 Mar 2022 11:16:43 +0000 (20:16 +0900)]
change CODEOWNERS by changing members

Change-Id: Ia64dd47a6676e0be14d2a90fefd65b397f287b81

2 years agoremove TIDL implement code in repo and get these when build time 51/277151/1
dyamy-lee [Thu, 3 Mar 2022 06:50:09 +0000 (15:50 +0900)]
remove TIDL implement code in repo and get these when build time

packaging : uncomment generate tidl implement code which is mmi-proxy while build
interface/mmifw_proxy.* : remove mmifw_proxy code and remove interface directory
meson.build, mmifw-ipc.h : change mmi-proxy code location under src because of removing interface directory

Change-Id: I4174ff9382995313ae2b690200940fe152287dca

2 years agommifw-ipc : following TIDL update, changes TIDL API(ver. 1.4->1.8) 50/277150/1
dyamy-lee [Thu, 3 Mar 2022 06:46:19 +0000 (15:46 +0900)]
mmifw-ipc : following TIDL update, changes TIDL API(ver. 1.4->1.8)

Change-Id: Ied3d0b0a6d85c3caffbcbdc4ba0cdb96e631d2fa

3 years agospec file :add gcov option for checking code coverage 86/264486/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.121544 accepted/tizen/unified/20210923.133037 submit/tizen/20210923.064949 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Duna Oh [Fri, 17 Sep 2021 07:43:04 +0000 (16:43 +0900)]
spec file :add gcov option for checking code coverage

Change-Id: I1ecd86ea9b6c0eae1a99a85e603160375f532089

3 years agommifw-ipc-test : remove unnacessary tab 44/264344/1 accepted/tizen/unified/20210916.123513 submit/tizen/20210916.075802
ulgal-park [Thu, 16 Sep 2021 06:24:00 +0000 (15:24 +0900)]
mmifw-ipc-test : remove unnacessary tab

Change-Id: I892247156220e7658e36192687b6fe75bb616566

3 years agommifw-ipc : re-initailize values when mmi_ipc_init() fail 43/264343/1
ulgal-park [Thu, 16 Sep 2021 06:16:39 +0000 (15:16 +0900)]
mmifw-ipc : re-initailize values when mmi_ipc_init() fail

Change-Id: I74c470fa48af8f3040b053155f87978a0b46ceb7

3 years agommifw-ipc-test : fix checking initial value 42/264342/1
ulgal-park [Thu, 16 Sep 2021 06:16:31 +0000 (15:16 +0900)]
mmifw-ipc-test : fix checking initial value

Change-Id: I108c4ca35902fc06c275073705dd9414078b3840

3 years agommifw-main-test : mmi_event_add_listener should be called before it's event called... 41/264341/1
dyamy-lee [Thu, 16 Sep 2021 05:45:41 +0000 (14:45 +0900)]
mmifw-main-test : mmi_event_add_listener should be called before it's event called for normal operating

Change-Id: I8b9fc1646b526a41b326e1d57e97fdbe123d91dc

3 years agommifw-main-test : remove unnecessary tab 40/264340/1
ulgal-park [Thu, 16 Sep 2021 04:05:54 +0000 (13:05 +0900)]
mmifw-main-test : remove unnecessary tab

Change-Id: I2f1b1f3ec86558826e3ff22be616ccfa4970e01a

3 years agommifw-tests : add connection wait helper function, state change wait helper function 39/264339/1
ulgal-park [Wed, 15 Sep 2021 13:08:07 +0000 (22:08 +0900)]
mmifw-tests : add connection wait helper function, state change wait helper function

Change-Id: I54bc86ec4266a33f80ff31e32d5f6489a0c0ee84

3 years agommifw-ipc-test, mmifw-main-test : remove rpc_port_deregister_proc_info, it move to... 04/264304/1
dyamy-lee [Wed, 15 Sep 2021 10:50:33 +0000 (19:50 +0900)]
mmifw-ipc-test, mmifw-main-test : remove rpc_port_deregister_proc_info, it move to mmi_ipc_shutdown

Change-Id: I92a817bf38f93a080b4ea1d1200537db6d768ccb

3 years agommifw-ipc : add rpc_port_deregister_proc_info when shutdown for disconnect exactly 03/264303/1
dyamy-lee [Wed, 15 Sep 2021 10:42:39 +0000 (19:42 +0900)]
mmifw-ipc : add rpc_port_deregister_proc_info when shutdown for disconnect exactly

Change-Id: I70b8950d4047284eb70f5ba98ed2a23fdd835730

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

Change-Id: I65a3264cabe7127796801992d2648a7a6fcc4f93
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc-test : following change of mmi_instance_destroy, change it's parameter... 64/264164/1
ulgal-park [Mon, 13 Sep 2021 14:22:49 +0000 (23:22 +0900)]
mmifw-ipc-test : following change of mmi_instance_destroy, change it's parameter and add checking validation

Change-Id: I3d847feb742f2d814de21dc21674ba2579c6927a

3 years agommifw-main-test : following change of mmi_instance_destory, change it's parameter... 63/264163/1
dyamy-lee [Mon, 13 Sep 2021 11:35:59 +0000 (20:35 +0900)]
mmifw-main-test : following change of mmi_instance_destory, change it's parameter and add checking validation

Change-Id: I06b9ae9b72d50601e9853bd0e77d80e7cd780f03

3 years agommifw : fix mmi_instance_destroy about removing pointer 62/264162/1
dyamy-lee [Mon, 13 Sep 2021 11:34:22 +0000 (20:34 +0900)]
mmifw : fix mmi_instance_destroy about removing pointer

previous version, free is done well but, it makes some case access not accessible address.
To remove not accessible address and know it removed or not, pass address of mmi_handle

Change-Id: I08a9d461ece7315d7e6d66b87816326b4b4d720e

3 years agommifw-ipc : initialize global variable at shutdown 39/264139/1
ulgal-park [Mon, 13 Sep 2021 08:42:09 +0000 (17:42 +0900)]
mmifw-ipc : initialize global variable at shutdown

Change-Id: I7dc5e206fbec54e5f508c5b07f7303db0f9b10ba

3 years agommifw-ipc : create mmifw-ipc api tc 38/264138/1
ulgal-park [Mon, 13 Sep 2021 05:36:21 +0000 (14:36 +0900)]
mmifw-ipc : create mmifw-ipc api tc

Change-Id: I43849d32288f8d61845f8bb482cf7bdee6a191e8

3 years agommifw-main-test : it needs a little time for receiving result of invoked proxy function. 37/264137/1
dyamy-lee [Mon, 13 Sep 2021 05:24:41 +0000 (14:24 +0900)]
mmifw-main-test : it needs a little time for receiving result of invoked proxy function.

Change-Id: I12891c06d6d17fbc6a95d6780fe2242809b43ee5

3 years agommifw tc : create mmifw api tc 36/264136/1
dyamy-lee [Thu, 9 Sep 2021 10:07:29 +0000 (19:07 +0900)]
mmifw tc : create mmifw api tc

Change-Id: Ia696365d8602bdfdace3981c0bce7523417e7f30

3 years agommifw-ipc : rpc_port_proxy_mmifw_destroy() remove list of callback handler, so delete... 35/264135/1
dyamy-lee [Wed, 8 Sep 2021 10:36:53 +0000 (19:36 +0900)]
mmifw-ipc : rpc_port_proxy_mmifw_destroy() remove list of callback handler, so delete duplication removing callback handler

Change-Id: I3cc07db48ec57fb780fb8f7fef37a1dc6527d4d3

3 years agommifw & ipc: fix mmi_state_get_current_state() to work correctly 34/264134/1
Sung-Jin Park [Thu, 9 Sep 2021 10:24:14 +0000 (19:24 +0900)]
mmifw & ipc: fix mmi_state_get_current_state() to work correctly

Change-Id: I717c5fb58179508c505df40a602ba72d0bec0421
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: free ev variable to prevent RESOURCE_LEAK 33/264133/1
Duna Oh [Fri, 10 Sep 2021 06:13:45 +0000 (15:13 +0900)]
mmifw-ipc: free ev variable to prevent RESOURCE_LEAK

Change-Id: I34db34fc033feb74f1f66d0a844b4f23f0584a20

3 years agommifw: remove unreachable code 32/264132/1
Sung-Jin Park [Thu, 9 Sep 2021 09:00:33 +0000 (18:00 +0900)]
mmifw: remove unreachable code

Change-Id: I73989091c06356c71b39ca728fd3bf7a2ce13e50
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw : solves ctrl+c abort issue - replace ecore_shutdown to ecore_main_loop_quit 31/264131/1
dyamy-lee [Mon, 6 Sep 2021 09:22:56 +0000 (18:22 +0900)]
mmifw : solves ctrl+c abort issue - replace ecore_shutdown to ecore_main_loop_quit

Change-Id: Ic50a40b9aae8f3d8ba575176317f8923cabb3171

3 years agommifw & ipc: add MMI_EVENT_CONNECTION event type/data struct and check code 30/264130/1
Sung-Jin Park [Fri, 4 Jun 2021 10:30:22 +0000 (19:30 +0900)]
mmifw & ipc: add MMI_EVENT_CONNECTION event type/data struct and check code

Change-Id: Id4f06accdf162656c57861255660f4f93cca1ec5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: remove unnecessary sender information in get_focus/set_state request 29/264129/1
Sung-Jin Park [Mon, 19 Jul 2021 10:49:22 +0000 (19:49 +0900)]
mmifw: remove unnecessary sender information in get_focus/set_state request

Change-Id: I4877b9d006d791e9fd4e1097db23f318d19a3dd9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: add omitted argument in rpc_port_register_proc_info() 28/264128/1
Sung-Jin Park [Mon, 19 Jul 2021 10:48:09 +0000 (19:48 +0900)]
mmifw-ipc: add omitted argument in rpc_port_register_proc_info()

Change-Id: I6be33e2751f850171b0a4bf958bf44e427b4ff60
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: include a header file to remove warning 27/264127/1
Sung-Jin Park [Tue, 13 Jul 2021 17:01:27 +0000 (02:01 +0900)]
mmifw-ipc: include a header file to remove warning

Change-Id: I5ef2c79a182aa7c8591ee75c8adf70ff5103c3e4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: deregister callbacks in mmi_ipc_shutdown() 26/264126/1
Sung-Jin Park [Tue, 13 Jul 2021 15:43:34 +0000 (00:43 +0900)]
mmifw-ipc: deregister callbacks in mmi_ipc_shutdown()

Change-Id: If9bda3a5051387bc08c3952f5b0300dd80efdc0d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: implement mmi event listener add/remove api 25/264125/1
Sung-Jin Park [Tue, 13 Jul 2021 12:44:13 +0000 (21:44 +0900)]
mmifw: implement mmi event listener add/remove api

Change-Id: I3452bea12cdcfb8bc932048800f8ade37d90d276
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: implement callbacks to add/free mmifw events 24/264124/1
Sung-Jin Park [Mon, 12 Jul 2021 17:25:17 +0000 (02:25 +0900)]
mmifw-ipc: implement callbacks to add/free mmifw events

Change-Id: I0fc0107954bf37d1069cb1be5bcaeadcf31e497b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: remove unnecessary user_data from mmi events 23/264123/1
Sung-Jin Park [Mon, 12 Jul 2021 17:23:50 +0000 (02:23 +0900)]
mmifw: remove unnecessary user_data from mmi events

Change-Id: I8f7a4bfadeabb209694564a20e2e271baf21473e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agopackaging: fix to copy mmi_proxy.* to interface dir 22/264122/1
Sung-Jin Park [Mon, 12 Jul 2021 17:22:34 +0000 (02:22 +0900)]
packaging: fix to copy mmi_proxy.* to interface dir

Change-Id: I8b3b31bf003bcb9bee19bc6a688055899938c0a9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw.tidl: add timestamp to struct voice_event 21/264121/1
Sung-Jin Park [Mon, 12 Jul 2021 17:21:16 +0000 (02:21 +0900)]
mmifw.tidl: add timestamp to struct voice_event

Change-Id: Iad84b6712a99a7cae6ad98f42fbfaacf3dfc8de5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw-ipc: create, register and destroy mmifw event handlers 20/264120/1
Sung-Jin Park [Mon, 12 Jul 2021 11:03:11 +0000 (20:03 +0900)]
mmifw-ipc: create, register and destroy mmifw event handlers

Change-Id: I75c067c83edb90630e1240b36531bc9f7b4c588a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: implement mmi apis using mmifw-ipc api 19/264119/1
Sung-Jin Park [Mon, 12 Jul 2021 10:58:51 +0000 (19:58 +0900)]
mmifw: implement mmi apis using mmifw-ipc api

Change-Id: Id10c43fdefc4ae9da22e344d88174e3a9cd9ed4b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: add initial implementation for mmifw ipc 18/264118/1
Sung-Jin Park [Mon, 12 Jul 2021 10:17:20 +0000 (19:17 +0900)]
mmifw: add initial implementation for mmifw ipc

Change-Id: I8cb7119d3d85151c17061272eaab77ff3226ad52
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: add header file for debug macros 17/264117/1
Sung-Jin Park [Mon, 12 Jul 2021 10:06:11 +0000 (19:06 +0900)]
mmifw: add header file for debug macros

Change-Id: Iea5bb2a7ff043f1aff10ed55c52bf14f3e0ba5fb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: add stdbool.h for bool type 16/264116/1
Sung-Jin Park [Mon, 12 Jul 2021 08:49:24 +0000 (17:49 +0900)]
mmifw: add stdbool.h for bool type

Change-Id: I21e3ef06be505c87820a4f16d0477f963e92f1bd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agobuild: fix to use pkg-config as dependency resolver 15/264115/1
Sung-Jin Park [Mon, 12 Jul 2021 08:48:32 +0000 (17:48 +0900)]
build: fix to use pkg-config as dependency resolver

Change-Id: Iefdf48b28e5cade163397e6bd8fcb61136dc3d0f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: add MMI_STATE_NONE 14/264114/1
Sung-Jin Park [Sat, 10 Jul 2021 18:13:10 +0000 (03:13 +0900)]
mmifw: add MMI_STATE_NONE

Change-Id: I012232c4571d62f3d07f93b96ab20431b1f945cc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommifw: add initial types and data structures 13/264113/1
Sung-Jin Park [Mon, 5 Jul 2021 13:50:10 +0000 (22:50 +0900)]
mmifw: add initial types and data structures

Change-Id: I1eaffd1db729cebe2745c88d48a220e7b0cf83a4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agobuild: add ecore dependency 12/264112/1
Sung-Jin Park [Tue, 29 Jun 2021 09:33:56 +0000 (18:33 +0900)]
build: add ecore dependency

Change-Id: I26c81efda110e62778d16601f836c34403537bb9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agommi: add initial development environment 11/264111/1
Sung-Jin Park [Sun, 20 Jun 2021 15:46:17 +0000 (00:46 +0900)]
mmi: add initial development environment

Change-Id: Ia1c73ecee31f3035bfc56f26c164fdec24279224

3 years agoInitial commit master
Sung-Jin Park [Mon, 13 Sep 2021 12:10:12 +0000 (21:10 +0900)]
Initial commit

Change-Id: I267171263eed5ebdedfc687c578b18d194c51af8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoInitial empty repository
Tizen Infrastructure [Fri, 10 Sep 2021 07:42:36 +0000 (07:42 +0000)]
Initial empty repository