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
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
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>
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)
Ji-hoon Lee [Thu, 23 Jan 2020 08:43:52 +0000 (17:43 +0900)]
Bump version to 0.2.27
Change-Id: Ia1a65d8403c632ab0496f85e9751ee7e50cf2fe8
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
Ji-hoon Lee [Thu, 23 Jan 2020 07:34:01 +0000 (16:34 +0900)]
Bump version to 0.2.26
Change-Id: Ifb29ba5083267ed57c422f71849a3972b22aece3
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
Ji-hoon Lee [Wed, 15 Jan 2020 12:33:16 +0000 (21:33 +0900)]
Bump version to 0.2.25
Change-Id: I143a6cc3b11c6181ffe6e7d695591d38a42b5364
Ji-hoon Lee [Wed, 15 Jan 2020 05:51:54 +0000 (14:51 +0900)]
Prevent burst transmission of streaming audio data
Change-Id: I02c0086a708cdea0adcbf259a4aa23065c5ebb3b
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
Ji-hoon Lee [Tue, 14 Jan 2020 04:35:55 +0000 (13:35 +0900)]
Remove unnecessary log
Change-Id: Idef3dc8a6fcc845e39939f04ff9baebc14849bc6
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
Ji-hoon Lee [Mon, 13 Jan 2020 10:25:05 +0000 (19:25 +0900)]
Use %cmake macro in spec file
Change-Id: I04ab302b6b17b3737438abde1d47c3dab378a901
Ji-hoon Lee [Fri, 10 Jan 2020 10:21:52 +0000 (19:21 +0900)]
Bump version to 0.2.24
Change-Id: I693804f54163f36e172cfb64a11486078ae6b5ac
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
Ji-hoon Lee [Wed, 8 Jan 2020 06:36:25 +0000 (15:36 +0900)]
Bump version to 0.2.23
Change-Id: I4271048f1d8ebd33f8b6b889291d84cf21bba1e0
Ji-hoon Lee [Wed, 8 Jan 2020 06:48:41 +0000 (15:48 +0900)]
Make sure to delete timer when deinitializing
Change-Id: Ifda8f8dea1513600d236e6b4c85660bd07dcbf29
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
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
Ji-hoon Lee [Tue, 7 Jan 2020 06:58:23 +0000 (15:58 +0900)]
Bump version to 0.2.22
Change-Id: I5143156578e0706c003155d7c90bf924b74e7810
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
Ji-hoon Lee [Mon, 6 Jan 2020 11:58:15 +0000 (20:58 +0900)]
Bump version to 0.2.21
Change-Id: I8390431342e0b75a3413506134bd663558e98f89
Ji-hoon Lee [Fri, 27 Dec 2019 04:55:56 +0000 (13:55 +0900)]
Use message port for streaming audio data
Change-Id: I758966ad20b79f6c43243acd4dcee471dd207284
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
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
Ji-hoon Lee [Fri, 3 Jan 2020 10:02:23 +0000 (19:02 +0900)]
Bump version to 0.2.20
Change-Id: I1b4f5d2c6876c7fa6a09bb3356bb2a71b7575ff7
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
Ji-hoon Lee [Fri, 3 Jan 2020 06:48:29 +0000 (15:48 +0900)]
Bump version to 0.2.19
Change-Id: Iec9a4ecd932caf016b6f908a4e536ccfd5bbd200
Ji-hoon Lee [Fri, 3 Jan 2020 06:48:00 +0000 (15:48 +0900)]
Prevent already-running assistant from being prelaunched
Change-Id: Ib891fd476a68d5b7ea2bb07f9d6d78a76022a688
Ji-hoon Lee [Fri, 3 Jan 2020 04:56:18 +0000 (13:56 +0900)]
Bump version to 0.2.18
Change-Id: I6b2601289fcde7ee565ce77268786666f256c545
Ji-hoon Lee [Fri, 3 Jan 2020 04:55:19 +0000 (13:55 +0900)]
Return observers as a const reference instead of a value
Change-Id: I3f8aad8fa2502959a4bcf94703d547ae32eec608
Ji-hoon Lee [Fri, 27 Dec 2019 13:52:48 +0000 (22:52 +0900)]
Bump version to 0.2.17
Change-Id: I0de37fa3eceb45fecb626b1e65225416160b204c
Ji-hoon Lee [Fri, 27 Dec 2019 13:52:10 +0000 (22:52 +0900)]
Make sure to emit FINISH event even when streaming fails
Change-Id: I1c52a569e2ec6e4981f1e9b716b91de42998f04b
Ji-hoon Lee [Fri, 20 Dec 2019 10:03:59 +0000 (19:03 +0900)]
Bump version to 0.2.16
Change-Id: I5920abb2f85dc696b670a6362572b947d022ab8a
Ji-hoon Lee [Fri, 20 Dec 2019 10:03:01 +0000 (19:03 +0900)]
Make dbus message sending to be executed in main thread
Change-Id: I04bdf186730cb31556f20ce7753888d7981b0d10
Ji-hoon Lee [Fri, 13 Dec 2019 11:25:34 +0000 (20:25 +0900)]
Restore assistant language configurations when activating
Change-Id: Ia1f00b588bcf5b07a87f8b5598e31fd16d841c08
Ji-hoon Lee [Tue, 17 Dec 2019 07:21:22 +0000 (16:21 +0900)]
Bump version to 0.2.15
Change-Id: If0e4ad366cb1a7ac04c4fc8f3c1ca331cf9940de
Ji-hoon Lee [Tue, 17 Dec 2019 07:21:04 +0000 (16:21 +0900)]
Add missing FINISH event after streaming in AudioManager
Change-Id: I044ad8e2c328ae3abd93e542be07675042825fc5
Ji-hoon Lee [Fri, 13 Dec 2019 07:48:55 +0000 (16:48 +0900)]
Bump version to 0.2.14
Change-Id: Ifc50009ee06fb4f6e9c676d6638596cf44945935
Ji-hoon Lee [Fri, 13 Dec 2019 07:45:18 +0000 (16:45 +0900)]
Enable sending dependency module commands
Change-Id: Ib1727f074d9d07d216a485a594d045d60f02b28e
Ji-hoon Lee [Fri, 13 Dec 2019 07:44:06 +0000 (16:44 +0900)]
Rename inappropriate send_* functions to set_*
Change-Id: Ia5d18f98ddbe51377e5681f9be15457d6b80f8c6
Ji-hoon Lee [Fri, 13 Dec 2019 04:14:57 +0000 (13:14 +0900)]
Rename process_event to process_plugin_event
Change-Id: I773bd187d329a005fdc9e6052c91b4b2d4bd4fde
Ji-hoon Lee [Tue, 10 Dec 2019 07:39:49 +0000 (07:39 +0000)]
Merge "Add button handler for speaker profile" into tizen_5.5
Ji-hoon Lee [Fri, 6 Dec 2019 10:00:44 +0000 (19:00 +0900)]
Keep assistants updated about service state changes
Change-Id: Ie7e01bc84b61da61da959e03cbebec16bf14a9fa
Ji-hoon Lee [Tue, 3 Dec 2019 09:02:24 +0000 (18:02 +0900)]
Add wakeup policy support in dependency module
Change-Id: I54d5e54b7a1a45a4eef03a80679b0705925dcc32
Ji-hoon Lee [Mon, 2 Dec 2019 10:48:39 +0000 (19:48 +0900)]
Remove unused privilege definition
Change-Id: If00ccd366f4592239d0c84684a6117d20b01c536
Ji-hoon Lee [Tue, 26 Nov 2019 10:34:28 +0000 (19:34 +0900)]
Add button handler for speaker profile
Change-Id: I1c5ad346382668672909c7ed617def58f777a112
Ji-hoon Lee [Tue, 26 Nov 2019 11:13:18 +0000 (20:13 +0900)]
Update year information of license boilerplate
Change-Id: Iefbe7ffb4b5754aa7c33b906c01d9324e9767215
Ji-hoon Lee [Mon, 25 Nov 2019 11:12:37 +0000 (20:12 +0900)]
Bump version to 0.2.13
Change-Id: I7d35ea5c29f952f323f0b0c52147218ee05f5352
Ji-hoon Lee [Fri, 22 Nov 2019 07:39:13 +0000 (16:39 +0900)]
Move common definitions into multi-assistant's dev package
Change-Id: I31ad25810fe4e8d9a46245793f3d946148ab5ed6
Ji-hoon Lee [Fri, 22 Nov 2019 11:02:08 +0000 (20:02 +0900)]
Fix incorrect log messages
Change-Id: Iea4b424e9a28a8fde1a923b8b92cd9071caa5de1
Ji-hoon Lee [Fri, 22 Nov 2019 10:57:21 +0000 (19:57 +0900)]
Unify indentation
Change-Id: I37f0b6fc8304bfb2498f4df6b533637566ea7ab4
Ji-hoon Lee [Fri, 22 Nov 2019 10:37:36 +0000 (19:37 +0900)]
Remove unnecessary dependency module
Change-Id: I24796ea086e8c01b1bf0d84869b72dfdb2a65ea4
Ji-hoon Lee [Fri, 22 Nov 2019 07:53:06 +0000 (16:53 +0900)]
Bump version to 0.2.12
Change-Id: I00755dfa06ed68a8a67e0c0051582f0055ded072
Ji-hoon Lee [Fri, 22 Nov 2019 05:18:09 +0000 (14:18 +0900)]
Enable sending wakeup engine commands to the dependency module
Change-Id: I27db2e1cc1da263428d800dc3b02dab6d5770df3
Ji-hoon Lee [Thu, 21 Nov 2019 10:21:52 +0000 (19:21 +0900)]
Add support for wakeup engine command transmission
Change-Id: I0588f24a03d888e15c952cd09bba60472f8e2074
Ji-hoon Lee [Fri, 15 Nov 2019 06:38:32 +0000 (15:38 +0900)]
Restart recording on follow-up streaming timeout
Change-Id: I45f8972425b8fcc50bcb6cb8e75620a56dbc6494
Ji-hoon Lee [Wed, 20 Nov 2019 08:26:11 +0000 (17:26 +0900)]
Bump version to 0.2.11
Change-Id: Icbd7638feb6b776411a2985fe51c2816ae7dcaed
Ji-hoon Lee [Tue, 19 Nov 2019 10:02:40 +0000 (19:02 +0900)]
Set WAKE_WORD recording session on stop streaming request
Change-Id: I6f74d289a518272bc080b1135f0e5cfb9ca752f7
Ji-hoon Lee [Tue, 19 Nov 2019 06:08:06 +0000 (15:08 +0900)]
Bump version to 0.2.10
Change-Id: Icd0479f15c231519edb6fcf0aa2bbf2d0630a821
Ji-hoon Lee [Tue, 19 Nov 2019 02:41:42 +0000 (11:41 +0900)]
Add logs for tracking proper destruction
Change-Id: If35c356ee2c1c5849d0b82d1a470076fc45cb370
Ji-hoon Lee [Mon, 18 Nov 2019 02:19:36 +0000 (11:19 +0900)]
Fix defects detected by static analysis tool
Change-Id: Ic5c1e6a0068ad243476f62b016131a9e0c5b9e1f
Ji-hoon Lee [Wed, 13 Nov 2019 10:56:26 +0000 (19:56 +0900)]
Add support for setting assistant language
Change-Id: Id7d6e6c48541088ec7004fcc2db27c3d473afdb3
Ji-hoon Lee [Thu, 7 Nov 2019 10:16:30 +0000 (19:16 +0900)]
Bump version to 0.2.9
Change-Id: I1febcfbce71db18e29d69652af547d2910518ec8
Ji-hoon Lee [Fri, 8 Nov 2019 06:02:09 +0000 (15:02 +0900)]
Fix bug recording_session is not changed properly
Change-Id: Ia2ad3c215cb6bb2b2f65872122d3c4b8aff33115
Ji-hoon Lee [Thu, 7 Nov 2019 10:07:56 +0000 (19:07 +0900)]
Reload plugin modules depending on pkgmgr event
Change-Id: I5c12c6600b80f2657e371b15c4eeac13c0044722
Ji-hoon Lee [Mon, 4 Nov 2019 02:32:56 +0000 (11:32 +0900)]
Add reload feature for updating pluings on-the-fly
Change-Id: Ibf873b8861b22807f9b51f5f8e92efb82f8520ba
Ji-hoon Lee [Thu, 7 Nov 2019 07:01:59 +0000 (16:01 +0900)]
Bump version to 0.2.8
Change-Id: I14024040e9cc66a2687f7bba6099f39c2f0dcc8f
Ji-hoon Lee [Thu, 7 Nov 2019 07:00:41 +0000 (16:00 +0900)]
Apply secure options to compile flags
Change-Id: Ia582efe7e1b7d7beb6b1fe989ada3f4f47ef6559
Ji-hoon Lee [Tue, 5 Nov 2019 06:29:57 +0000 (15:29 +0900)]
Merge version 0.2.7 into tizen_5.5
Change-Id: Iea84804ce54d12f7186cc403a0db31f4146a7bec
Ji-hoon Lee [Fri, 1 Nov 2019 04:31:36 +0000 (13:31 +0900)]
Merge version 0.2.6 into tizen_5.5
Change-Id: Ib155c05f887ee9fd9660b7fcc4ea550c131eea01
Ji-hoon Lee [Thu, 31 Oct 2019 11:25:41 +0000 (20:25 +0900)]
Bump version to 0.2.7
Change-Id: If861f52ac4920f04326c8a399adffa7c4f58c9bb
Ji-hoon Lee [Thu, 31 Oct 2019 11:22:42 +0000 (20:22 +0900)]
Stop streaming only when necessary
Streaming stop function was being called inside
wakeup_manager state change function, which results
invoking unnecessary streaming stop functions
in many cases.
Change-Id: I723b187375ce3a8d6c4b4933d6577c7a9be758d2
Ji-hoon Lee [Thu, 31 Oct 2019 11:20:28 +0000 (20:20 +0900)]
Change manager state right away on voice key release
Change-Id: I97f074bfca65f0af8e770eae675dbf46fbb8713d
Ji-hoon Lee [Thu, 31 Oct 2019 11:16:18 +0000 (20:16 +0900)]
Finalize audio data when voice key is in pressed state
When audio is finalized after voice key variable is
set to false, the FINISH audio event will be fed to
wakeup engines where the event itself is not useful
for wakeup engines.
Change-Id: Ifdd41be5e76a84b779d697edefd57203ac2bfe5a
Ji-hoon Lee [Tue, 29 Oct 2019 07:04:40 +0000 (16:04 +0900)]
Bump version to 0.2.6
Change-Id: I0d42ae4371b25e7e24e8cd4329251ba39f672fe9
Ji-hoon Lee [Tue, 29 Oct 2019 07:03:40 +0000 (16:03 +0900)]
Prelaunch default assistant on setting change event
Change-Id: I1a8f96a408bff8668d81020876cdebad0623e969
Ji-hoon Lee [Tue, 29 Oct 2019 02:11:34 +0000 (11:11 +0900)]
Support background/foreground preprocessing selectively
Change-Id: If8d8d875f35a08ec8463fe0549b0c9f35df0e2a8
Ji-hoon Lee [Mon, 28 Oct 2019 05:45:41 +0000 (14:45 +0900)]
Fix incorrect log messages
Change-Id: I5722be377ae9e07f7ab2fa1cba7770091613d141
Ji-hoon Lee [Thu, 24 Oct 2019 13:21:03 +0000 (22:21 +0900)]
Bump version to 0.2.5
Change-Id: Ie3e3f4936ba5eedadeadba5a8fdcd2f98de08c1f
Ji-hoon Lee [Thu, 24 Oct 2019 13:18:58 +0000 (22:18 +0900)]
Prevent sending preprocessing appid as NULL
Change-Id: Id3744e4a00bfb4f1a4e66996b8952027a285f74c
Ji-hoon Lee [Thu, 24 Oct 2019 12:37:00 +0000 (21:37 +0900)]
Bump version to 0.2.4
Change-Id: I3923e7e0c848fcbf751523dc43ee676fd9169b1b
Ji-hoon Lee [Thu, 24 Oct 2019 12:33:18 +0000 (21:33 +0900)]
Remove multi-assistant header inclusion
Change-Id: I13635bc2bbd080e6dc2706a057f807a2f29f51d7
Ji-hoon Lee [Thu, 24 Oct 2019 07:36:25 +0000 (16:36 +0900)]
Bump version to 0.2.3
Change-Id: I6019ce410e76fb78c2a525d4929379a1342e48d9
Ji-hoon Lee [Thu, 24 Oct 2019 07:31:22 +0000 (16:31 +0900)]
Add exception handlers for the functions in external modules
Change-Id: Iae5619b299fc0a6ff737b042f90d23d13a3864c0
Ji-hoon Lee [Tue, 22 Oct 2019 09:14:26 +0000 (18:14 +0900)]
Bump version to 0.2.2
Change-Id: I21cb1ebde99f3234b0f3c96a1cef201e9bee5b4f
Ji-hoon Lee [Tue, 22 Oct 2019 09:09:05 +0000 (18:09 +0900)]
Ignore enabled assistants setting in single mode
Change-Id: If8832442ec3c9cfd56f8823a5c0636f284190132
Ji-hoon Lee [Mon, 21 Oct 2019 11:55:41 +0000 (20:55 +0900)]
Deactivate wakeup engines with no activated assistant
If there is a wakeup engine that no activate assistant
specified as its wakeup event source, deactivate it
since it would consume resources unnecessarily.
Change-Id: I5b88fbe0b7644bdb5601216f46ccedc6566a7938
Ji-hoon Lee [Fri, 18 Oct 2019 04:43:18 +0000 (13:43 +0900)]
Bump version to 0.2.1
Change-Id: If694bf9dbc732a183e70e7e64df7094356748643
Ji-hoon Lee [Wed, 16 Oct 2019 07:38:12 +0000 (16:38 +0900)]
Add sample code for terminating host process
Change-Id: I4106710af29912e58bd0c4d0123cc1348f8ecc69
Ji-hoon Lee [Tue, 15 Oct 2019 12:08:42 +0000 (21:08 +0900)]
Add prelaunch functionality for preprocessing assistant
Change-Id: Idf167b0293ea1783c22b9ab151fbce1d52769a63
Ji-hoon Lee [Wed, 2 Oct 2019 11:46:25 +0000 (20:46 +0900)]
Add support for delivering preprocessing info and result
Change-Id: Iab6dc1d92a23379d5697092fb295edba4f21376a
Ji-hoon Lee [Tue, 15 Oct 2019 07:55:08 +0000 (16:55 +0900)]
Add missing implementation for resolving appid from pid
Change-Id: Idfb73b15e7a116f93be61e5f8c6f0e1afa5f6095
Ji-hoon Lee [Tue, 15 Oct 2019 07:52:22 +0000 (16:52 +0900)]
Remove unused function
Change-Id: I82e60ea5837b4a9fecd1006d904d4de8dfd0a6e0
Ji-hoon Lee [Fri, 18 Oct 2019 04:25:49 +0000 (13:25 +0900)]
Fix defects detected by static analysis tool
Change-Id: I93f7686679318de3f42ec3d416b9f76db11602d5
Ji-hoon Lee [Wed, 2 Oct 2019 07:54:55 +0000 (16:54 +0900)]
Bump version to 0.2.0
Change-Id: Ia567ca3a49734d5e6a54eac64df0df316dfbe360
Ji-hoon Lee [Wed, 25 Sep 2019 09:56:38 +0000 (18:56 +0900)]
Implement wake word audio data embedding feature
Change-Id: I224daddee40b6d1a80db2ffd0bdb926a9df3919b
Ji-hoon Lee [Mon, 30 Sep 2019 08:15:36 +0000 (17:15 +0900)]
Bump version to 0.1.2
Change-Id: I831ee98716d0eb27aa115696def6115bde9cf45b
Ji-hoon Lee [Mon, 30 Sep 2019 08:28:25 +0000 (17:28 +0900)]
Fix crash caused by uninitialized pointer variable
Change-Id: I63c6fe9a457085544c013555e169b3cd1882df5e