platform/core/uifw/multi-assistant-service.git
4 years agoMerge changes I94bee8d4,I9dc8f8fb,Id361946a,I1b8aef64 into tizen
Ji-hoon Lee [Thu, 16 Apr 2020 01:31:21 +0000 (01:31 +0000)]
Merge changes I94bee8d4,I9dc8f8fb,Id361946a,I1b8aef64 into tizen

* changes:
  Remove unnecessary mas_ prefix in CServiceMain
  Replace int with pid_t for representing a process ID
  Send audio data to the dedicated audio processing app if exists
  Add override keyword for inherited virtual functions

4 years agoBump version to 0.2.30 69/230769/2 accepted/tizen/unified/20200414.135745 submit/tizen/20200414.055516
Ji-hoon Lee [Tue, 14 Apr 2020 05:45:30 +0000 (14:45 +0900)]
Bump version to 0.2.30

Change-Id: I1ae1358662432d8b6314efad5dbf0885c53754af

4 years agoFix defects detected by static analysis tool 63/230763/2
Ji-hoon Lee [Tue, 14 Apr 2020 05:25:36 +0000 (14:25 +0900)]
Fix defects detected by static analysis tool

Change-Id: I56d36dd519a26f3f04de789a1bd27532549fef6a

4 years agoFix defects detected by static analysis tool 59/230759/2
Ji-hoon Lee [Tue, 14 Apr 2020 04:57:28 +0000 (13:57 +0900)]
Fix defects detected by static analysis tool

Change-Id: Iae05d46900fa3d2a757c0ae914195f7d5855504d

4 years agoRemove unnecessary mas_ prefix in CServiceMain 11/230711/1
Ji-hoon Lee [Mon, 13 Apr 2020 12:58:22 +0000 (21:58 +0900)]
Remove unnecessary mas_ prefix in CServiceMain

Change-Id: I94bee8d42fb51c612e319526ee3eb3124485b80f

4 years agoReplace int with pid_t for representing a process ID 10/230710/1
Ji-hoon Lee [Mon, 13 Apr 2020 12:52:19 +0000 (21:52 +0900)]
Replace int with pid_t for representing a process ID

Change-Id: I9dc8f8fb5204b1591e67cc0fa65c27a379e2f234

4 years agoSend audio data to the dedicated audio processing app if exists 08/230708/2
Ji-hoon Lee [Mon, 13 Apr 2020 12:25:04 +0000 (21:25 +0900)]
Send audio data to the dedicated audio processing app if exists

Change-Id: Id361946ae510d939acdfc1c5dbb82394be4fab6e

4 years agoAdd override keyword for inherited virtual functions 07/230707/1
Ji-hoon Lee [Mon, 13 Apr 2020 11:20:27 +0000 (20:20 +0900)]
Add override keyword for inherited virtual functions

Change-Id: I1b8aef644f9453d5f61d3c9b00f6d31da5297f28

4 years agoReplace int with pid_t where applicable 06/230706/1
Ji-hoon Lee [Mon, 13 Apr 2020 11:19:16 +0000 (20:19 +0900)]
Replace int with pid_t where applicable

Change-Id: Ic388b17e4b37072eda5861d39b92345b8553d55b

4 years agoAdd -Wno-stringop-overflow option for fixing build error 05/230705/1
Ji-hoon Lee [Mon, 13 Apr 2020 11:16:41 +0000 (20:16 +0900)]
Add -Wno-stringop-overflow option for fixing build error

False alarm causes build break when using strncat,
thus adding a compile option to disable it.

Change-Id: Icbc8fb63c2d4c87f007e5b979268dcd40f2467f1

4 years agoFix finding pid by appid fails due to invalid parameter passing 74/230674/2
Ji-hoon Lee [Mon, 13 Apr 2020 09:49:48 +0000 (18:49 +0900)]
Fix finding pid by appid fails due to invalid parameter passing

Change-Id: I96e83d821526cbf1a64b6d059e544893970c5ac3

4 years agoMerge commit 'd7b43ec' into tizen 22/230622/1
Ji-hoon Lee [Mon, 13 Apr 2020 04:56:22 +0000 (13:56 +0900)]
Merge commit 'd7b43ec' into tizen

Change-Id: I7bca9a405882465114c9827fe29286d4ced7e0ec

4 years agoMerge commit 'ed22efa' into tizen 21/230621/1
Ji-hoon Lee [Mon, 13 Apr 2020 02:29:37 +0000 (11:29 +0900)]
Merge commit 'ed22efa' into tizen

Change-Id: I3408a217c9ce8c1ef1faa8a05374418c81acbeef

4 years agoMerge commit '7acdd04' into tizen 58/230558/1
Ji-hoon Lee [Fri, 10 Apr 2020 12:57:20 +0000 (21:57 +0900)]
Merge commit '7acdd04' into tizen

Change-Id: Id3740de3aec6ed14640f768b6f93da4eb86ae31e

4 years agoMerge commit 'f22be37' into tizen 53/230553/1
Ji-hoon Lee [Fri, 10 Apr 2020 12:50:54 +0000 (21:50 +0900)]
Merge commit 'f22be37' into tizen

Change-Id: I0d18dea32fd921a057f45d029cff60cfa76ce220

4 years agoMerge commit '60e1df9' into tizen 52/230552/1
Ji-hoon Lee [Fri, 10 Apr 2020 12:46:50 +0000 (21:46 +0900)]
Merge commit '60e1df9' into tizen

Change-Id: Icda9ebd44d7711c40a8882c3a395c824abd697e9

4 years agoMerge commit 'bc7eea5' into tizen 51/230551/1
Ji-hoon Lee [Fri, 10 Apr 2020 12:45:24 +0000 (21:45 +0900)]
Merge commit 'bc7eea5' into tizen

Change-Id: I07a43d6d57e9b942da162466d2788f912765aab5

4 years agoMerge commit 'b9b5dd3' into tizen 50/230550/1
Ji-hoon Lee [Fri, 10 Apr 2020 12:33:02 +0000 (21:33 +0900)]
Merge commit 'b9b5dd3' into tizen

Change-Id: I94abe17b257facb23833bade02a32a6024d7fa2e

4 years agoFix defects detected by static analysis tool 47/230547/1
Ji-hoon Lee [Mon, 6 Apr 2020 10:16:18 +0000 (19:16 +0900)]
Fix defects detected by static analysis tool

Change-Id: I9af8980b3d3f15ded3fa261ec957debe7adc5365

4 years agoFix defects detected by static analysis tool 24/230424/1
Ji-hoon Lee [Fri, 10 Apr 2020 02:00:08 +0000 (11:00 +0900)]
Fix defects detected by static analysis tool

Change-Id: Ief868cf1c63021d83370e4b29f0079cf7286d713

4 years agoBump version to 0.2.30 95/230395/1 accepted/tizen/5.5/unified/20200410.123219 submit/tizen_5.5/20200410.013332
Ji-hoon Lee [Fri, 10 Apr 2020 00:18:15 +0000 (09:18 +0900)]
Bump version to 0.2.30

Change-Id: Ia36166583b59e9ad9ab0d332bb3c8546bc908632

4 years agoReload plugin on voice assistant related pkgmgr events 27/230227/3
Ji-hoon Lee [Mon, 23 Mar 2020 03:25:52 +0000 (12:25 +0900)]
Reload plugin on voice assistant related pkgmgr events

Change-Id: I1c00665a138d4a55d2d2517675fada5ef5ea963e

4 years agoMerge "Fix build break caused by incorrect type inference" into tizen_5.5
Ji-hoon Lee [Fri, 10 Apr 2020 00:13:41 +0000 (00:13 +0000)]
Merge "Fix build break caused by incorrect type inference" into tizen_5.5

4 years agoMerge "Fix incorrect log message" into tizen_5.5
Ji-hoon Lee [Fri, 10 Apr 2020 00:13:34 +0000 (00:13 +0000)]
Merge "Fix incorrect log message" into tizen_5.5

4 years agoMerge "Fix bug maclient info gets appended, not replaced on pkgmgr event" into tizen_5.5
Ji-hoon Lee [Thu, 9 Apr 2020 04:00:52 +0000 (04:00 +0000)]
Merge "Fix bug maclient info gets appended, not replaced on pkgmgr event" into tizen_5.5

4 years agoFix build break caused by incorrect type inference 40/230240/1
Ji-hoon Lee [Fri, 3 Apr 2020 06:08:40 +0000 (15:08 +0900)]
Fix build break caused by incorrect type inference

Change-Id: Idc32c9428d0592a60b01a0a156fa924d6d64c23e
(cherry picked from commit bdf4022693ee0c5ec2e0b2d4bcb50a1806a7faf2)

4 years agoMerge changes Ic717e89e,Id82ba3b4 into tizen_5.5 submit/tizen_5.5/20200409.014144
Ji-hoon Lee [Thu, 9 Apr 2020 01:32:25 +0000 (01:32 +0000)]
Merge changes Ic717e89e,Id82ba3b4 into tizen_5.5

* changes:
  Adopt protocol name change in multi-assistant package
  Increase pcm wait count value for engine manager

4 years agoFix defects detected by static analysis tool 09/229909/2 accepted/tizen/unified/20200410.015514 submit/tizen/20200409.014926
Ji-hoon Lee [Mon, 6 Apr 2020 10:16:18 +0000 (19:16 +0900)]
Fix defects detected by static analysis tool

Change-Id: I9af8980b3d3f15ded3fa261ec957debe7adc5365

4 years agoUnify member function names in CServiceIpcDbus 00/229900/2
Ji-hoon Lee [Mon, 6 Apr 2020 09:49:57 +0000 (18:49 +0900)]
Unify member function names in CServiceIpcDbus

Change-Id: I5f85cdec79077b12dc6852de912aecc22d03bf91

4 years agoFix incorrect year information in license boilerplate 97/229897/2
Ji-hoon Lee [Mon, 6 Apr 2020 09:40:12 +0000 (18:40 +0900)]
Fix incorrect year information in license boilerplate

Change-Id: Ieb79b85b5a51f8382787dabb84280fbd5af3ac53

4 years agoFix defects detected by static analysis tool 43/229743/3
Ji-hoon Lee [Fri, 3 Apr 2020 06:51:55 +0000 (15:51 +0900)]
Fix defects detected by static analysis tool

Fixes the problem that local variable names are
same with parameter names.

Change-Id: Id60bc907d2e8142f739c01502d7202f4c6435cdd

4 years agoFix build break caused by incorrect type inference 42/229742/2
Ji-hoon Lee [Fri, 3 Apr 2020 06:08:40 +0000 (15:08 +0900)]
Fix build break caused by incorrect type inference

Change-Id: Idc32c9428d0592a60b01a0a156fa924d6d64c23e

4 years agoAdd sample unit test for CServiceMain and fix related errors 62/229662/4
Ji-hoon Lee [Thu, 2 Apr 2020 13:55:41 +0000 (22:55 +0900)]
Add sample unit test for CServiceMain and fix related errors

Change-Id: I280242fb68e90473688abba06a5b333f62225b61

4 years agoRemove unnecessary variable declaration 61/229661/2
Ji-hoon Lee [Thu, 2 Apr 2020 13:58:29 +0000 (22:58 +0900)]
Remove unnecessary variable declaration

Change-Id: Idc88d765c482f98e25dee988d7e58245cbda502c

4 years agoExtract aul dependency from service_main.cpp 26/229526/4
Ji-hoon Lee [Wed, 1 Apr 2020 15:03:59 +0000 (00:03 +0900)]
Extract aul dependency from service_main.cpp

Change-Id: Ifd796751933776c0153e8c78d345b94542ac37da

4 years agoExtract vconf dependency from service_main.cpp 12/229412/6
Ji-hoon Lee [Wed, 1 Apr 2020 02:42:18 +0000 (11:42 +0900)]
Extract vconf dependency from service_main.cpp

Change-Id: I1ef3458ccbd2a298319068d27fca8bcced170512

4 years agoChange the name of variables moved into classes 79/229279/4
Ji-hoon Lee [Tue, 31 Mar 2020 02:28:30 +0000 (11:28 +0900)]
Change the name of variables moved into classes

Change-Id: I4255ecf45266065f3333f4b141c5f1b59ab4412a

4 years agoAdd sample unit test for CAudioManager 51/226051/6
Ji-hoon Lee [Tue, 25 Feb 2020 12:56:39 +0000 (21:56 +0900)]
Add sample unit test for CAudioManager

Change-Id: Ide587f7a43f553b10839bd77ba76ea8125c5c51a

4 years agoExtract some of existing logic into separate classes 50/226050/6 submit/tizen/20200408.110745
Ji-hoon Lee [Fri, 21 Feb 2020 11:09:51 +0000 (20:09 +0900)]
Extract some of existing logic into separate classes

Change-Id: I125779f5ed85d2f4a7609b43fcb21f9d43c74404

4 years agoEncapsulate functions and data into classes 49/226049/5
Ji-hoon Lee [Wed, 19 Feb 2020 11:30:48 +0000 (20:30 +0900)]
Encapsulate functions and data into classes

Change-Id: I03489e7713649cb20f54eac0f968bdf96c5ad786

4 years agoRename test_service to test_config and add more tests 43/224443/6
Ji-hoon Lee [Mon, 10 Feb 2020 12:32:29 +0000 (21:32 +0900)]
Rename test_service to test_config and add more tests

Change-Id: I9ffd7137081d1b61f9049f6b8371463ffc1cebca

4 years agoMake a class for mas_config and add tests for it 21/224421/10
Ji-hoon Lee [Mon, 10 Feb 2020 11:00:48 +0000 (20:00 +0900)]
Make a class for mas_config and add tests for it

Change-Id: I1fc6eef26828353fde70a9bda74d09814887af4a

4 years agoIntroduce compile-time unit tests 20/224420/7
Ji-hoon Lee [Mon, 10 Feb 2020 08:10:07 +0000 (17:10 +0900)]
Introduce compile-time unit tests

Change-Id: Id2c98124a993c60f8519fbb48b052664b0922769

4 years agoChange c files to cpp files and fix build errors 19/224419/4
Ji-hoon Lee [Wed, 13 Nov 2019 06:43:13 +0000 (15:43 +0900)]
Change c files to cpp files and fix build errors

Change-Id: Ifd15030aa1579c2cfe8a780a77537656fda2fee9

4 years agoImplement features for adding/removing wake words 10/224210/6
Ji-hoon Lee [Fri, 7 Feb 2020 04:52:35 +0000 (13:52 +0900)]
Implement features for adding/removing wake words

Change-Id: Ida57e6abd6d0c8b28b79efe84803087035a48a45

4 years agoMerge branch 'tizen_5.5' into tizen 63/229563/1
Ji-hoon Lee [Thu, 2 Apr 2020 03:21:14 +0000 (12:21 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I784fa584dddbcaf536edc9f9656a78f66cd99412

4 years agoMerge branch 'tizen_5.5_tv' into tizen_5.5 35/229435/2
Ji-hoon Lee [Thu, 2 Apr 2020 03:17:06 +0000 (12:17 +0900)]
Merge branch 'tizen_5.5_tv' into tizen_5.5

Change-Id: I75a9d1b2b6b308a3af4a56255d6377beb6947971

4 years agoMerge branch 'tizen_5.5' into tizen_5.5_tv 34/229434/2
Ji-hoon Lee [Thu, 2 Apr 2020 03:14:55 +0000 (12:14 +0900)]
Merge branch 'tizen_5.5' into tizen_5.5_tv

Change-Id: I231d76ba522fad534e25abb9ae589731d4e7441d

4 years agoAdd missing NULL check for c-string variable 32/229432/2
Ji-hoon Lee [Wed, 1 Apr 2020 05:28:20 +0000 (14:28 +0900)]
Add missing NULL check for c-string variable

Change-Id: I2493b8760fb18132bb1d47cf961be706d226defe

4 years agoAdd missing function prototypes and also fix incorrect ones 09/224209/3
Ji-hoon Lee [Fri, 7 Feb 2020 04:49:44 +0000 (13:49 +0900)]
Add missing function prototypes and also fix incorrect ones

Change-Id: I475f1c3db4b01b5f19c421ede74c5e01958448e0

4 years agoAdopt protocol name change in multi-assistant package 76/229176/1
Ji-hoon Lee [Wed, 25 Mar 2020 02:03:27 +0000 (11:03 +0900)]
Adopt protocol name change in multi-assistant package

During the API review process, the name of an API and protocol
'assistant_language' was changed to 'assistant_wakeup_language'.
For simplicity, this commit changes the protocol names only
just to make the inter-process communication works as before,
and maintain the name 'assistant_language' in other occurrences.
Need to check if it would be better to replace all matching strings.

Change-Id: Ic717e89e0530186a3ba12962fe6b4ba9996bc70e

4 years agoIncrease pcm wait count value for engine manager 48/225248/2
Ji-hoon Lee [Tue, 18 Feb 2020 09:56:08 +0000 (18:56 +0900)]
Increase pcm wait count value for engine manager

Change-Id: Id82ba3b416154e3b908a137a12316255788266e5

4 years agoFix incorrect log message 48/229048/1
Ji-hoon Lee [Fri, 27 Mar 2020 09:05:20 +0000 (18:05 +0900)]
Fix incorrect log message

Change-Id: I62f68221e53599f154702d0387927b6a73064f0f

4 years agoFix bug maclient info gets appended, not replaced on pkgmgr event 46/229046/1
Ji-hoon Lee [Fri, 27 Mar 2020 08:44:24 +0000 (17:44 +0900)]
Fix bug maclient info gets appended, not replaced on pkgmgr event

When a packge manager event on dependent modules is detected
(such as wakeup engine package), the multi-assistant-service
tries to reload wakeup manager plugin and also reload the
assistant info files.
But the previous implementation appends assistant information
whenever this reload process is requested, not replacing the
original assistant information struct, causing the struct
to contain duplicated entries and also retains entries for
outdated assistant information.
For this reason, make sure the assistant information struct
is cleared before reading assistant info files.

Change-Id: I9ba1c4d7f4fd8c1070f9e1dd5d9d63fc002dd380

4 years agoMerge branch 'tizen_5.5' into tizen_5.5_tv 65/228965/1
Ji-hoon Lee [Thu, 26 Mar 2020 14:05:31 +0000 (23:05 +0900)]
Merge branch 'tizen_5.5' into tizen_5.5_tv

Change-Id: I9cb176b73fcfee0dcdd9b22b46210ba0886141bf

4 years agoRestart service on package update event for dependent modules 09/228909/1
Ji-hoon Lee [Thu, 26 Mar 2020 08:59:36 +0000 (17:59 +0900)]
Restart service on package update event for dependent modules

Change-Id: I7dd06809a375e5410f9911197d6c409249077961

4 years agoBump version to 0.2.28 81/228181/1
Suyeon Hwang [Thu, 19 Mar 2020 10:14:04 +0000 (19:14 +0900)]
Bump version to 0.2.28

Related commit
- Send voice key status events according to configuration values

Change-Id: Ib91ef6e6d00a06ea5067ba74cdf8aea0375c3bfd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoSend voice key status events according to configuration values 53/228153/1
Ji-hoon Lee [Thu, 9 Jan 2020 02:14:27 +0000 (11:14 +0900)]
Send voice key status events according to configuration values

This patch includes some future features.

Change-Id: I1448d2b871286f1ac071cacea5196951e622d40d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
(cherry picked from commit a489247511f0439a67ca4f742d308851a0a6b56d)

4 years agoBump version to 0.2.29 51/228151/1
Suyeon Hwang [Thu, 19 Mar 2020 08:29:40 +0000 (17:29 +0900)]
Bump version to 0.2.29

Related commit
- Send voice key status events according to configuration values

Change-Id: I4442b29af47962e6c2667a40d0266b0837a2ae56
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoSend voice key status events according to configuration values 52/228052/3
Ji-hoon Lee [Thu, 9 Jan 2020 02:14:27 +0000 (11:14 +0900)]
Send voice key status events according to configuration values

This patch includes some future features.

Change-Id: I1448d2b871286f1ac071cacea5196951e622d40d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoMerge "Bump version to 0.2.28" into tizen_5.5_tv
Suyeon Hwang [Tue, 17 Mar 2020 08:50:43 +0000 (08:50 +0000)]
Merge "Bump version to 0.2.28" into tizen_5.5_tv

4 years agoBump version to 0.2.28 86/227886/1
Suyeon Hwang [Tue, 17 Mar 2020 05:15:28 +0000 (14:15 +0900)]
Bump version to 0.2.28

Related commit
- Fix data type from 'long' to 'long long' for time data
- Change clock system from 'system_clock' to 'steady_clock'

Change-Id: I61a0090e9d75d73bf3d382ba2c75c111763244b7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoBump version to 0.2.25 85/227885/1
Suyeon Hwang [Tue, 17 Mar 2020 05:04:12 +0000 (14:04 +0900)]
Bump version to 0.2.25

Related commit
- Fix data type from 'long' to 'long long' for time data
- Change clock system from 'system_clock' to 'steady_clock'

Change-Id: I9c3794b873e28afd88c526ee7f610878474ef6d1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoChange clock system from 'system_clock' to 'steady_clock' 80/227880/1
Suyeon Hwang [Tue, 17 Mar 2020 02:11:14 +0000 (11:11 +0900)]
Change clock system from 'system_clock' to 'steady_clock'

system_clock can get the accurate current time, but it is not monotonic clock system.
So the time from system_clock can be jumped if initializing system_clock is delayed.

Therefore, system_clock is not good to check exact time delay.
However, this module use time for checking expired time of audio data.
Thus, monotonic clock system is better to meet this purpose.

Because of this reason, this patch changes time system from system_clock to steady_clock.

Change-Id: I3860646c0fe4fc814eeea907597363a17951e8ce
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
(cherry picked from commit 38d07a14f44b50282ff5093c2d4da0c419b1a540)

4 years agoChange clock system from 'system_clock' to 'steady_clock' 68/227868/1
Suyeon Hwang [Tue, 17 Mar 2020 02:11:14 +0000 (11:11 +0900)]
Change clock system from 'system_clock' to 'steady_clock'

system_clock can get the accurate current time, but it is not monotonic clock system.
So the time from system_clock can be jumped if initializing system_clock is delayed.

Therefore, system_clock is not good to check exact time delay.
However, this module use time for checking expired time of audio data.
Thus, monotonic clock system is better to meet this purpose.

Because of this reason, this patch changes time system from system_clock to steady_clock.

Change-Id: I3860646c0fe4fc814eeea907597363a17951e8ce
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoFix data type from 'long' to 'long long' for time data 13/227113/1
Suyeon Hwang [Tue, 10 Mar 2020 01:25:16 +0000 (10:25 +0900)]
Fix data type from 'long' to 'long long' for time data

By specification of std::chrono::milliseconds, it needs at least 45bits memory
to store milliseconds data.
This patch changes data type from 'long' to 'long long' relative with time.

Change-Id: Ie973cb28a2a3ee0f9bd491aaa28afad01f0d7ca2
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
(cherry picked from commit d1bce194ecba74e8d3442a1669dfc6fb1bb2f2a2)

4 years agoFix data type from 'long' to 'long long' for time data 05/227105/2
Suyeon Hwang [Tue, 10 Mar 2020 01:25:16 +0000 (10:25 +0900)]
Fix data type from 'long' to 'long long' for time data

By specification of std::chrono::milliseconds, it needs at least 45bits memory
to store milliseconds data.
This patch changes data type from 'long' to 'long long' relative with time.

Change-Id: Ie973cb28a2a3ee0f9bd491aaa28afad01f0d7ca2
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years agoMerge branch 'tizen_5.5' into tizen_5.5_tv 69/223869/1
Ji-hoon Lee [Tue, 4 Feb 2020 11:19:53 +0000 (20:19 +0900)]
Merge branch 'tizen_5.5' into tizen_5.5_tv

Change-Id: I7a046626ba449f12f52138f3894e46fa6364a256

4 years agoFixed coverity issues 21/223821/1 accepted/tizen/unified/20200211.132129 submit/tizen/20200210.071743
sungrae jo [Tue, 4 Feb 2020 07:00:48 +0000 (16:00 +0900)]
Fixed coverity issues

Change-Id: I967ec619f63cfa0d1b72177f7b2e7fc5930e99fd
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
4 years agoBump version to 0.2.27 48/223148/2
Ji-hoon Lee [Thu, 23 Jan 2020 08:43:52 +0000 (17:43 +0900)]
Bump version to 0.2.27

Change-Id: Ia1a65d8403c632ab0496f85e9751ee7e50cf2fe8

4 years agoUse cached audio type value when plugin is not available 47/223147/2
Ji-hoon Lee [Thu, 23 Jan 2020 08:57:33 +0000 (17:57 +0900)]
Use cached audio type value when plugin is not available

Change-Id: Ia50b1700b34fedce11b88c27bc675f70eb294e8e

4 years agoBump version to 0.2.26 39/223139/2
Ji-hoon Lee [Thu, 23 Jan 2020 07:34:01 +0000 (16:34 +0900)]
Bump version to 0.2.26

Change-Id: Ifb29ba5083267ed57c422f71849a3972b22aece3

4 years agoMake sure to stop streaming before interacting with wakeup engines 38/223138/2
Ji-hoon Lee [Thu, 23 Jan 2020 07:24:12 +0000 (16:24 +0900)]
Make sure to stop streaming before interacting with wakeup engines

Basically streaming is processed in a separate thread,
and for that reason any iteraction with wakeup engines
can cause undesired changes in internal audio data
that should be acquired by the streaming thread.
So for the sake of safety, make sure to stop streaming
first so that following changes in internal audio data
within the wakeup engine would not cause any side-effect
in the streaming thread side.

Change-Id: Ib544e39cff8df5238c9d1f57e1f7644988c27ac1

4 years agoBump version to 0.2.25 97/222497/1
Ji-hoon Lee [Wed, 15 Jan 2020 12:33:16 +0000 (21:33 +0900)]
Bump version to 0.2.25

Change-Id: I143a6cc3b11c6181ffe6e7d695591d38a42b5364

4 years agoPrevent burst transmission of streaming audio data 96/222496/1
Ji-hoon Lee [Wed, 15 Jan 2020 05:51:54 +0000 (14:51 +0900)]
Prevent burst transmission of streaming audio data

Change-Id: I02c0086a708cdea0adcbf259a4aa23065c5ebb3b

4 years agoRevert "Make dbus message sending to be executed in main thread" 95/222495/1
Ji-hoon Lee [Wed, 15 Jan 2020 02:13:52 +0000 (11:13 +0900)]
Revert "Make dbus message sending to be executed in main thread"

This reverts commit 5afd1db88433ef88f4e167f4adbd2c9d3375665b.

Change-Id: I8d99360d1e3274b95ddb7f9ecc326a8b7fd7053f

4 years agoMerge branch 'tizen_5.5' into tizen 59/222359/1 accepted/tizen/unified/20200114.130547 submit/tizen/20200114.045258
Ji-hoon Lee [Tue, 14 Jan 2020 04:36:12 +0000 (13:36 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I36e9d3abd3e0425a0e5b2a223fb06f4d1f3c0f15

4 years agoRemove unnecessary log 58/222358/1
Ji-hoon Lee [Tue, 14 Jan 2020 04:35:55 +0000 (13:35 +0900)]
Remove unnecessary log

Change-Id: Idef3dc8a6fcc845e39939f04ff9baebc14849bc6

4 years agoMerge branch 'tizen_5.5' into tizen 54/222354/1 submit/tizen/20200114.023730 submit/tizen/20200114.044047
Ji-hoon Lee [Tue, 14 Jan 2020 02:33:01 +0000 (11:33 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: Ib3a3f6b217b3f047d4e946ac0e646ce20cbbde25

4 years agoRename inappropriate bindir to appbindir in spec file 53/222353/1
Ji-hoon Lee [Tue, 14 Jan 2020 02:32:24 +0000 (11:32 +0900)]
Rename inappropriate bindir to appbindir in spec file

Change-Id: I0991e235573903be28e39cc742fc3a60772f0656

4 years agoUse %cmake macro in spec file 52/222352/1
Ji-hoon Lee [Mon, 13 Jan 2020 10:25:05 +0000 (19:25 +0900)]
Use %cmake macro in spec file

Change-Id: I04ab302b6b17b3737438abde1d47c3dab378a901

4 years agoMerge branch 'tizen_5.5' into tizen 10/222310/1 submit/tizen/20200113.120709
Ji-hoon Lee [Mon, 13 Jan 2020 10:25:20 +0000 (19:25 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I66c8118ca59808174e10b2695031645bcc446731

4 years agoUse %cmake macro in spec file 09/222309/1
Ji-hoon Lee [Mon, 13 Jan 2020 10:25:05 +0000 (19:25 +0900)]
Use %cmake macro in spec file

Change-Id: I04ab302b6b17b3737438abde1d47c3dab378a901

4 years agoFix build error in new toolchain 04/222304/1 submit/tizen/20200114.015435
Ji-hoon Lee [Mon, 13 Jan 2020 10:20:12 +0000 (19:20 +0900)]
Fix build error in new toolchain

Change-Id: I6302fb3444284915b88af1124bc0f14c82c91550

4 years agoMerge branch 'tizen_5.5' into tizen 03/222303/1
Ji-hoon Lee [Mon, 13 Jan 2020 10:10:06 +0000 (19:10 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: If748e422ef8f64b9e61f9bc1341c176d4cfbe612

4 years agoBump version to 0.2.24 03/222203/1
Ji-hoon Lee [Fri, 10 Jan 2020 10:21:52 +0000 (19:21 +0900)]
Bump version to 0.2.24

Change-Id: I693804f54163f36e172cfb64a11486078ae6b5ac

4 years agoUse aul_launch_app_async for launching voice assistants 02/222202/1
Ji-hoon Lee [Fri, 10 Jan 2020 10:21:30 +0000 (19:21 +0900)]
Use aul_launch_app_async for launching voice assistants

Change-Id: I86a4986fba9d4e811d70f0f23c99f8e800000ed1

4 years agoBump version to 0.2.23 69/221869/4
Ji-hoon Lee [Wed, 8 Jan 2020 06:36:25 +0000 (15:36 +0900)]
Bump version to 0.2.23

Change-Id: I4271048f1d8ebd33f8b6b889291d84cf21bba1e0

4 years agoMake sure to delete timer when deinitializing 76/221876/2
Ji-hoon Lee [Wed, 8 Jan 2020 06:48:41 +0000 (15:48 +0900)]
Make sure to delete timer when deinitializing

Change-Id: Ifda8f8dea1513600d236e6b4c85660bd07dcbf29

4 years agoFix incorrect parameter of vconf_ignore_key_changed() 68/221868/2
Ji-hoon Lee [Wed, 8 Jan 2020 06:35:27 +0000 (15:35 +0900)]
Fix incorrect parameter of vconf_ignore_key_changed()

Change-Id: I6552ee7abf9477b991809f68c6b10284b254b01b

4 years agoAdd volume.set privilege for sound ducking feature 40/221740/1
Ji-hoon Lee [Tue, 7 Jan 2020 07:49:03 +0000 (16:49 +0900)]
Add volume.set privilege for sound ducking feature

Change-Id: I405a53b9cd0068411bf9eccd4e9de37250e80420

4 years agoBump version to 0.2.22 31/221731/1
Ji-hoon Lee [Tue, 7 Jan 2020 06:58:23 +0000 (15:58 +0900)]
Bump version to 0.2.22

Change-Id: I5143156578e0706c003155d7c90bf924b74e7810

4 years agoPack several messages in one packet for efficiency 30/221730/1
Ji-hoon Lee [Tue, 7 Jan 2020 06:57:28 +0000 (15:57 +0900)]
Pack several messages in one packet for efficiency

Change-Id: I572dd3e73270a05d0b2e2d1055096c1b401c641d

4 years agoBump version to 0.2.21 41/221641/1
Ji-hoon Lee [Mon, 6 Jan 2020 11:58:15 +0000 (20:58 +0900)]
Bump version to 0.2.21

Change-Id: I8390431342e0b75a3413506134bd663558e98f89

4 years agoUse message port for streaming audio data 40/221640/1
Ji-hoon Lee [Fri, 27 Dec 2019 04:55:56 +0000 (13:55 +0900)]
Use message port for streaming audio data

Change-Id: I758966ad20b79f6c43243acd4dcee471dd207284

4 years agoAdd test code for dumping pcm data from wakeup engines 13/221613/1
Ji-hoon Lee [Mon, 6 Jan 2020 08:08:10 +0000 (17:08 +0900)]
Add test code for dumping pcm data from wakeup engines

Change-Id: Ieec852c3317fb418966d90b94176f6dad4e562f6

4 years agoRefine log levels and messages for better analysis 92/221592/2
Ji-hoon Lee [Fri, 3 Jan 2020 10:48:35 +0000 (19:48 +0900)]
Refine log levels and messages for better analysis

Change-Id: I2bd416bc73b029792ed726ca59ece7f6e2b530bf

4 years agoBump version to 0.2.20 32/221532/1
Ji-hoon Lee [Fri, 3 Jan 2020 10:02:23 +0000 (19:02 +0900)]
Bump version to 0.2.20

Change-Id: I1b4f5d2c6876c7fa6a09bb3356bb2a71b7575ff7

4 years agoSet background option to FALSE if not in PRELAUNCH mode 31/221531/1
Ji-hoon Lee [Fri, 3 Jan 2020 10:00:50 +0000 (19:00 +0900)]
Set background option to FALSE if not in PRELAUNCH mode

Change-Id: Ibe2a5fbaeefde1a24d67ea3a17c44f59706d0971

4 years agoBump version to 0.2.19 06/221506/1
Ji-hoon Lee [Fri, 3 Jan 2020 06:48:29 +0000 (15:48 +0900)]
Bump version to 0.2.19

Change-Id: Iec9a4ecd932caf016b6f908a4e536ccfd5bbd200