Ji-hoon Lee [Fri, 9 Aug 2019 08:56:37 +0000 (17:56 +0900)]
Add dependency module for tv
Change-Id: Id6f629870bfc08015cbf63faa7a37bf794942531
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:43 +0000 (11:55 +0000)]
Merge "Add more logs for checking wakeup process" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:39 +0000 (11:55 +0000)]
Merge "Remove unnecessary static local variable usage" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:34 +0000 (11:55 +0000)]
Merge "Skip feeding audio data to engine when voice key pressed" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:27 +0000 (11:55 +0000)]
Merge "Clear audio data when voice key gets pressed" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 05:59:31 +0000 (14:59 +0900)]
Add more logs for checking wakeup process
Change-Id: Idd593c34efc1ee9f1c3dd5eb759c12e2f2f6a801
Ji-hoon Lee [Mon, 12 Aug 2019 05:56:28 +0000 (14:56 +0900)]
Remove unnecessary static local variable usage
Change-Id: I4d51ad1d9daee9141dcaf2f5aba4d988c25b4bea
Ji-hoon Lee [Fri, 9 Aug 2019 07:46:32 +0000 (16:46 +0900)]
Skip feeding audio data to engine when voice key pressed
Change-Id: I722f7a3223095b10359d11416f8f2687864275bb
Ji-hoon Lee [Fri, 9 Aug 2019 06:43:33 +0000 (15:43 +0900)]
Clear audio data when voice key gets pressed
Change-Id: I105c93d9c75438b540a3c0e6f8614c034b660749
Ji-hoon Lee [Fri, 9 Aug 2019 06:11:21 +0000 (15:11 +0900)]
Fix thread deadlock issue
Change-Id: I810183593fc05fe93300dec9f686d6088a8006a6
Ji-hoon Lee [Tue, 6 Aug 2019 05:12:58 +0000 (14:12 +0900)]
Fix defects detected by static analysis tool
Change-Id: Ie766bdfe909bae6c8e6e8a43925a054e9f395d4a
jingjin.geng [Thu, 13 Jun 2019 19:42:49 +0000 (03:42 +0800)]
(de)activate wakeup engines by voice_input_language
Change-Id: I675d75db15e9b8b1f4540754dd2c51d77a7eba88
Ji-hoon Lee [Fri, 26 Jul 2019 02:26:28 +0000 (11:26 +0900)]
Add get_audio_source_type message handlers
Change-Id: I10a70b74181e771be259722162da2778bb4fe26e
Ji-hoon Lee [Fri, 26 Jul 2019 02:20:42 +0000 (11:20 +0900)]
Add get_audio_format handler in dependency_resolver
Change-Id: I63a979b17f8f4865d3932898ba23ad3419af8bb8
Ji-hoon Lee [Thu, 25 Jul 2019 07:46:41 +0000 (16:46 +0900)]
Update LOG_TAG for heap_tracer
Change-Id: I129800ce94a4d0160c8c540f0dd8b1f02e516176
Ji-hoon Lee [Wed, 24 Jul 2019 07:49:54 +0000 (16:49 +0900)]
Fix mismatch between log format and actual parameter
Change-Id: Ibd663ab6d387df6e198c7ee6a2e25c4c5d87405f
Ji-hoon Lee [Wed, 24 Jul 2019 07:16:42 +0000 (16:16 +0900)]
Adjust pcm_wait_count value
Change-Id: I531fba2647588a45a160fe20fa7331183f98ff77
Ji-hoon Lee [Fri, 21 Jun 2019 02:51:38 +0000 (11:51 +0900)]
Add dependency resolver
Change-Id: I8fabdbb8a824593b9a0a7e53cbf146ce14219da4
Ji-hoon Lee [Thu, 27 Jun 2019 05:42:59 +0000 (14:42 +0900)]
Send masc_ui_dbus messages only when ui_panel_enabled is true
Change-Id: I1e6a3fb59aaac6e9d16d5ce6fada612c14b229de
jingjin.geng [Tue, 11 Jun 2019 19:18:34 +0000 (03:18 +0800)]
realize the API add_assistant_language(string appid, string language)
Change-Id: Ia9c4e2b0dbe67164ab92dbc9c973e584ef39881c
jingjin.geng [Wed, 8 May 2019 22:52:14 +0000 (06:52 +0800)]
add CWakeupManager::set_assistant_enabled(string appid, bool enabled)
Change-Id: I73ba499a34e11bab278b192eb6f93bfa4aecb907
Ji-hoon Lee [Tue, 4 Jun 2019 00:04:25 +0000 (00:04 +0000)]
Merge "Add previous steam related function." into tizen
Xie Ligang [Wed, 22 May 2019 02:35:23 +0000 (10:35 +0800)]
Add previous steam related function.
Change-Id: I20a725f78b2eafabd35b3b0603915eaa76562ca5
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
wn.jang [Fri, 17 May 2019 04:37:31 +0000 (13:37 +0900)]
Add stream routing for USB audio device
Change-Id: I6e986aa5721ab4cbe84ea09a6e116524547080d6
Ji-hoon Lee [Thu, 2 May 2019 11:44:52 +0000 (11:44 +0000)]
Merge "Add streaming event validation code" into tizen
Ji-hoon Lee [Tue, 30 Apr 2019 01:14:40 +0000 (10:14 +0900)]
Add wakeup manager activation/deactivation logic
Change-Id: I613f58a71a28641dc7e700c65b681d26d441279f
Ji-hoon Lee [Tue, 16 Apr 2019 10:49:46 +0000 (19:49 +0900)]
Add change system volume feature
Change-Id: I79ae89a3c5d46debdaf1f32b5856701c67c72762
Ji-hoon Lee [Thu, 2 May 2019 05:31:46 +0000 (14:31 +0900)]
Add streaming event validation code
Change-Id: I6eafbcb279c75d2e9bba657aaceccf91a4ef1985
Ji-hoon Lee [Tue, 16 Apr 2019 01:17:11 +0000 (10:17 +0900)]
Add support for device-specific audio recording
This kind of device-specific behavior should be
extracted into a separated module, need to enhance
in the future.
Change-Id: I042962cb03aea0dc69040bae3d5231665360ad96
Ji-hoon Lee [Fri, 12 Apr 2019 09:49:17 +0000 (18:49 +0900)]
Fix crash when more than two wakeup engine exists
For providing a closure to the callback function,
necessary data were stored in a vector and passed
pointer to the data inside the vector, but since
vectors re-arranges internal elements to a new
location when the size gets bigger than its capicity,
pointers to the internal elements get invalidated
which caused crash. For this reason, changed to use
deque instead of vector since deque is a stable
container that preserves internal elements' memory
location.
Change-Id: I2ba578e98d96171aea068b95ea27807b7a143c50
Ji-hoon Lee [Mon, 15 Apr 2019 00:43:22 +0000 (00:43 +0000)]
Merge "Protect member variables shared across multiple threads" 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
Ji-hoon Lee [Mon, 8 Apr 2019 01:57:18 +0000 (10:57 +0900)]
Protect member variables shared across multiple threads
Change-Id: I1cbefaa78ab53a537851dbdd532fbf9646e64cd1
Ji-hoon Lee [Fri, 12 Apr 2019 13:20:35 +0000 (13:20 +0000)]
Merge "Fix indentation" into tizen
Tizen Infrastructure [Wed, 10 Apr 2019 22:38:27 +0000 (22:38 +0000)]
Initial empty repository
Ji-hoon Lee [Wed, 10 Apr 2019 08:32:06 +0000 (17:32 +0900)]
Read default assistant appid setting whenever requested
Change-Id: I0054286425c616617588e70d97800f3251619619
Ji-hoon Lee [Mon, 8 Apr 2019 01:09:02 +0000 (10:09 +0900)]
Fix indentation
Change-Id: I47df7bee0955c4390671183cd5174569dd6765a6
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
Ji-hoon Lee [Wed, 3 Apr 2019 05:25:11 +0000 (14:25 +0900)]
Reduce unnecessary 'recording..' related logs
Change-Id: I3bc536f8ac6d4838263d2b1ba8c4f5d438a28c47
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
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
Ji-hoon Lee [Tue, 2 Apr 2019 01:06:22 +0000 (10:06 +0900)]
Change strcmp with std::string::compare()
Change-Id: I8e74bf8ac80fd42337bde11cb6b3e71dce7845fe
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
Ji-hoon Lee [Fri, 29 Mar 2019 07:00:33 +0000 (16:00 +0900)]
Rename AudioDataObserver to AudioEventObserver
Change-Id: Id35a4f7ce9f4d1e0408b4ce61bd9f4fb5df2e442
Ji-hoon Lee [Thu, 21 Mar 2019 00:04:57 +0000 (09:04 +0900)]
Extract engine management logic into CWakeupEngineManager
Change-Id: I949b98002209092313689269b602601add2680e2
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
Ji-hoon Lee [Tue, 26 Mar 2019 04:31:32 +0000 (13:31 +0900)]
Fix defects detected by static analysis tool
Change-Id: Iafe4bb82acda7aebaf52c91b9bc52efbbcd7ee33
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
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
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
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
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
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
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
Ji-hoon Lee [Wed, 20 Mar 2019 04:55:03 +0000 (13:55 +0900)]
Extract setting management feature into CWakeupSettings
Change-Id: Ic0bc22f9245304d84cc079f407368eab5ed11bef
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
Ji-hoon Lee [Tue, 19 Mar 2019 08:06:55 +0000 (17:06 +0900)]
Fix incorrect function pointer conversion
Change-Id: I90354d93737ca22f84384c8412ef0cdbd748d3cc
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
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
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
Ji-hoon Lee [Mon, 18 Mar 2019 07:35:01 +0000 (16:35 +0900)]
Extract audio management feature into CAudioManager
Change-Id: Ib7d156d1a98fe0bb1f83a405f4e08003c5b02b6b
Ji-hoon Lee [Fri, 15 Mar 2019 07:33:19 +0000 (16:33 +0900)]
Implement default wakeup policy
Change-Id: Ic12713be95009606110696cf153ad5a39cdd8599
Ji-hoon Lee [Thu, 14 Mar 2019 01:43:33 +0000 (10:43 +0900)]
Remove mthumb compile flag
Change-Id: I838f4b44ab56538b5e42ecebfe86e2216ae15ed1
Ji-hoon Lee [Mon, 4 Mar 2019 10:36:45 +0000 (19:36 +0900)]
Add function for handling voice button event
Change-Id: I112c3319312dcdaac2c746defea6885f177bdcd5
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
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
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
Ji-hoon Lee [Wed, 13 Feb 2019 07:21:40 +0000 (16:21 +0900)]
Replace multi-wakeup recognizer with dummy
Change-Id: I9f51120a2091aed216639430e4038cf941f0af98
Ji-hoon Lee [Mon, 11 Feb 2019 11:01:21 +0000 (20:01 +0900)]
Fix incorrect license information
Change-Id: I7a97ceb04b826e4892bcf8ee81cb4133ec41ea17
Ji-hoon Lee [Wed, 2 Jan 2019 07:15:22 +0000 (07:15 +0000)]
Merge "Update voiceactivity.so file for preventing segfault" into tizen
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
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
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
Ji-hoon Lee [Wed, 14 Nov 2018 05:12:27 +0000 (14:12 +0900)]
Update voiceactivity.so file for preventing segfault
Change-Id: I1ba3ce40fb25c26ceafb1028ed0782de75d71b4d
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
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>
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
Wonnam Jang [Wed, 7 Nov 2018 09:30:52 +0000 (09:30 +0000)]
Merge "fix dynamic loading" into tizen
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>
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>
Ji-hoon Lee [Tue, 30 Oct 2018 02:44:52 +0000 (11:44 +0900)]
Fix build break in x86_64 architecture
Change-Id: I7172143b6e6c2b0bdcb4aa8f60188373cb33d581
Ji-hoon Lee [Mon, 29 Oct 2018 01:21:55 +0000 (10:21 +0900)]
Remove unnecessary test code
Change-Id: I3d05c9617944731027b9fb69d6c27a5ab263603c
Wonnam Jang [Tue, 30 Oct 2018 00:03:05 +0000 (00:03 +0000)]
Merge "Fixed function call to dlopen" into tizen
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
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>
Ji-hoon Lee [Wed, 24 Oct 2018 05:21:25 +0000 (14:21 +0900)]
Fix defects detected by static analysis tool
Change-Id: I6dedfa1d0379a38fc0027de22d2845195c58bc0d
Ji-hoon Lee [Tue, 23 Oct 2018 07:32:58 +0000 (16:32 +0900)]
Change all strlen comparison statement styles
Change-Id: I5463cac22db564db9ee65e45d1987bdb85cf4164
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
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
Ji-hoon Lee [Tue, 23 Oct 2018 02:21:14 +0000 (11:21 +0900)]
Read wakeup word information from xml file
Change-Id: I0e90669cf153879ac14977c27050cdd0d95af526
Ji-hoon Lee [Fri, 12 Oct 2018 07:48:52 +0000 (16:48 +0900)]
Terminate existing client when changing assistant
Change-Id: Iba0ef13f62b892c81fc13410a1c43d04b1f14284
Ji-hoon Lee [Thu, 11 Oct 2018 08:01:07 +0000 (17:01 +0900)]
Handle change_assistant request from panel
Change-Id: Ib74a46c94828f8c008c9b261b0d41164415b08cc
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
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
Ji-hoon Lee [Mon, 8 Oct 2018 01:24:22 +0000 (10:24 +0900)]
Launch MA Client dynamically when required
Change-Id: I6caea5858fa335905a8844d79149bb71bcb83895
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>
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>
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>
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>
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>