platform/core/uifw/multi-assistant-service.git
5 years agoMerge "Protect member variables shared across multiple threads" into tizen
Ji-hoon Lee [Mon, 15 Apr 2019 00:43:22 +0000 (00:43 +0000)]
Merge "Protect member variables shared across multiple threads" into tizen

5 years agoMerge "Read default assistant appid setting whenever requested" into tizen
Ji-hoon Lee [Fri, 12 Apr 2019 13:22:40 +0000 (13:22 +0000)]
Merge "Read default assistant appid setting whenever requested" into tizen

5 years agoProtect member variables shared across multiple threads
Ji-hoon Lee [Mon, 8 Apr 2019 01:57:18 +0000 (10:57 +0900)]
Protect member variables shared across multiple threads

Change-Id: I1cbefaa78ab53a537851dbdd532fbf9646e64cd1

5 years agoMerge "Fix indentation" into tizen
Ji-hoon Lee [Fri, 12 Apr 2019 13:20:35 +0000 (13:20 +0000)]
Merge "Fix indentation" into tizen

5 years agoInitial empty repository master
Tizen Infrastructure [Wed, 10 Apr 2019 22:38:27 +0000 (22:38 +0000)]
Initial empty repository

5 years agoRead default assistant appid setting whenever requested
Ji-hoon Lee [Wed, 10 Apr 2019 08:32:06 +0000 (17:32 +0900)]
Read default assistant appid setting whenever requested

Change-Id: I0054286425c616617588e70d97800f3251619619

5 years agoFix indentation
Ji-hoon Lee [Mon, 8 Apr 2019 01:09:02 +0000 (10:09 +0900)]
Fix indentation

Change-Id: I47df7bee0955c4390671183cd5174569dd6765a6

5 years agoAdd function that checks if an element exists in a container
Ji-hoon Lee [Mon, 8 Apr 2019 01:06:21 +0000 (10:06 +0900)]
Add function that checks if an element exists in a container

Change-Id: Ia43bc567646915443f77d7a60c1a1edbbe1940a3

5 years agoReduce unnecessary 'recording..' related logs
Ji-hoon Lee [Wed, 3 Apr 2019 05:25:11 +0000 (14:25 +0900)]
Reduce unnecessary 'recording..' related logs

Change-Id: I3bc536f8ac6d4838263d2b1ba8c4f5d438a28c47

5 years agoAdjust retry timeout value considering no-panel use case
Ji-hoon Lee [Wed, 3 Apr 2019 05:23:07 +0000 (14:23 +0900)]
Adjust retry timeout value considering no-panel use case

Change-Id: I7b02f2fbf2c88b8db3fba14b703695216941d750

5 years agoDisable common UI when custom_ui'ed assistant gets woken up
Ji-hoon Lee [Tue, 2 Apr 2019 09:07:34 +0000 (18:07 +0900)]
Disable common UI when custom_ui'ed assistant gets woken up

Change-Id: I72a8381ff47f88f108fb6661f6e7cafa34d202be

5 years agoChange strcmp with std::string::compare()
Ji-hoon Lee [Tue, 2 Apr 2019 01:06:22 +0000 (10:06 +0900)]
Change strcmp with std::string::compare()

Change-Id: I8e74bf8ac80fd42337bde11cb6b3e71dce7845fe

5 years agoDivide wakeup manager into a class and its wrapper
Ji-hoon Lee [Mon, 1 Apr 2019 05:14:40 +0000 (14:14 +0900)]
Divide wakeup manager into a class and its wrapper

Change-Id: I094ab7c4061fcad48a23fb91e547ec4f3ec1cb81

5 years agoRename AudioDataObserver to AudioEventObserver
Ji-hoon Lee [Fri, 29 Mar 2019 07:00:33 +0000 (16:00 +0900)]
Rename AudioDataObserver to AudioEventObserver

Change-Id: Id35a4f7ce9f4d1e0408b4ce61bd9f4fb5df2e442

5 years agoExtract engine management logic into CWakeupEngineManager
Ji-hoon Lee [Thu, 21 Mar 2019 00:04:57 +0000 (09:04 +0900)]
Extract engine management logic into CWakeupEngineManager

Change-Id: I949b98002209092313689269b602601add2680e2

5 years agoFix bug detected when testing on TV profile
Ji-hoon Lee [Tue, 26 Mar 2019 07:58:07 +0000 (16:58 +0900)]
Fix bug detected when testing on TV profile

Change-Id: Ic66fff13b80f7ccfd7086434590f7e60e5faa7bb

5 years agoFix defects detected by static analysis tool
Ji-hoon Lee [Tue, 26 Mar 2019 04:31:32 +0000 (13:31 +0900)]
Fix defects detected by static analysis tool

Change-Id: Iafe4bb82acda7aebaf52c91b9bc52efbbcd7ee33

5 years agoFix build break caused by missing pkgmgr-info dependency
Ji-hoon Lee [Mon, 25 Mar 2019 08:36:17 +0000 (17:36 +0900)]
Fix build break caused by missing pkgmgr-info dependency

Change-Id: Id9c9d14881d40f0d760fd78745fad35118336006

5 years agoAdd support for dynamic dedicated wakeup engine loading
Ji-hoon Lee [Mon, 25 Mar 2019 08:15:33 +0000 (17:15 +0900)]
Add support for dynamic dedicated wakeup engine loading

Change-Id: Iea927f95db769cabfa84ee81a263e8f21b200fb3

5 years agoFix crash when assistant provides no wakeup engine info
Ji-hoon Lee [Mon, 25 Mar 2019 07:48:17 +0000 (16:48 +0900)]
Fix crash when assistant provides no wakeup engine info

Change-Id: Ibc6405815abee190fba0866cbddee9e86f11214c

5 years agoDisable timer registration if streaming is not handled by audio manager
Ji-hoon Lee [Mon, 25 Mar 2019 07:45:22 +0000 (16:45 +0900)]
Disable timer registration if streaming is not handled by audio manager

Change-Id: I6dfa3b5fe8937da3d827aa11e377e6984c03940c

5 years agoSelect wakeup engine that has reported wakeup event
Ji-hoon Lee [Thu, 21 Mar 2019 02:47:40 +0000 (11:47 +0900)]
Select wakeup engine that has reported wakeup event

Change-Id: I8b7698361aa8a6c5279e6e62615046f3148280e0

5 years agoPrint error log when the return value is not 0 where 0 means success
Ji-hoon Lee [Thu, 21 Mar 2019 02:40:43 +0000 (11:40 +0900)]
Print error log when the return value is not 0 where 0 means success

Change-Id: I4faa688b39b77fabb44330231f9b052d5618c751

5 years agoMake assistant-specific commands to be delivered to appropriate engine
Ji-hoon Lee [Wed, 20 Mar 2019 05:03:04 +0000 (14:03 +0900)]
Make assistant-specific commands to be delivered to appropriate engine

Change-Id: I96eabef58a1a22e982efffb8da9e53b56d757f6b

5 years agoExtract setting management feature into CWakeupSettings
Ji-hoon Lee [Wed, 20 Mar 2019 04:55:03 +0000 (13:55 +0900)]
Extract setting management feature into CWakeupSettings

Change-Id: Ic0bc22f9245304d84cc079f407368eab5ed11bef

5 years agoStore background audio data for alternate way of streaming
Ji-hoon Lee [Tue, 19 Mar 2019 11:52:12 +0000 (20:52 +0900)]
Store background audio data for alternate way of streaming

Change-Id: If9d6dd8a63a98354cdddb89caadced7a30ab6c7f

5 years agoFix incorrect function pointer conversion
Ji-hoon Lee [Tue, 19 Mar 2019 08:06:55 +0000 (17:06 +0900)]
Fix incorrect function pointer conversion

Change-Id: I90354d93737ca22f84384c8412ef0cdbd748d3cc

5 years agoAccept wakeup candidate even not found in PriorityInfos
Ji-hoon Lee [Tue, 19 Mar 2019 06:48:48 +0000 (15:48 +0900)]
Accept wakeup candidate even not found in PriorityInfos

Change-Id: Id10de62793fb94f98f681e497a81dd7eea9a6eb2

5 years agoMake streaming thread to exit when stop request received
Ji-hoon Lee [Tue, 19 Mar 2019 06:45:36 +0000 (15:45 +0900)]
Make streaming thread to exit when stop request received

Change-Id: Id772476569eafe62a300b58f5843469947a0d693

5 years agoRead default assistant setting when launching via voice key press
Ji-hoon Lee [Mon, 18 Mar 2019 08:26:52 +0000 (17:26 +0900)]
Read default assistant setting when launching via voice key press

Change-Id: Id3eb1947f465e3460e5ffdcab1a51599cb9d2fb6

5 years agoExtract audio management feature into CAudioManager
Ji-hoon Lee [Mon, 18 Mar 2019 07:35:01 +0000 (16:35 +0900)]
Extract audio management feature into CAudioManager

Change-Id: Ib7d156d1a98fe0bb1f83a405f4e08003c5b02b6b

5 years agoImplement default wakeup policy
Ji-hoon Lee [Fri, 15 Mar 2019 07:33:19 +0000 (16:33 +0900)]
Implement default wakeup policy

Change-Id: Ic12713be95009606110696cf153ad5a39cdd8599

5 years agoRemove mthumb compile flag
Ji-hoon Lee [Thu, 14 Mar 2019 01:43:33 +0000 (10:43 +0900)]
Remove mthumb compile flag

Change-Id: I838f4b44ab56538b5e42ecebfe86e2216ae15ed1

5 years agoAdd function for handling voice button event
Ji-hoon Lee [Mon, 4 Mar 2019 10:36:45 +0000 (19:36 +0900)]
Add function for handling voice button event

Change-Id: I112c3319312dcdaac2c746defea6885f177bdcd5

5 years agoProvide additional time information when feeding audio data
Ji-hoon Lee [Mon, 4 Mar 2019 06:18:04 +0000 (15:18 +0900)]
Provide additional time information when feeding audio data

Change-Id: I3ef109cd59bc8525a2da5ccce3691faf21d25a3c

5 years agoAdd wakeup manager for multiple wakeup engine management
Ji-hoon Lee [Thu, 14 Feb 2019 05:26:31 +0000 (14:26 +0900)]
Add wakeup manager for multiple wakeup engine management

Change-Id: I3da8f8b77d333e1d14170f95c0b88a1a5e896cf3

5 years agoFix TC failure in i586/aarch64/x86_64 targets
Ji-hoon Lee [Wed, 13 Feb 2019 10:17:00 +0000 (19:17 +0900)]
Fix TC failure in i586/aarch64/x86_64 targets

Change-Id: If0195e2ecde0e8377a0d484d928feff38278d21c

5 years agoReplace multi-wakeup recognizer with dummy
Ji-hoon Lee [Wed, 13 Feb 2019 07:21:40 +0000 (16:21 +0900)]
Replace multi-wakeup recognizer with dummy

Change-Id: I9f51120a2091aed216639430e4038cf941f0af98

5 years agoFix incorrect license information
Ji-hoon Lee [Mon, 11 Feb 2019 11:01:21 +0000 (20:01 +0900)]
Fix incorrect license information

Change-Id: I7a97ceb04b826e4892bcf8ee81cb4133ec41ea17

5 years agoMerge "Update voiceactivity.so file for preventing segfault" into tizen
Ji-hoon Lee [Wed, 2 Jan 2019 07:15:22 +0000 (07:15 +0000)]
Merge "Update voiceactivity.so file for preventing segfault" into tizen

5 years agoMerge "Always execute launch_client function to ensure it is in foreground" into...
Ji-hoon Lee [Wed, 2 Jan 2019 07:15:11 +0000 (07:15 +0000)]
Merge "Always execute launch_client function to ensure it is in foreground" into tizen

5 years agoFix mismatch between log format and actual parameter
Ji-hoon Lee [Fri, 21 Dec 2018 04:13:40 +0000 (13:13 +0900)]
Fix mismatch between log format and actual parameter

Change-Id: I555755eb7bfe0b32e9f0c9ec77ce82f83dbc2d80

5 years agoExplicitly store engine path in a separate variable
Ji-hoon Lee [Fri, 7 Dec 2018 08:19:41 +0000 (17:19 +0900)]
Explicitly store engine path in a separate variable

Change-Id: I87dbdcd18907259f6b3b4175cd79c718f8d57736

5 years agoUpdate voiceactivity.so file for preventing segfault
Ji-hoon Lee [Wed, 14 Nov 2018 05:12:27 +0000 (14:12 +0900)]
Update voiceactivity.so file for preventing segfault

Change-Id: I1ba3ce40fb25c26ceafb1028ed0782de75d71b4d

5 years agoAlways execute launch_client function to ensure it is in foreground
Ji-hoon Lee [Wed, 14 Nov 2018 04:45:05 +0000 (13:45 +0900)]
Always execute launch_client function to ensure it is in foreground

Change-Id: Ia6a3384cb9a817e8dee4cdbf2b42f2ac403951b6

5 years agoUpdate libraries and fix crash when g_handle is null
Wonnam Jang [Wed, 7 Nov 2018 10:17:23 +0000 (19:17 +0900)]
Update libraries and fix crash when g_handle is null

Change-Id: I1a1a9ff0e5f2dcd57a08a03b4110e2a27287f485
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agoMerge "Remove to stop/cancel/start in wakeup service callback" into tizen
Wonnam Jang [Wed, 7 Nov 2018 09:31:00 +0000 (09:31 +0000)]
Merge "Remove to stop/cancel/start in wakeup service callback" into tizen

5 years agoMerge "fix dynamic loading" into tizen
Wonnam Jang [Wed, 7 Nov 2018 09:30:52 +0000 (09:30 +0000)]
Merge "fix dynamic loading" into tizen

5 years agoRemove to stop/cancel/start in wakeup service callback
Wonnam Jang [Tue, 6 Nov 2018 08:14:45 +0000 (17:14 +0900)]
Remove to stop/cancel/start in wakeup service callback

Change-Id: Icba0413f63ea1c218e90e4c8d67d3d89770cce9e
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agofix dynamic loading
Wonnam Jang [Mon, 5 Nov 2018 23:41:47 +0000 (08:41 +0900)]
fix dynamic loading

Change-Id: I32edf5e41bb1a64884b9ddac6709ef7263737fdd
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agoFix build break in x86_64 architecture
Ji-hoon Lee [Tue, 30 Oct 2018 02:44:52 +0000 (11:44 +0900)]
Fix build break in x86_64 architecture

Change-Id: I7172143b6e6c2b0bdcb4aa8f60188373cb33d581

5 years agoRemove unnecessary test code
Ji-hoon Lee [Mon, 29 Oct 2018 01:21:55 +0000 (10:21 +0900)]
Remove unnecessary test code

Change-Id: I3d05c9617944731027b9fb69d6c27a5ab263603c

5 years agoMerge "Fixed function call to dlopen" into tizen
Wonnam Jang [Tue, 30 Oct 2018 00:03:05 +0000 (00:03 +0000)]
Merge "Fixed function call to dlopen" into tizen

5 years agoSend change assistant request to panel on wakeup event
Ji-hoon Lee [Wed, 24 Oct 2018 10:12:15 +0000 (19:12 +0900)]
Send change assistant request to panel on wakeup event

Change-Id: I1036df869fd8b5b3180d22c6c2f4eda4345a761a

5 years agoFixed function call to dlopen
sungrae jo [Wed, 17 Oct 2018 07:48:50 +0000 (16:48 +0900)]
Fixed function call to dlopen

Change-Id: I053f9554d066a579f27b60a9d06cd90d70a8df6a
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
5 years agoFix defects detected by static analysis tool
Ji-hoon Lee [Wed, 24 Oct 2018 05:21:25 +0000 (14:21 +0900)]
Fix defects detected by static analysis tool

Change-Id: I6dedfa1d0379a38fc0027de22d2845195c58bc0d

5 years agoChange all strlen comparison statement styles
Ji-hoon Lee [Tue, 23 Oct 2018 07:32:58 +0000 (16:32 +0900)]
Change all strlen comparison statement styles

Change-Id: I5463cac22db564db9ee65e45d1987bdb85cf4164

5 years agoSend change_assistant request to panel on wakeup event
Ji-hoon Lee [Tue, 23 Oct 2018 06:56:24 +0000 (15:56 +0900)]
Send change_assistant request to panel on wakeup event

Change-Id: I60c91cd2aad89eed3bdaaf930aee9c0eb4e4620a

5 years agoRequest speech data immediately when waked-up client connects
Ji-hoon Lee [Tue, 23 Oct 2018 04:21:16 +0000 (13:21 +0900)]
Request speech data immediately when waked-up client connects

Change-Id: I287287b5d73fce81d2a5956b514869d16a7938d6

5 years agoRead wakeup word information from xml file
Ji-hoon Lee [Tue, 23 Oct 2018 02:21:14 +0000 (11:21 +0900)]
Read wakeup word information from xml file

Change-Id: I0e90669cf153879ac14977c27050cdd0d95af526

5 years agoTerminate existing client when changing assistant
Ji-hoon Lee [Fri, 12 Oct 2018 07:48:52 +0000 (16:48 +0900)]
Terminate existing client when changing assistant

Change-Id: Iba0ef13f62b892c81fc13410a1c43d04b1f14284

5 years agoHandle change_assistant request from panel
Ji-hoon Lee [Thu, 11 Oct 2018 08:01:07 +0000 (17:01 +0900)]
Handle change_assistant request from panel

Change-Id: Ib74a46c94828f8c008c9b261b0d41164415b08cc

5 years agoSupport launching clients based on recognized wakeup word
Ji-hoon Lee [Thu, 11 Oct 2018 06:25:29 +0000 (15:25 +0900)]
Support launching clients based on recognized wakeup word

Change-Id: I022daeb1269346a084f86638d6faf5fe4b8bc6c9

5 years agoA temporary replacement for ma_request_speech_data() logic
Ji-hoon Lee [Wed, 10 Oct 2018 08:02:47 +0000 (17:02 +0900)]
A temporary replacement for ma_request_speech_data() logic

The MA client should ask for speech data when it's ready,
but currently such a call like "ma_request_speech_data()"
has not been prepared yet.
Thus, as a workaround solution, we add a timer to spend
enough time until the client receives service state ready
message from the voice control engine and is able to
send speech data to it.

Change-Id: I6dd13a9146a7455b219b796301d4b803d05b9095

5 years agoLaunch MA Client dynamically when required
Ji-hoon Lee [Mon, 8 Oct 2018 01:24:22 +0000 (10:24 +0900)]
Launch MA Client dynamically when required

Change-Id: I6caea5858fa335905a8844d79149bb71bcb83895

5 years agoFix log
Wonnam Jang [Mon, 8 Oct 2018 15:03:08 +0000 (00:03 +0900)]
Fix log

Change-Id: Iec049e2f7a0028b47e882de0f771965eeada2ace
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agoAdd message-port to check recording status
sooyeon.kim [Mon, 8 Oct 2018 09:46:38 +0000 (18:46 +0900)]
Add message-port to check recording status

Change-Id: I53b20d97fa5afdc83adbd628618ccd7df7129096
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoFix spec file
sooyeon.kim [Mon, 8 Oct 2018 02:18:38 +0000 (11:18 +0900)]
Fix spec file

Change-Id: Ia131d6a436bfacfe3ba585f80359840716bda0f4
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoAdd and fix spec file
sooyeon.kim [Fri, 5 Oct 2018 11:33:46 +0000 (20:33 +0900)]
Add and fix spec file

Change-Id: I034e1abf191c160d54ae96a3f67d92c092565e2d
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoFix license of spec file
sooyeon.kim [Fri, 5 Oct 2018 11:18:18 +0000 (20:18 +0900)]
Fix license of spec file

Change-Id: Ic9363a8c104d096aa053a156ad08a2afdb5bbd48
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoFix license in spec
sooyeon.kim [Fri, 5 Oct 2018 11:12:59 +0000 (20:12 +0900)]
Fix license in spec

Change-Id: I7d8e394881b8fffe5f74bfa08d58b8314f892d47
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoChange licenses
sooyeon.kim [Fri, 5 Oct 2018 10:39:08 +0000 (19:39 +0900)]
Change licenses

Change-Id: I194ff820cd8a716da63d78490e1559bf6d873594
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoAdd codes to request speech data
Wonnam Jang [Fri, 5 Oct 2018 06:37:55 +0000 (15:37 +0900)]
Add codes to request speech data

Change-Id: I0bb3bd68afdf0dc0e36dced1198ce3fcbbe93c1f
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agoMerge "Fix build warning" into tizen
Wonnam Jang [Thu, 4 Oct 2018 09:55:46 +0000 (09:55 +0000)]
Merge "Fix build warning" into tizen

5 years agoFix crash issue
sooyeon.kim [Thu, 4 Oct 2018 08:20:17 +0000 (17:20 +0900)]
Fix crash issue

Change-Id: I9272b5e159060f10524cea64944a4b654cf3923e
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoFix build warning
Wonnam Jang [Thu, 4 Oct 2018 07:20:05 +0000 (16:20 +0900)]
Fix build warning

Change-Id: Ia9bfd3a4ac68c6d01d287fee0086f3c8585cd6e2
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
5 years agoFix coverity issues
sooyeon.kim [Thu, 4 Oct 2018 07:15:52 +0000 (16:15 +0900)]
Fix coverity issues

Change-Id: I119d2cad823217f7c69c38461d14f34dacd550dd
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoFix not internal-only
sooyeon.kim [Tue, 2 Oct 2018 08:47:51 +0000 (17:47 +0900)]
Fix not internal-only

Change-Id: Ib882ddb6567dea2a62e0578364aa3a374aa7491f
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoUpdate libraries
sooyeon.kim [Fri, 28 Sep 2018 06:13:08 +0000 (15:13 +0900)]
Update libraries

Change-Id: I20747a54b660666566802ea9b6bb9d43ec22957f
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoInitial version
sooyeon.kim [Fri, 21 Sep 2018 06:21:52 +0000 (15:21 +0900)]
Initial version

Change-Id: I9d43bdf35e2463fcb4b2135f363b74db903a64a2
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
5 years agoInitial empty repository
Tizen Infrastructure [Wed, 22 Aug 2018 10:54:27 +0000 (10:54 +0000)]
Initial empty repository