summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
dyamy-lee [Thu, 15 Sep 2022 08:42:55 +0000 (17:42 +0900)]
remove wrapper of checking connection in retry function
retry function is called when it is alreday not connected.
So, this remove re-checking connected value, for readability and clear logic
Change-Id: Ifb7ac64d23cdf66d5f4cacf547b7ebf28a6783fd
dyamy-lee [Thu, 15 Sep 2022 08:35:52 +0000 (17:35 +0900)]
rename internal function
using '__' prefix and 'static' keyword is better for internal function.
So, rename mmi_client_convert_error_code to __mmi_client_convert_error_code.
Change-Id: I038fd2ab0a396fa347e8f988ff6ed7489f4af5a4
dyamy-lee [Thu, 15 Sep 2022 08:32:53 +0000 (17:32 +0900)]
change return value
this patch changed some functions' return value from INVALID_PARAMETER to OPERATION_FAILED.
Using operation vailed error is more proper, because these variables are managed internal.
Change-Id: I2e5fd908aa5f615e16d2e9730a526fff3816085e
dyamy-lee [Thu, 15 Sep 2022 02:45:25 +0000 (11:45 +0900)]
change mmi_input_event_type_e and add tests more about activate
add mmi input event type none because of mmi manager logic
rename enum of mmi_input_event_type_e following mmi manager
add other tests related mmi_activate_input_event
Change-Id: Idf90955cd4d2cca067abd690ffea5f84f7eed318
dyamy-lee [Tue, 13 Sep 2022 01:52:56 +0000 (10:52 +0900)]
activate input event
mmi_activate_input_event is called by client, and it check saved input event and callback.
If it has matched one, invoke activate input event to stub.
Change-Id: I6866edc74f7453d752b679050a44ce4f55193186
dyamy-lee [Tue, 13 Sep 2022 01:30:58 +0000 (10:30 +0900)]
add retry connection
if connect_sync is fail or not connected when it invoke register,
retry connection as sync again.
Change-Id: Ibcec136ab0afdf9508d0a08087974a8639d8c5da
dyamy-lee [Thu, 8 Sep 2022 02:32:36 +0000 (11:32 +0900)]
change ipc connection as sync and add registering in result cb
Changed IPC connection as sync.
By sync connection, it can register input event and it's result_cb to mmi service
when mmi_set_result_cb is called.
Change-Id: I987e0cbb891907c12cbbe8219fd5467676d3e31f
dyamy-lee [Thu, 15 Sep 2022 01:00:45 +0000 (10:00 +0900)]
move user_data position as last of parameter
Change-Id: Idb14012a735b5985e0bb5b8e7a0448b5015ebbce
dyamy-lee [Thu, 8 Sep 2022 06:06:56 +0000 (15:06 +0900)]
rename init/shutdown in ipc
mmi_ipc_init/shutdown -> mmi_ipc_initialize/deinitialize
Change-Id: Ie4bdb6186fe6952d3ab46f16340a0790806f6170
dyamy-lee [Thu, 8 Sep 2022 01:14:08 +0000 (10:14 +0900)]
remove input_event_state and mmi_state_e
These states will not be used. So, removed these and codes of using these.
Change-Id: I8f9e4bf4daaaae134609990de07295a45f48f679
dyamy-lee [Thu, 8 Sep 2022 01:04:01 +0000 (10:04 +0900)]
replace name of result_cb to mmi_result_cb
it chang the name of result_cb to mmi_result_cb for reducing unclear, especially consider ACR
Change-Id: I9ef921a7f57b47d532a84ea77b8f311a922a3816
dyamy-lee [Wed, 7 Sep 2022 08:01:23 +0000 (17:01 +0900)]
rename function of mmi.h
following the it's role, it's more suit to rename as initialize/deinitialize
Change-Id: I850f9001c931deb996bdc04f2907f83e724d9ecb
dyamy-lee [Wed, 7 Sep 2022 07:56:57 +0000 (16:56 +0900)]
Replace the license as Apache
Change-Id: I4f30fc67add245ee6f0dd7440a0bc3b801c94857
dyamy-lee [Wed, 7 Sep 2022 07:55:27 +0000 (16:55 +0900)]
remove mmi-common.h and move those contents to mmi.h
Those definition can be expose to app developer.
So, combine codes at one header file.
After that, replace using mmi-common.h to mmi.h.
Change-Id: Ibece423364b002f359de6ec9c8cd52e1eeff9928
dyamy-lee [Tue, 6 Sep 2022 07:56:57 +0000 (16:56 +0900)]
add remove of callback lists
When is calling, added result_cb_list also needs to destroy.
So, add code of removing result_cb_list.
Also, for checking this, add test too.
Change-Id: Ic0428fc0db0f040138f71f221cc7bb362e909a81
dyamy-lee [Tue, 6 Sep 2022 07:54:40 +0000 (16:54 +0900)]
replace return value of mmi_set_result_cb
Following a mmi_client_set_result_cb's error type is more clear than NOT_SUPPORTED error type.
So, changed it's return value following it on source code and test, too.
Change-Id: Id66f763de1904034ed321e22cbe52ad454a9c9df
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
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
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
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
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
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
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
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
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
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
dyamy-lee [Mon, 25 Jul 2022 00:02:46 +0000 (09:02 +0900)]
Update version(0.1.1)
Change-Id: I32d8bee7732cbc35c4ebac5379f6df43d4b55a81
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>
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>
dyamy-lee [Fri, 4 Mar 2022 02:10:57 +0000 (11:10 +0900)]
mmifw-ipc : initialize array_string_h
Change-Id: I1d0c0c9423b96a83e840cfc2dca85678a4bd133a
dyamy-lee [Thu, 3 Mar 2022 11:16:43 +0000 (20:16 +0900)]
change CODEOWNERS by changing members
Change-Id: Ia64dd47a6676e0be14d2a90fefd65b397f287b81
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
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
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
ulgal-park [Thu, 16 Sep 2021 06:24:00 +0000 (15:24 +0900)]
mmifw-ipc-test : remove unnacessary tab
Change-Id: I892247156220e7658e36192687b6fe75bb616566
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
ulgal-park [Thu, 16 Sep 2021 06:16:31 +0000 (15:16 +0900)]
mmifw-ipc-test : fix checking initial value
Change-Id: I108c4ca35902fc06c275073705dd9414078b3840
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
ulgal-park [Thu, 16 Sep 2021 04:05:54 +0000 (13:05 +0900)]
mmifw-main-test : remove unnecessary tab
Change-Id: I2f1b1f3ec86558826e3ff22be616ccfa4970e01a
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
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
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
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>
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
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
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
ulgal-park [Mon, 13 Sep 2021 08:42:09 +0000 (17:42 +0900)]
mmifw-ipc : initialize global variable at shutdown
Change-Id: I7dc5e206fbec54e5f508c5b07f7303db0f9b10ba
ulgal-park [Mon, 13 Sep 2021 05:36:21 +0000 (14:36 +0900)]
mmifw-ipc : create mmifw-ipc api tc
Change-Id: I43849d32288f8d61845f8bb482cf7bdee6a191e8
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
dyamy-lee [Thu, 9 Sep 2021 10:07:29 +0000 (19:07 +0900)]
mmifw tc : create mmifw api tc
Change-Id: Ia696365d8602bdfdace3981c0bce7523417e7f30
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
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sung-Jin Park [Sun, 20 Jun 2021 15:46:17 +0000 (00:46 +0900)]
mmi: add initial development environment
Change-Id: Ia1c73ecee31f3035bfc56f26c164fdec24279224
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>
Tizen Infrastructure [Fri, 10 Sep 2021 07:42:36 +0000 (07:42 +0000)]
Initial empty repository