platform/core/uifw/voice-control.git
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 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 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>
3 years agoUpdate version (1.65.0) 25/258825/1
Suyeon Hwang [Wed, 26 May 2021 07:37:07 +0000 (16:37 +0900)]
Update version (1.65.0)

Change-Id: I3ca53fc771a79f89ab346721a459889e1451a044
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoMerge changes Ife99dd9f,I3ed4e677,Ica7d7246 into tizen
Suyeon Hwang [Wed, 26 May 2021 07:29:19 +0000 (07:29 +0000)]
Merge changes Ife99dd9f,I3ed4e677,Ica7d7246 into tizen

* changes:
  Remove access to avoid toctou problem
  Remove memory leakage to avoid dangling
  Fix order of callbacks when error occurs on server

3 years agoRemove access to avoid toctou problem 56/258656/1
Suyeon Hwang [Fri, 21 May 2021 11:14:29 +0000 (20:14 +0900)]
Remove access to avoid toctou problem

Change-Id: Ife99dd9f58a3f4fd8aee73a276bbd5703c39afec
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoRemove memory leakage to avoid dangling 55/258655/1
Suyeon Hwang [Fri, 21 May 2021 11:11:31 +0000 (20:11 +0900)]
Remove memory leakage to avoid dangling

Change-Id: I3ed4e6772cb6042076b0b78addcd384051d9232c
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoFix bug detected from static analysis tool 87/258587/1 submit/tizen/20210521.041745
wn.jang [Fri, 21 May 2021 01:51:56 +0000 (10:51 +0900)]
Fix bug detected from static analysis tool

Change-Id: I340a8f7a74cafb64ecb741a3a7c46ed56849d5f2

3 years agoFix order of callbacks when error occurs on server 42/258542/1
Suyeon Hwang [Thu, 20 May 2021 05:24:25 +0000 (14:24 +0900)]
Fix order of callbacks when error occurs on server

Change-Id: Ica7d7246be36574221ea9b5fc041785b54f52570
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoChange return value when VC Engine sends error 36/257236/1 accepted/tizen/unified/20210428.040504 submit/tizen/20210428.005954
sooyeon.kim [Wed, 21 Apr 2021 11:08:29 +0000 (20:08 +0900)]
Change return value when VC Engine sends error

Change-Id: Iddadfcea14efe97e2dc7f53f5781217e7884ce9f
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
3 years agoMerge "Update version (1.60.13)" into tizen submit/tizen/20210329.083736 submit/tizen/20210330.051454 submit/tizen/20210330.074439
Suyeon Hwang [Mon, 29 Mar 2021 08:34:00 +0000 (08:34 +0000)]
Merge "Update version (1.60.13)" into tizen

3 years agoMerge "Fix frame size for service engine from 160 to 320" into tizen
Suyeon Hwang [Mon, 29 Mar 2021 08:16:58 +0000 (08:16 +0000)]
Merge "Fix frame size for service engine from 160 to 320" into tizen

3 years agoUpdate version (1.60.13) 40/256040/2
Suyeon Hwang [Mon, 29 Mar 2021 00:35:34 +0000 (09:35 +0900)]
Update version (1.60.13)

Change-Id: I72de8f89010353be19f6c17969426362b77a7a34
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoAdd app_context_destroy() to remove memory leak 91/255991/2
Suyeon Hwang [Fri, 26 Mar 2021 06:45:48 +0000 (15:45 +0900)]
Add app_context_destroy() to remove memory leak

Change-Id: I515dc3093b77276a802bfbd1230a8f687456b829
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoFix frame size for service engine from 160 to 320 79/247279/2
Suyeon Hwang [Mon, 9 Nov 2020 11:05:22 +0000 (20:05 +0900)]
Fix frame size for service engine from 160 to 320

Change-Id: Ib1095eef759d267a7be5c4693ffcbee1926bf22d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years agoAdd mgr dbus for set_audio_streaming_mode 99/250599/7 submit/tizen/20210201.095542 submit/tizen/20210202.020818
sungrae jo [Tue, 5 Jan 2021 02:18:48 +0000 (11:18 +0900)]
Add mgr dbus for set_audio_streaming_mode

Change-Id: I69262206664f94848040a99a11db5ce2cb384016
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
3 years agoRemove unnecessary HTML link for feature 26/249726/1
sooyeon.kim [Wed, 16 Dec 2020 09:05:27 +0000 (18:05 +0900)]
Remove unnecessary HTML link for feature

Change-Id: I8ebae7617e67d030856d3e884766a87a202732e3
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
3 years agoFix Native API references 11/248911/1 accepted/tizen/unified/20201204.123016 submit/tizen/20201203.100557
sooyeon.kim [Thu, 3 Dec 2020 07:35:57 +0000 (16:35 +0900)]
Fix Native API references

Change-Id: Ic5937ee1a244f02f2bee64c3a2488d258096a02f
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
3 years agoFix defects from static analysis tool 32/248632/1 submit/tizen/20201201.045614
wn.jang [Tue, 1 Dec 2020 04:36:46 +0000 (13:36 +0900)]
Fix defects from static analysis tool

Change-Id: Ib30853516b665e935974b938b6217df583f7510e

4 years agoCorrect wrong expression on header file 49/244949/1 submit/tizen/20200928.082017
wn.jang [Mon, 28 Sep 2020 07:55:10 +0000 (16:55 +0900)]
Correct wrong expression on header file

Change-Id: I20ec5e27df90f3d249662b3ce72106161e53b105

4 years agoAdd unittests 37/243737/6
Jihoon Kim [Wed, 9 Sep 2020 11:48:29 +0000 (20:48 +0900)]
Add unittests

Change-Id: I0706d0bfc8ebd75d63b6149e5885b696a9afcaea
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 years agoExclude some logs from lcov 99/243899/1
sooyeon.kim [Fri, 11 Sep 2020 05:08:46 +0000 (14:08 +0900)]
Exclude some logs from lcov

Change-Id: I54c31c003b4c3060f23ba3cb8116e9b8eaf06776
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
4 years agoVersion up to 1.60.12 54/240054/1
Suyeon Hwang [Mon, 3 Aug 2020 01:43:19 +0000 (10:43 +0900)]
Version up to 1.60.12

Change-Id: Ia01ceaeb9cbc20a175c2ce036b0ec089133fa722
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoMerge changes I670bd938,I404da413 into tizen
Suyeon Hwang [Mon, 3 Aug 2020 01:33:12 +0000 (01:33 +0000)]
Merge changes I670bd938,I404da413 into tizen

* changes:
  Restore neccessary header files
  Add system_background type for vc_mgr_set_command_list_from_file() API

4 years agoAdd to set audio handles as NULL 71/239971/1 accepted/tizen/6.0/unified/20201030.104907 accepted/tizen/6.0/unified/hotfix/20201102.235340 accepted/tizen/unified/20200731.145627 submit/tizen/20200731.062014 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
sooyeon.kim [Fri, 31 Jul 2020 06:04:08 +0000 (15:04 +0900)]
Add to set audio handles as NULL

Change-Id: I5bd36e406a7021764fc469b7f639d56e77a89687
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
4 years agoAdd to send set volume in audio_streaming_cb 65/239965/1
sooyeon.kim [Fri, 31 Jul 2020 05:24:11 +0000 (14:24 +0900)]
Add to send set volume in audio_streaming_cb

Change-Id: If302fa2feebff6fe2f2ac4c54448cdcf9d36f4d5
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
4 years agoRestore neccessary header files 62/239962/1
Suyeon Hwang [Fri, 31 Jul 2020 04:38:57 +0000 (13:38 +0900)]
Restore neccessary header files

Change-Id: I670bd938dd27f0b035b6da899232081a31bb7eb5
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoAdd system_background type for vc_mgr_set_command_list_from_file() API 83/239883/3
Suyeon Hwang [Thu, 30 Jul 2020 09:04:47 +0000 (18:04 +0900)]
Add system_background type for vc_mgr_set_command_list_from_file() API

Change-Id: I404da413b8981ee1a362d8525397c73d5edf7c73
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoFixed enum value for vc_tts_utterance_status_e 98/239798/2
sungrae jo [Thu, 30 Jul 2020 04:36:06 +0000 (13:36 +0900)]
Fixed enum value for vc_tts_utterance_status_e

Change-Id: I01fe0b9f25be912764cc8a2aeb98be053e97e8a3
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoRemove unnecessary header 09/238209/1
Suyeon Hwang [Thu, 9 Jul 2020 01:57:17 +0000 (10:57 +0900)]
Remove unnecessary header

Change-Id: Iecef17f7ea56028bea23b250687cb502d4917d69
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoTemporary integration with ma_ap library 08/238108/2 accepted/tizen/unified/20200709.164649 submit/tizen/20200709.044120
Ji-hoon Lee [Tue, 12 May 2020 09:37:20 +0000 (18:37 +0900)]
Temporary integration with ma_ap library

Change-Id: Ib76300f7dfe19072669e43d1b33898a6ff8b5ce8

4 years agoMerge "Fix crash bug about tts text data" into tizen
sungrae jo [Mon, 27 Apr 2020 07:26:51 +0000 (07:26 +0000)]
Merge "Fix crash bug about tts text data" into tizen

4 years agoUpdate version to 1.60.11 47/231947/1 accepted/tizen/unified/20200429.032845 submit/tizen/20200427.033940
sungrae jo [Mon, 27 Apr 2020 03:35:20 +0000 (12:35 +0900)]
Update version to 1.60.11

Change-Id: Icbab8f7b541de2a5305d178eec389ec905ca8b2a
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoAdd new APIs for VC-mgr 47/230047/11
sungrae jo [Fri, 17 Apr 2020 04:39:40 +0000 (13:39 +0900)]
Add new APIs for VC-mgr

- vc_mgr_send_audio_streaming()
- vc_mgr_set_audio_streaming_mode()
- vc_mgr_change_background_volume()
- vc_mgr_recover_background_volume()
- vc_mgr_set_background_volume_ratio()

Change-Id: I09dbbdf6f64ea78cb4476cf3e77adae588cb3ef0
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoFix crash bug about tts text data 45/231445/1
sungrae jo [Wed, 22 Apr 2020 04:24:58 +0000 (13:24 +0900)]
Fix crash bug about tts text data

Change-Id: I2653c67c44672b50261d7dcedbb84c16dd337c2a
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoUpdate version to 1.60.10 07/231007/1 accepted/tizen/unified/20200417.152723 submit/tizen/20200416.123411
wn.jang [Thu, 16 Apr 2020 12:32:36 +0000 (21:32 +0900)]
Update version to 1.60.10

Change-Id: Ifd07f5baac75cce5b0c55c46c268c074397e8680

4 years agoChange type to 'unsigned char' 06/231006/1
wn.jang [Thu, 16 Apr 2020 12:23:11 +0000 (21:23 +0900)]
Change type to 'unsigned char'

Change-Id: Iaaf52f5cf85fcdd927524c61c951320f285abd44

4 years agoUpdate version to 1.60.9 81/230981/1 submit/tizen/20200416.094302
wn.jang [Thu, 16 Apr 2020 09:22:25 +0000 (18:22 +0900)]
Update version to 1.60.9

Change-Id: I91b3abcb3241c1553fd5467c5c5ee517a1bd912b

4 years agoMerge "Fix wrong initialize value" into tizen
Wonnam Jang [Thu, 16 Apr 2020 09:21:56 +0000 (09:21 +0000)]
Merge "Fix wrong initialize value" into tizen

4 years agoUse buffer size as minimum value of buffer_size and BUFFER_LENGTH 37/230937/1
Suyeon Hwang [Thu, 16 Apr 2020 06:25:32 +0000 (15:25 +0900)]
Use buffer size as minimum value of buffer_size and BUFFER_LENGTH

buffer_size can be different from BUFFER_LENGTH.
However, if buffer_size is bigger than BUFFER_LENGTH, buffer overflow can be occured.
Thus, I use minimum value of buffer_size and BUFFER_LENGTH as parameter.

And also, this patch pass the same variable to g_audio_cb and get_volume_decibel.

Change-Id: I1231f056226415e820b079da3241e5ee82f8793d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoFix wrong initialize value 27/230927/1
wn.jang [Thu, 16 Apr 2020 05:09:34 +0000 (14:09 +0900)]
Fix wrong initialize value

Change-Id: I6889e8e2d3a8dcd1fccd66d2698707752c7064eb

4 years agoUpdate version to 1.60.8 92/230892/1 submit/tizen/20200416.011323
wn.jang [Thu, 16 Apr 2020 01:09:03 +0000 (10:09 +0900)]
Update version to 1.60.8

Change-Id: Ic1fb807db006a2cca0290bf114f556e449711f99

4 years agoInitialize values after use 81/230581/1
wn.jang [Mon, 13 Apr 2020 01:06:45 +0000 (10:06 +0900)]
Initialize values after use

Crash was happened due to memory corruption on fd handler.
Because fd handler was deleted, but it was not initialized,
it could be used even if it was checked by NULL.

Change-Id: Ic261af84e52608f083ec10f12637579b4266b8dd

4 years agoUpdate version to 1.60.7 60/229460/2 accepted/tizen/unified/20200416.080145 submit/tizen/20200408.005028
wn.jang [Wed, 1 Apr 2020 06:09:28 +0000 (15:09 +0900)]
Update version to 1.60.7

Change-Id: Idb4c80b9b7f99d00aa1123345f97e44110736d18

4 years agoMerge "Added vc_mgr_send_utterance_status for voice control manager header." into... submit/tizen/20200407.072912 submit/tizen/20200407.102020
sungrae jo [Tue, 7 Apr 2020 07:04:22 +0000 (07:04 +0000)]
Merge "Added vc_mgr_send_utterance_status for voice control manager header." into tizen

4 years agoAdded vc_mgr_send_utterance_status for voice control manager header. 89/227789/5
sungrae jo [Mon, 16 Mar 2020 10:10:43 +0000 (19:10 +0900)]
Added vc_mgr_send_utterance_status for voice control manager header.

Change-Id: I7e3852a8ed721199a21acafb52ad8a7bb025f609
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoAdd log to analyze easily 54/229454/1
wn.jang [Wed, 1 Apr 2020 06:06:10 +0000 (15:06 +0900)]
Add log to analyze easily

Change-Id: Icf91294f6dbd992d63a0b26c118d3965dff4e6d2

4 years agoChanged VC mgr internal state for vc_mgr_set_audio_streaming_mode 94/229294/3
sungrae jo [Tue, 31 Mar 2020 03:51:13 +0000 (12:51 +0900)]
Changed VC mgr internal state for vc_mgr_set_audio_streaming_mode

vc_mgr_set_audio_streaming_mode will be using VC_STATE_INITIALIZED or VC_SERVICE_STATE_READY.

Change-Id: Ia5e36362f898f632d0fa8bcc744e447717abf81f
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoUpdate version to 1.60.6 16/229116/1
sungrae jo [Mon, 30 Mar 2020 01:53:37 +0000 (10:53 +0900)]
Update version to 1.60.6

Change-Id: I88c9a6821617005e566b9e22eb0f3bb457f8ae0d
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoMerge "Fixed int to vc_tts_utterance_status_e for vc_mgr_dbus_send_utterance_status...
sungrae jo [Mon, 30 Mar 2020 01:58:05 +0000 (01:58 +0000)]
Merge "Fixed int to vc_tts_utterance_status_e for vc_mgr_dbus_send_utterance_status" into tizen

4 years agoMerge "Cleanup VC-manager internal functions" into tizen
sungrae jo [Mon, 30 Mar 2020 01:51:21 +0000 (01:51 +0000)]
Merge "Cleanup VC-manager internal functions" into tizen

4 years agoCleanup VC-manager internal functions 99/228899/4
sungrae jo [Thu, 26 Mar 2020 08:22:54 +0000 (17:22 +0900)]
Cleanup VC-manager internal functions

Change-Id: Id682421019abfd55c8baf20756929646fea59fb8
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoUpdate version to 1.60.5 17/228917/1 submit/tizen/20200326.094626
wn.jang [Thu, 26 Mar 2020 09:42:12 +0000 (18:42 +0900)]
Update version to 1.60.5

Change-Id: I62990b9606090c15f5ea5842b20f549942600dad

4 years agoMerge "Remove to check if current engine is same as vconf" into tizen accepted/tizen/unified/20200402.155323 submit/tizen/20200326.093720
Wonnam Jang [Thu, 26 Mar 2020 09:38:15 +0000 (09:38 +0000)]
Merge "Remove to check if current engine is same as vconf" into tizen

4 years agoRemove to check if current engine is same as vconf 15/228915/2
wn.jang [Thu, 26 Mar 2020 09:23:38 +0000 (18:23 +0900)]
Remove to check if current engine is same as vconf

This is temporary solution.
Currently, VD didn't change vconf value for default engine.
So, voice conrtrol framework thinks that current engine is one of TC.
It'll be enabled when VD changes vconf correctly.

Change-Id: I393ce91f1293a53215089397d4569153d275896d

4 years agoUpdate package version to 1.60.4 49/228849/1
sungrae jo [Thu, 26 Mar 2020 05:03:08 +0000 (14:03 +0900)]
Update package version to 1.60.4

Change-Id: I3758f89883aa69dfabf04680a973932e60c4dcc4
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoMerge "Added platform tag and error check logic" into tizen
sungrae jo [Thu, 26 Mar 2020 05:03:31 +0000 (05:03 +0000)]
Merge "Added platform tag and error check logic" into tizen

4 years agoFixed int to vc_tts_utterance_status_e for vc_mgr_dbus_send_utterance_status 87/227787/3
sungrae jo [Mon, 16 Mar 2020 09:59:05 +0000 (18:59 +0900)]
Fixed int to vc_tts_utterance_status_e for vc_mgr_dbus_send_utterance_status

Change-Id: I7e043f8681c61d8763aeb296e26c643b2c4556fd
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoSupport multi-channel audio input 58/228758/3
wn.jang [Wed, 25 Mar 2020 08:21:50 +0000 (17:21 +0900)]
Support multi-channel audio input

Change-Id: Ib65dca91ab5c5f208d1bd1708ee3f88ca0734395

4 years agoAdded platform tag and error check logic 97/228697/2
sungrae jo [Wed, 25 Mar 2020 02:02:28 +0000 (11:02 +0900)]
Added platform tag and error check logic

Change-Id: I1bfbd4ddd2631bd9f9b6876eae0bfa3d9dc47e43
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoUpdate version to 1.60.3 16/228516/1 submit/tizen/20200323.110548
wn.jang [Mon, 23 Mar 2020 10:58:05 +0000 (19:58 +0900)]
Update version to 1.60.3

Change-Id: Ia0d58e7b957b63f88225c919871f72ded75d403a

4 years agoIgnore to finalize when dbus connection is NULL 09/228509/1
wn.jang [Mon, 23 Mar 2020 02:21:31 +0000 (11:21 +0900)]
Ignore to finalize when dbus connection is NULL

Change-Id: Ic8b2e6ac2eed8c4611fd9f5c550399e178d4bb7e
(cherry picked from commit ee4d2aeee14d96235d6875768b80eb738d60f3c7)

4 years agoUpdate version to 1.60.2 93/228193/1 accepted/tizen/unified/20200320.074820 submit/tizen/20200320.001537
wn.jang [Thu, 19 Mar 2020 11:15:27 +0000 (20:15 +0900)]
Update version to 1.60.2

Change-Id: Iae8beb655d84ed8ff66e8893f415a6b660dccbdd

4 years agoMerge "Fix vce TC fail while tct-mgr execute" into tizen
Wonnam Jang [Thu, 19 Mar 2020 11:15:48 +0000 (11:15 +0000)]
Merge "Fix vce TC fail while tct-mgr execute" into tizen

4 years agoUpdate package version to 1.60.1 89/228189/1
sungrae jo [Thu, 19 Mar 2020 10:45:16 +0000 (19:45 +0900)]
Update package version to 1.60.1

Change-Id: Id9001d58f17c0af4a47eef8b13d2faef11977716
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoFix vce TC fail while tct-mgr execute 88/228188/1
wn.jang [Thu, 19 Mar 2020 10:22:48 +0000 (19:22 +0900)]
Fix vce TC fail while tct-mgr execute

vce_ prefix TCs are all failed, because dbus_open_connection was already established.
So, if only TC case which means that default appid is differ from current appid is,
it will ignore to established dbus connection.

Change-Id: I955ef8922d4bbc8ba7f74bd1572ee43383c29afc

4 years agoFixed invalid parameter for set command. 68/228168/1
sungrae jo [Thu, 19 Mar 2020 09:04:05 +0000 (18:04 +0900)]
Fixed invalid parameter for set command.

Change-Id: Ide1af8f90ed47c78ff3c98d4354660d83484b9d1
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoUpdate package version to 1.60.0 51/227751/1
sungrae jo [Mon, 16 Mar 2020 07:25:22 +0000 (16:25 +0900)]
Update package version to 1.60.0

Change-Id: I157ebecff7c07f7d90b8236f380f3d22c1b323c1
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoAdded mutex code for command list 49/227749/1
sungrae jo [Mon, 16 Mar 2020 07:14:47 +0000 (16:14 +0900)]
Added mutex code for command list

Added mutex code
Fixed resource release order for list destory.

Change-Id: I050ad117a32c4f051f2f669b64c0cb5890b88ee3
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoAdded mutex code for command 18/227618/2
sungrae jo [Mon, 16 Mar 2020 03:40:01 +0000 (12:40 +0900)]
Added mutex code for command

Change-Id: I51b58c5310a87b5987a28a6502f0b01890e3f36d
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoChange public callbacks to internal callbacks for optional callbacks 89/225589/5
sungrae jo [Fri, 21 Feb 2020 06:09:02 +0000 (15:09 +0900)]
Change public callbacks to internal callbacks for optional callbacks

Change-Id: Iec3da4f0ef889d4ba48b155a1649e82fe974f717
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoMerge "Memory leak fixes taken from MCD 4.0" into tizen accepted/tizen/unified/20200302.041947 submit/tizen/20200228.062845
Wonnam Jang [Thu, 27 Feb 2020 06:13:53 +0000 (06:13 +0000)]
Merge "Memory leak fixes taken from MCD 4.0" into tizen

4 years agoMerge "encoding and decoding data for engine specific request" into tizen
Wonnam Jang [Thu, 27 Feb 2020 06:01:56 +0000 (06:01 +0000)]
Merge "encoding and decoding data for engine specific request" into tizen

4 years agoMemory leak fixes taken from MCD 4.0 31/226131/1
Dharanie Shankar [Mon, 17 Feb 2020 06:25:38 +0000 (11:55 +0530)]
Memory leak fixes taken from MCD 4.0

Change refno: 3284633, 3316074, 3316388

[Model]
[BinType] AP
[Customer] OPEN

[Issue#]
[Request] PLM
[Occurrence Version]

[Problem] bug fix
[Cause & Measure]
[Checking Method]

[Team] Bixby Client
[Developer] Dharanie Shankar
[Solution company] Samsung
[Change Type] PLM

Change-Id: Ia9d500d6e6030a2c2caeba8854ff96530aca4238
Signed-off-by: Dharanie Shankar <dshankar.r@samsung.com>
(cherry picked from commit 8db9160f0cbfa62afbf8da366033f7ec41640d70)

4 years agoencoding and decoding data for engine specific request 30/226130/1
kismo [Tue, 28 Jan 2020 06:17:56 +0000 (15:17 +0900)]
encoding and decoding data for engine specific request

Change-Id: I6e58316b36dbc3bd778e85a739c262283cbd81bb
(cherry picked from commit 66512bfbecab942362a3756d01b235c7e0b0e1e5)

4 years agoservice state changed callback 29/226129/1
kismo [Tue, 28 Jan 2020 06:03:01 +0000 (15:03 +0900)]
service state changed callback
     - before : VC_SERVICE_STATE_NONE >> VC_SERVICE_STATE_READY changed callback is not called in main thread.
     - after : all the time, service state changed callback is called in main thread.

Change-Id: I3dffe70e463b1991ffedfff572d29d6afb876ce0
(cherry picked from commit fad6d24fdd7f6cf400fc0ade63ec349811fd830b)

4 years agoFixed vce option callback in vce_main 73/225373/5
sungrae jo [Thu, 20 Feb 2020 02:07:46 +0000 (11:07 +0900)]
Fixed vce option callback in vce_main

Change-Id: Ica044b049d524c4e5ee1597428040e1acc81a58f
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>