platform/core/uifw/voice-control.git
2 years agoReplace the name METHOD_ERROR_TO_APP with METHOD_ERROR 46/279246/1
sooyeon [Thu, 4 Aug 2022 07:28:51 +0000 (16:28 +0900)]
Replace the name METHOD_ERROR_TO_APP with METHOD_ERROR

Change-Id: I6ca381930becc1a6a01be55aa45b0dcac173637d
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoChange variable names and function names 45/279245/1
sooyeon [Thu, 4 Aug 2022 04:42:54 +0000 (13:42 +0900)]
Change variable names and function names

Change-Id: I3eea6c8094a1752911243ce8e9202ecf3b256ec4
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove unnecessary codes (get_handle, xid) 44/279244/1
sooyeon [Thu, 4 Aug 2022 02:25:29 +0000 (11:25 +0900)]
Remove unnecessary codes (get_handle, xid)

Change-Id: Ided2c548d480e7933aa0bb6ecf4312b8c84f6d8d
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove unused codes 43/279243/1
sooyeon [Thu, 4 Aug 2022 01:31:44 +0000 (10:31 +0900)]
Remove unused codes

Change-Id: Ie4c287f6745631d386d8aa5edc387c4662c1a95d
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove vc handle in vc and vc_client 42/279242/1
sooyeon [Wed, 3 Aug 2022 11:22:03 +0000 (20:22 +0900)]
Remove vc handle in vc and vc_client

Change-Id: I6dc961c12e2949539df54251b8a0b4a752620c3a
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove unused functions 41/279241/1
sooyeon [Wed, 3 Aug 2022 08:35:04 +0000 (17:35 +0900)]
Remove unused functions

Change-Id: I448171a8c8076a09886c8a5b26bb85d098e34360
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove a logic to check TIDL privileges 06/279106/2 accepted/tizen/unified/20220802.144742 submit/tizen/20220802.063524
sooyeon [Tue, 2 Aug 2022 05:55:20 +0000 (14:55 +0900)]
Remove a logic to check TIDL privileges

Change-Id: I82f566421225fd7d6e903fe45a7c30592e9fbf6c
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix tidl error handling codes 66/279066/1 submit/tizen/20220802.012937
sooyeon [Mon, 1 Aug 2022 11:20:41 +0000 (20:20 +0900)]
Fix tidl error handling codes

Change-Id: I2d4662c41d486335b597d5f3930164150873f5d9
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoChange type casting using intptr_t 48/279048/1
sooyeon [Mon, 1 Aug 2022 06:11:23 +0000 (15:11 +0900)]
Change type casting using intptr_t

Change-Id: I596abafd51aa4af3e537b0df561b40c50cfcbc52
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoUpdate version (1.70.5) 38/279038/1 submit/tizen/20220801.042437
sooyeon [Mon, 1 Aug 2022 01:46:42 +0000 (10:46 +0900)]
Update version (1.70.5)

Change-Id: Idc0ab244ddd26b049995da126cdee2c6e73deb62
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix svace and coverity issues 01/279001/3
sooyeon [Fri, 29 Jul 2022 06:00:12 +0000 (15:00 +0900)]
Fix svace and coverity issues

Change-Id: Ic72a37bbbd082b9cbb35f8cafdf9384a6cbd60d6
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoReplace codes to check feature and privilege 77/278977/1
sooyeon [Wed, 6 Jul 2022 07:11:34 +0000 (16:11 +0900)]
Replace codes to check feature and privilege

Change-Id: I2691dbf7a1c3f4a5bcdb8e9eebb29b28cad050ce
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove unnecessary logs 76/278976/1
sooyeon [Wed, 6 Jul 2022 06:10:13 +0000 (15:10 +0900)]
Remove unnecessary logs

Change-Id: I7f4316fba8a62061cbe819465f2520e10e187fcb
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoReplace duplicated codes and Remove unnecessary logs 75/278975/1
sooyeon [Wed, 6 Jul 2022 04:56:28 +0000 (13:56 +0900)]
Replace duplicated codes and Remove unnecessary logs

Change-Id: I595a15ba1e9b430e6e6f31ab84a491d60f7fc175
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix TC issues (ignore ipc error in vce TCs and remove unnecessary codes) 74/278974/1
sooyeon [Mon, 4 Jul 2022 07:55:59 +0000 (16:55 +0900)]
Fix TC issues (ignore ipc error in vce TCs and remove unnecessary codes)

Change-Id: I4944efd2ce825fc69ab6dcc86d90bc2b854f8d35
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoAdd privilege checker for TIDL privileges 73/278973/1
sooyeon [Thu, 30 Jun 2022 09:33:26 +0000 (18:33 +0900)]
Add privilege checker for TIDL privileges

Change-Id: Iaf23e79bf61094688579297613f7e1ec3753d618
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRename function name and Rearrange codes 72/278972/1
sooyeon [Thu, 30 Jun 2022 08:44:12 +0000 (17:44 +0900)]
Rename function name and Rearrange codes

Change-Id: Iaa053e9004dd3aaf3e6caa99bfcab5288d73211b
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix a minor issue (engine_appid was not saved in info handle) 71/278971/1
sooyeon [Thu, 30 Jun 2022 04:37:55 +0000 (13:37 +0900)]
Fix a minor issue (engine_appid was not saved in info handle)

Change-Id: I380beddfa0953fd21a9524158d8aa5b8f098878c
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove unnecessary command and Fix return value in vcd_client_widget_get_foreground_pid() 70/278970/1
sooyeon [Thu, 30 Jun 2022 02:48:50 +0000 (11:48 +0900)]
Remove unnecessary command and Fix return value in vcd_client_widget_get_foreground_pid()

Change-Id: I686738186f46907a74adccf412bc2295a1b79655
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoUnify bundle data in client, mgr, and widget 69/278969/1
sooyeon [Wed, 29 Jun 2022 08:39:17 +0000 (17:39 +0900)]
Unify bundle data in client, mgr, and widget

Change-Id: If822325a6edfcc6d6ea6fdf65229455fb8f081f6
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoChange return values and Fix minor issues 68/278968/1
sooyeon [Wed, 29 Jun 2022 06:44:11 +0000 (15:44 +0900)]
Change return values and Fix minor issues

Change-Id: I1d10d83f58b3ec36ed3308b8906a5151b7571875
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRemove files and codes related to DBus 67/278967/1
sooyeon [Wed, 29 Jun 2022 01:51:11 +0000 (10:51 +0900)]
Remove files and codes related to DBus

Change-Id: I48d11a36f6551c9169d576218b9b56660de85489
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRename extern functions and Rearrange codes 66/278966/1
sooyeon [Tue, 28 Jun 2022 02:22:34 +0000 (11:22 +0900)]
Rename extern functions and Rearrange codes

Change-Id: I3da3d9e9a46b6126af91b9ddcc16b4f00ef4123f
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix minor issues (indentation, filemod, add a checker of return values, etc) 65/278965/1
sooyeon [Tue, 28 Jun 2022 02:02:03 +0000 (11:02 +0900)]
Fix minor issues (indentation, filemod, add a checker of return values, etc)

Change-Id: I0f34be3b3fdfd659e7f47bca5d82f0c5333c1840
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoReplace IPC of vc_setting 64/278964/1
sooyeon [Mon, 27 Jun 2022 08:12:33 +0000 (17:12 +0900)]
Replace IPC of vc_setting

Change-Id: I58f30103efd851762c01e6f2730087364c1b8cf8
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoAdd a missing file in CMakeLists and a code to handle TTS feedback data 63/278963/1
sooyeon [Sun, 26 Jun 2022 06:15:35 +0000 (15:15 +0900)]
Add a missing file in CMakeLists and a code to handle TTS feedback data

Change-Id: I9e8ef00e6e88a363cfc47578b9e19e7335f3f4c1
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoImplement functions related to auth, set_foreground, send_utterance_status 62/278962/1
sooyeon [Thu, 23 Jun 2022 01:47:28 +0000 (10:47 +0900)]
Implement functions related to auth, set_foreground, send_utterance_status

Change-Id: Ieddc83ffd9e76e75eedf28416dd21e952a6419ba
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoDisconnection dbus relationship 61/278961/1
sooyeon [Wed, 22 Jun 2022 09:45:50 +0000 (18:45 +0900)]
Disconnection dbus relationship

Change-Id: Ia8bfdf75fb6b8aad8bbcd49968e3185434cdfe1e
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoRename functions and Implement some TODOs 60/278960/1
sooyeon [Wed, 22 Jun 2022 09:32:41 +0000 (18:32 +0900)]
Rename functions and Implement some TODOs

Change-Id: Ic517b7bd84168c53d06dd5b752bee91d418e94a2
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoAdd namespace(-n) option to build tidlc and Change TIDL apis 59/278959/1
sooyeon [Mon, 20 Jun 2022 12:05:33 +0000 (21:05 +0900)]
Add namespace(-n) option to build tidlc and Change TIDL apis

Change-Id: I1feba522be81db7567081650613e506f085d1906
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoAdd functions related to auth and stub tidl 58/278958/1
sooyeon [Mon, 13 Jun 2022 12:07:36 +0000 (21:07 +0900)]
Add functions related to auth and stub tidl

Change-Id: I1eded5e4c8f419de2925d30019c4c1579d013008
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoReplace IPC (VCC) from dbus to tidl 57/278957/1
sooyeon [Fri, 3 Jun 2022 09:10:20 +0000 (18:10 +0900)]
Replace IPC (VCC) from dbus to tidl

Change-Id: Ief592a9240490c404b756b37cb7b887c3a974321
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoChange retry logic to match TIDL 82/275282/3
ulgal-park [Thu, 19 May 2022 10:39:58 +0000 (19:39 +0900)]
Change retry logic to match TIDL

Change-Id: I50b7ca2aa38904ebbc92bcdf6ba2b3390995ea69

2 years agoFix ipc sync function's return value 81/275281/2
ulgal-park [Thu, 19 May 2022 10:39:01 +0000 (19:39 +0900)]
Fix ipc sync function's return value

Change-Id: Ideac4cd335daf2de50153f96443af85bde0a0f49

2 years agoReplace IPC between widget and server from dbus to tidl 80/275280/2
ulgal-park [Thu, 19 May 2022 09:53:58 +0000 (18:53 +0900)]
Replace IPC between widget and server from dbus to tidl

Change-Id: I82d73ad71b794ab13f7bfd1a6298c531cf4805b4

2 years agoReplace IPC between manager and server from dbus to tidl 79/275279/2
ulgal-park [Fri, 13 May 2022 06:32:04 +0000 (15:32 +0900)]
Replace IPC between manager and server from dbus to tidl

Change-Id: I76e2c9aeef41f3d166fbe19feca62d3364f875bd

2 years agoMerge "Fix line coverage scope and test option" into tizen
Suyeon Hwang [Thu, 28 Jul 2022 01:10:53 +0000 (01:10 +0000)]
Merge "Fix line coverage scope and test option" into tizen

2 years agoAdd metadata key 14/278714/3 accepted/tizen/unified/20220728.044817 submit/tizen/20220726.013524 submit/tizen/20220727.082051
ulgal-park [Mon, 25 Jul 2022 08:44:05 +0000 (17:44 +0900)]
Add metadata key

Change-Id: I898af8cff671a6b591360b86607c21831485d3e7

2 years agoFix line coverage scope and test option 70/278670/1
Suyeon Hwang [Mon, 25 Jul 2022 02:47:25 +0000 (11:47 +0900)]
Fix line coverage scope and test option

This patch reduces the scope for checking line coverage. The line
coverage is for checking client API, so other files in this repo is not
target of the line coverage test.

Change-Id: I677a34eb9a682a7cfd0c3d7e061fda1b7554cf17
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoCheck whether symbolic link or real file 09/277009/5
wn.jang [Wed, 29 Jun 2022 05:52:08 +0000 (14:52 +0900)]
Check whether symbolic link or real file

If open a file in write mode and do not check whether the file is a symbolic link or not, the file can be overwritten unintentionally.
So, this commit will check whether the file is symbolic link or real file.

Change-Id: I9db8c0287b479ef7474a2525fc1de3bd39e47e22

2 years agoUpdate version (1.70.4) 35/276235/1 accepted/tizen/unified/20220614.134607 submit/tizen/20220613.094311 submit/tizen/20220614.055600
Suyeon Hwang [Mon, 13 Jun 2022 08:14:53 +0000 (17:14 +0900)]
Update version (1.70.4)

Change-Id: I481f920d4592c0e7b1acfa02e40406c15f7305c8
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoFix unittest for line coverage automation 86/276186/1
Suyeon Hwang [Fri, 10 Jun 2022 10:20:26 +0000 (19:20 +0900)]
Fix unittest for line coverage automation

Change-Id: I81ba58b22167ee07f155fc0fc0c468a4095b1989
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoFix gcov package contents for automation 41/276041/1
Suyeon Hwang [Thu, 9 Jun 2022 02:47:08 +0000 (11:47 +0900)]
Fix gcov package contents for automation

Change-Id: Ia9f42f9670c8c44d0cbfcfcffbed2d9751628829
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoMerge "Revert "Replace IPC between manager and server from dbus to tidl"" into tizen accepted/tizen/unified/20220502.003742 submit/tizen/20220429.072034
Seongmin Park [Fri, 29 Apr 2022 07:04:49 +0000 (07:04 +0000)]
Merge "Revert "Replace IPC between manager and server from dbus to tidl"" into tizen

2 years agoRevert "Replace IPC between manager and server from dbus to tidl" 89/274489/1
Seongmin Park [Fri, 29 Apr 2022 05:14:03 +0000 (05:14 +0000)]
Revert "Replace IPC between manager and server from dbus to tidl"

This reverts commit 58c72fc9dde94ee12ecae41b579b724c86269eba.

Reason for revert: this commit will be re-merged when all dbus replaced to tidl

Change-Id: Ic50ef53ff4b1e455464e587a9282f0b1989f5414

2 years agoMerge "Revert "Replace IPC between widget and server from dbus to tidl"" into tizen
Seongmin Park [Fri, 29 Apr 2022 05:09:53 +0000 (05:09 +0000)]
Merge "Revert "Replace IPC between widget and server from dbus to tidl"" into tizen

2 years agoRevert "Replace IPC between widget and server from dbus to tidl" 82/274482/1
Seongmin Park [Fri, 29 Apr 2022 02:57:40 +0000 (02:57 +0000)]
Revert "Replace IPC between widget and server from dbus to tidl"

This reverts commit a88b50ad66a722e2b44735155623da2b8d2a75e0.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I1e670df9d691736100f61edb16bf54fa349e6090

2 years agoMerge "Replace IPC between widget and server from dbus to tidl" into tizen
Seongmin Park [Fri, 29 Apr 2022 02:44:46 +0000 (02:44 +0000)]
Merge "Replace IPC between widget and server from dbus to tidl" into tizen

2 years agoReplace IPC between widget and server from dbus to tidl 51/273451/5
ulgal-park [Tue, 15 Mar 2022 03:04:27 +0000 (12:04 +0900)]
Replace IPC between widget and server from dbus to tidl

Change-Id: I08d104ed3511cfb0b251062e5521664105ae2cb3

2 years agoAdd metadata profile xml file 68/273768/3
wn.jang [Wed, 13 Apr 2022 10:38:09 +0000 (19:38 +0900)]
Add metadata profile xml file

Change-Id: I34c62f51fef48d29ce505c5ba010f72d7b4194ba

2 years agoReplace IPC between manager and server from dbus to tidl 50/273450/8
ulgal-park [Mon, 14 Feb 2022 10:31:00 +0000 (19:31 +0900)]
Replace IPC between manager and server from dbus to tidl

Change-Id: I0495d54c8a3ae5f89b5c38750e80760391a8e4c9

2 years agoAdd error into the description of vce_send_error() 70/272270/1 submit/tizen/20220314.023839
Suyeon Hwang [Mon, 14 Mar 2022 02:25:06 +0000 (11:25 +0900)]
Add error into the description of vce_send_error()

Change-Id: I64f455f0433459508d6016f16806fc9b296626ca
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoRemove unused codes 25/272025/2
wn.jang [Mon, 7 Mar 2022 03:12:27 +0000 (12:12 +0900)]
Remove unused codes

UpdateEvent has never used until now.
But this should be supported for notifying update state.
Therefore, I leave a TODO comment.

Change-Id: I4ef0ea99785b51c23cf9c93363d93a65c67ca0a5

2 years agoUpdate version (1.70.3) 33/271633/1 accepted/tizen/unified/20220224.125740 submit/tizen/20220224.102331
sooyeon [Thu, 24 Feb 2022 10:10:46 +0000 (19:10 +0900)]
Update version (1.70.3)

Change-Id: Ie8ba2b7c8d416de1662759984565737a5541bb9a
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoFix svace issue (PASSED_TO_PROC_AFTER_RELEASE) 75/271575/1
sooyeon [Wed, 23 Feb 2022 15:19:48 +0000 (00:19 +0900)]
Fix svace issue (PASSED_TO_PROC_AFTER_RELEASE)

Change-Id: I5278c5197e3298fb4fdd933eb5972d8c3e6dc5f7
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 years agoUpdate version to 1.70.2 41/270741/1 accepted/tizen/unified/20220209.131743 submit/tizen/20220208.060036
wn.jang [Tue, 8 Feb 2022 05:56:05 +0000 (14:56 +0900)]
Update version to 1.70.2

Change-Id: I6a3f5cd4bf2065da5f832aad153ebf4eb5a7b247

2 years agoMerge "Fix defects from static analysis tool" into tizen
Wonnam Jang [Tue, 8 Feb 2022 05:57:31 +0000 (05:57 +0000)]
Merge "Fix defects from static analysis tool" into tizen

2 years agoFix defects from static analysis tool 24/270724/1
wn.jang [Tue, 8 Feb 2022 05:24:43 +0000 (14:24 +0900)]
Fix defects from static analysis tool

Change-Id: I9cb797a9f2ab1ade83b2e752359fe906ede6c5f5

2 years agoCall service state changed callback before state changed callback 72/269072/2
Suyeon Hwang [Fri, 7 Jan 2022 07:35:08 +0000 (16:35 +0900)]
Call service state changed callback before state changed callback

https://review.tizen.org/gerrit/c/platform/core/uifw/voice-control/+/223267
The patch of this link makes that service state changed callback is called asynchronously. This was
because prepare process was handled on sub thread. In order to assure the callback calls on main
thread, the patch seperated the code for calling service state changed callback and state changed
callback. However, this change made client can not assure the value of service state because it
was updated unknown timing.

To solve this problem, this patch calls the service state changed callback before calling the state
changed callback. Current code does not handle the prepare process on sub thread but on main
thread. So, by this change, service state would be synchornously updated when the state changed
callback is called.

Change-Id: I276577fb494a93c8e4f58182c2e16a6ff88b7423
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoUpdate version to 1.70.1 13/269813/1 submit/tizen/20220120.074711
wn.jang [Thu, 20 Jan 2022 07:33:20 +0000 (16:33 +0900)]
Update version to 1.70.1

Change-Id: I9d3cf3d032bdf59657fbb54729707b5b325f2743

2 years agoCoverage support for robot profile 80/269780/1
wn.jang [Thu, 20 Jan 2022 06:31:25 +0000 (15:31 +0900)]
Coverage support for robot profile

Change-Id: Ifc880b594a7183e62603ee6801c5bad6465e985b

2 years agoGet library name from vconf 25/269025/1
Suyeon Hwang [Thu, 6 Jan 2022 11:31:56 +0000 (20:31 +0900)]
Get library name from vconf

Current code tries to get full path of dependency module from vconf of system. This means that
framework allows to use annonymous library which is installed on any location. However, this
behavior might allow to access malicious code and this would become critical problem.

To solve this issue, this patch fix that the code gets the file name of library from the vconf.
By this patch, all dependency module libraries should be installed predetermined location.
The location is read only directory, so malicious code can not be located.

Change-Id: I5ab83609229a0fe84b152894b3935d586859c98a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoMerge branch 'tizen_6.5' into tizen 92/268592/1
Suyeon Hwang [Mon, 27 Dec 2021 09:40:27 +0000 (18:40 +0900)]
Merge branch 'tizen_6.5' into tizen

Change-Id: I3cdca0b8231528f8d8bc29144b81857f753975dc

2 years agoUpdate version (1.70.0) 91/268591/1
Suyeon Hwang [Mon, 27 Dec 2021 09:14:39 +0000 (18:14 +0900)]
Update version (1.70.0)

Change-Id: I3ff2697cbbb06d9e2fc1dbaa7ab0b5bad473642a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoUpdate version (1.65.6) 81/268581/1
Suyeon Hwang [Mon, 27 Dec 2021 08:35:37 +0000 (17:35 +0900)]
Update version (1.65.6)

Change-Id: Ief5c962460cf35e3396f347ab0aab79fc61a7b2d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoUnify indentation of enums on vce.h 16/267216/2
Suyeon Hwang [Tue, 30 Nov 2021 02:06:53 +0000 (11:06 +0900)]
Unify indentation of enums on vce.h

Change-Id: I101f12cea06cfd55a5b1c75fc2cb91982a52a814
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoMake function for get pid that requests tts play 37/266937/2
Suyeon Hwang [Mon, 22 Nov 2021 10:50:37 +0000 (19:50 +0900)]
Make function for get pid that requests tts play

Change-Id: Ica6e6c058814f06a3e276dc65474d175a21f837a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoSend error about tts failed to client app 36/266936/2
Suyeon Hwang [Mon, 22 Nov 2021 10:32:57 +0000 (19:32 +0900)]
Send error about tts failed to client app

Change-Id: Ic7736f0f2381bc873f87da0f8d455b61ebd87d1a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoChange variable related with uid to unsigned integer 71/268571/1
Suyeon Hwang [Mon, 27 Dec 2021 05:47:38 +0000 (14:47 +0900)]
Change variable related with uid to unsigned integer

Change-Id: Id74b98a2adc21d5e71905203ec5752c11b826abf
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoAdd handle type value when initialize config 30/267830/1
Suyeon Hwang [Fri, 10 Dec 2021 07:50:10 +0000 (16:50 +0900)]
Add handle type value when initialize config

When client initialize the vc_config_mgr, manager and setting client send the handle with unique
type value as a parameter into. This is because the uid can be used to check the type of client
when vc_config_mgr needs to identify the client. However, widget client did not add unique value
into the handle.

Thus, this patch makes the widget client send handle with unique value for widget client. By this
change, widget client also works same as other types of client.

Change-Id: I3eb28c8a97621dd9809447bd63a79858f7353ef8
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoFix format string and variable name 39/267739/4
Suyeon Hwang [Thu, 9 Dec 2021 09:32:36 +0000 (18:32 +0900)]
Fix format string and variable name

By changing data type of uid, many mismatchess between data of format string and variable are
generated. And also, the name 'uid' is used too generally. I may cause misunderstand about
the purpose of the variable.

To solve this problem, this patch changes the format string to match the variables. And also,
this patch changes the name of variable to make name more clear.

Change-Id: Id86e57b5ce39589c7c65eeb9106abf8040f6aed6
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
2 years agoUpdate version to 1.65.5 67/267767/1 accepted/tizen/6.5/unified/20211212.212835 submit/tizen_6.5/20211209.233844
wn.jang [Thu, 9 Dec 2021 13:18:59 +0000 (22:18 +0900)]
Update version to 1.65.5

Change-Id: Ie91a2bdc2fb1955f30e1b6f539f794b43edfed4b

2 years agoUpdate version to 1.65.5 66/267766/1 accepted/tizen/unified/20211210.115150 submit/tizen/20211209.233938
wn.jang [Thu, 9 Dec 2021 13:18:59 +0000 (22:18 +0900)]
Update version to 1.65.5

Change-Id: Ie91a2bdc2fb1955f30e1b6f539f794b43edfed4b

2 years agoMerge "Change type of uid from signed int to unsigned int" into tizen
Wonnam Jang [Thu, 9 Dec 2021 13:19:29 +0000 (13:19 +0000)]
Merge "Change type of uid from signed int to unsigned int" into tizen

2 years agoChange type of uid from signed int to unsigned int 64/267764/4
wn.jang [Thu, 9 Dec 2021 12:37:04 +0000 (21:37 +0900)]
Change type of uid from signed int to unsigned int

Change-Id: I4c3754d4a468afa9fa1b7091eb65a8124869ba0e

2 years agoChange type of uid from signed int to unsigned int 63/267763/4
wn.jang [Thu, 9 Dec 2021 12:37:04 +0000 (21:37 +0900)]
Change type of uid from signed int to unsigned int

Change-Id: I4c3754d4a468afa9fa1b7091eb65a8124869ba0e

2 years ago[ACR-1670] Add error enum for tts operation 35/266935/1 accepted/tizen/unified/20211208.121830 submit/tizen/20211207.045915
Suyeon Hwang [Mon, 22 Nov 2021 10:32:13 +0000 (19:32 +0900)]
[ACR-1670] Add error enum for tts operation

Change-Id: Id48b92cab2b55b96f88fe4597ff46ecd0c874bad
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoClean up and Add log into dependency audio manager 49/266849/1
Suyeon Hwang [Fri, 19 Nov 2021 11:09:42 +0000 (20:09 +0900)]
Clean up and Add log into dependency audio manager

Change-Id: Ic19d1d18c9737e35985db7ff80ea4b0b5c1d026b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoCheck the streaming mode properly 48/266848/1
Suyeon Hwang [Fri, 19 Nov 2021 09:32:02 +0000 (18:32 +0900)]
Check the streaming mode properly

There is two cases to get sound data. One is recording sound data from dependency audio manager.
And the other is getting from manager app using IPC. Streaming mode helps to identify this two
situation.

- Using dependency audio manager :
  VCD_AUDIO_STREAMING_MODE_VC_SERVICE, VCD_AUDIO_STREAMING_MODE_MULTI_ASSISTANT
- Using IPC from voice control manager :
  VCD_AUDIO_STREAMING_MODE_OUTSIDE

This patch fixes the check code to make each function works with proper streaming mode.

Change-Id: Ief6c07e18ba3ba7a8c10f210fa868ff7948ce046
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoMerge branch 'tizen' into tizen_6.5 66/266666/1 accepted/tizen/6.5/unified/20211117.210539 submit/tizen_6.5/20211117.060151
Suyeon Hwang [Wed, 17 Nov 2021 04:31:40 +0000 (13:31 +0900)]
Merge branch 'tizen' into tizen_6.5

Change-Id: Iba3d9cfde54b3d6ccb4d50f0aebc4b6f1249fdd8

3 years agoUpdate version (1.65.4) 43/266543/1 accepted/tizen/unified/20211123.015812 submit/tizen/20211117.084911
Suyeon Hwang [Mon, 15 Nov 2021 07:32:53 +0000 (16:32 +0900)]
Update version (1.65.4)

Change-Id: I2c50f8620a8dbec3067ae9e70b310e95c62d2ddd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoCall deinitialize() if error occurs after initialize() 42/266542/1
Suyeon Hwang [Mon, 15 Nov 2021 07:32:23 +0000 (16:32 +0900)]
Call deinitialize() if error occurs after initialize()

Change-Id: I275c7f0724d6a7676d0c68ba6c5554ac822c0795
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoRelease memory when open connection is failed 77/265777/4 accepted/tizen/unified/20211029.132506 submit/tizen/20211028.131731
wn.jang [Thu, 28 Oct 2021 08:45:49 +0000 (17:45 +0900)]
Release memory when open connection is failed

Change-Id: I3172ee394b75ea8a63e747f24dfc0797ee6a0fad

3 years agoUpdate version (1.65.3) 59/264959/1
Suyeon Hwang [Wed, 6 Oct 2021 06:13:49 +0000 (15:13 +0900)]
Update version (1.65.3)

Change-Id: I23bf5095f893033867694b62506acd2c3d2861b7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoFix memory leak when remove item from g_list 66/264866/1
Suyeon Hwang [Fri, 1 Oct 2021 08:51:29 +0000 (17:51 +0900)]
Fix memory leak when remove item from g_list

Change-Id: Iea82db5c35455bbf180bb160d217a7188780ec72
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoExtend waiting time for response from engine 52/264152/1 accepted/tizen/6.5/unified/20211028.123107 accepted/tizen/unified/20210914.221905 submit/tizen/20210914.040626 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
wn.jang [Tue, 14 Sep 2021 01:58:47 +0000 (10:58 +0900)]
Extend waiting time for response from engine

Previous waiting time was 2 sec, because 200 ms x 10 retry time was.
But, in TW3, VC Engine was launched after almost 3 sec.
Therefore, waiting time will be extended to 4 sec by this patch.

Change-Id: I0aa8077663bd345e17f2bf8bf11373d3921dd470

3 years agoUpdate version (1.65.2) 29/261729/1
Suyeon Hwang [Fri, 23 Jul 2021 01:53:31 +0000 (10:53 +0900)]
Update version (1.65.2)

Change-Id: I40c7242de4d22b5ce2bb89c6bac462d74453edf7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoRemove memory leak on new TC for vc_get_system_command_list() 39/261539/1
Suyeon Hwang [Tue, 20 Jul 2021 11:23:02 +0000 (20:23 +0900)]
Remove memory leak on new TC for vc_get_system_command_list()

Change-Id: Ieeb48b4aee90a4b9bf50f0b2dc3d43bcdab90cb6
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoAllocate memory for output command list handle 38/261538/1
Suyeon Hwang [Tue, 20 Jul 2021 09:34:00 +0000 (18:34 +0900)]
Allocate memory for output command list handle

'vc_get_system_command_list()' should return system command list with memory for handle for this
list. However previous code does not allocate memory.

This patch allocates new memory for output command list handle. System commands would be included
this new handle.
And also, this patch fixes the description of 'vc_get_system_command_list()' to deallocate memory
using 'vc_cmd_list_destroy()'.

Change-Id: Ie9d474d2115681b27c7f51f4da3f5487e7109eca
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoUse ecore timer to make testable 37/261537/1
Suyeon Hwang [Tue, 20 Jul 2021 08:29:17 +0000 (17:29 +0900)]
Use ecore timer to make testable

Change-Id: Ib43ee0b2d1501507bc41a2b1695d323fa0d43d44
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoFix name for better readability 36/261536/1
Suyeon Hwang [Tue, 20 Jul 2021 08:15:12 +0000 (17:15 +0900)]
Fix name for better readability

Change-Id: I038f749213b8aadfddc2b91a48824287a4ab2878
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoMake TC for 'vc_get_system_command_list()' 35/261535/1
Suyeon Hwang [Tue, 20 Jul 2021 02:33:41 +0000 (11:33 +0900)]
Make TC for 'vc_get_system_command_list()'

Change-Id: I21e3163e12f8eee92eedb1bd5c254f45674ceaea
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoUpdate version (1.65.1) 53/259453/1 accepted/tizen/unified/20210611.014108 submit/tizen/20210610.085541
Suyeon Hwang [Tue, 8 Jun 2021 08:06:51 +0000 (17:06 +0900)]
Update version (1.65.1)

Change-Id: I552088d4af3663b6525ba49c88fc6d650bab8fff
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoClean up and Add temporary code for applying new architecture into TV device 59/243359/8
Suyeon Hwang [Mon, 7 Sep 2020 03:27:48 +0000 (12:27 +0900)]
Clean up and Add temporary code for applying new architecture into TV device

Change-Id: I975e49001ffb8782c6601393b42ae678ae20622f
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoImplement new interface for sending streaming mode to dependency module 60/243160/6
Suyeon Hwang [Thu, 3 Sep 2020 11:13:54 +0000 (20:13 +0900)]
Implement new interface for sending streaming mode to dependency module

Change-Id: I7d01effab7dae6380f3525dbbec595a041376d20
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoRemove code only for TV device 13/238213/8
Suyeon Hwang [Thu, 9 Jul 2020 05:33:34 +0000 (14:33 +0900)]
Remove code only for TV device

Change-Id: I0fa7dfbe48c72015d6a14bacea0bccc71bd4edde
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoRemove audio type dependency from vcd_recorder 12/238212/9
Suyeon Hwang [Thu, 9 Jul 2020 05:11:31 +0000 (14:11 +0900)]
Remove audio type dependency from vcd_recorder

Change-Id: I2942e9fc0eee43027284b4d3d5c6a040f94be2fd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoImprove log of default dependency module 11/238211/6
Suyeon Hwang [Thu, 18 Jun 2020 02:04:38 +0000 (11:04 +0900)]
Improve log of default dependency module

Change-Id: Id1d6166c87fbc62980c2143f1bdd28e4e9424624
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoIntroduce dependency audio manager 10/238210/6
Suyeon Hwang [Mon, 25 May 2020 02:39:44 +0000 (11:39 +0900)]
Introduce dependency audio manager

In some cases, developer may need to change the audio source by device.
Dependency audio manager can allow developer to change the audio source.

This patch introduces dependency audio manager and default audio manager module.
Default audio manager uses tizen audio IO interface as audio source.

Change-Id: Ia757539f8a4b37be18796114b582f30813c05ebd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoSet and unset all audio feed callbacks on create/destroy 62/238762/6
Suyeon Hwang [Fri, 17 Jul 2020 06:19:50 +0000 (15:19 +0900)]
Set and unset all audio feed callbacks on create/destroy

Change-Id: Ia79cd65c242fe5392c615d81596f5b13217c7192
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>