platform/core/uifw/mmi-manager.git
18 months agoPrevent to reset callbacks in InitializeMembers() method 96/283796/1
Suyeon Hwang [Fri, 21 Oct 2022 01:18:30 +0000 (10:18 +0900)]
Prevent to reset callbacks in InitializeMembers() method

- Issue:
If client app is terminated and launched again, mmi manager can not send
any output result to client app

- Solution:
Current voice touch engine resets the callbacks in InitializeMembers(),
but this method is invoked by a user utterance for terminating client
app. Thus, resetting callbacks in this situation is not intended result.
This patch removes the logic for resetting the callbacks from the
method. Through this patch, voice touch engine always can send output
result to IU modeule.

Change-Id: I0c7e6c428c077494e6ad12ba38582bec55a501b4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoUse PreDefinedCommands class for managing pre-defined commands 95/283795/1
Suyeon Hwang [Wed, 12 Oct 2022 09:16:49 +0000 (18:16 +0900)]
Use PreDefinedCommands class for managing pre-defined commands

- Requirement:
IU module can handle pre-defined command with various language.

- Solution:
This patch makes IU module use PreDefinedCommands class for managing
pre-defined commands. Through this patch, IU module can handle
pre-defined commands with various language state.

Change-Id: Iefbe26cf5e49dc6a614f0bf2065ab191befb261e
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoAdd new class for managing pre-defined commands 94/283794/1
Suyeon Hwang [Wed, 12 Oct 2022 07:29:10 +0000 (16:29 +0900)]
Add new class for managing pre-defined commands

- Requirements:
IU modules needs to manage pre-defined commands according to each
language.

- Solution:
Pre-defined commands can be extended by the language and actions. Thus,
this patch adds new class for manage pre-defined commands. This new
class provides interface for easily using pre-definfed commands.

Change-Id: I9d9bf09fa603af4f1f565f6f26be437b30e87712
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoFix parameter of mmi_provider_event_voice 93/283793/1
Suyeon Hwang [Tue, 11 Oct 2022 08:59:32 +0000 (17:59 +0900)]
Fix parameter of mmi_provider_event_voice

- Issue:
The event structure does not have member for storing language of result
infomration.

- Solution:
This patch fixes the member of the event structure for voice modality.
Through this patch, voice modality provider can send the language
information using this structure.

Change-Id: I82f0e2d9eae4f990e15451ec6e0f698062f606be
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoSend empty clicked object result 92/283792/1
Suyeon Hwang [Wed, 19 Oct 2022 05:31:50 +0000 (14:31 +0900)]
Send empty clicked object result

- Issue:
Voice touch app did not clear the tooltip when user says 'back' or
'referesh'.

- Solution:
Current mmi-manager did not send result to client app, but just sends
output event to output modality when the utterance is pre defined
command. Thus, client app can not handle pre-defined command action
situation. This patch sends result of pre-defined command to client app.
Through this patch, client app can handle this special situation.

Change-Id: I560276bfa230e2171b3d79ed6a69f260a6a239be
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoAdd label to object which has no text label 91/283791/1
Suyeon Hwang [Mon, 17 Oct 2022 12:34:26 +0000 (21:34 +0900)]
Add label to object which has no text label

- Issue:
The utterance about number is not recognized in text label mode.

- Solution:
This patch adds label information for the objects which have no label
information. For these objects, mmi manager uses index information as
label information. Through this patch, number utterance in text label
mode is properly recognized. However, some utterance like '7번' can not
be recogntized yet.

Change-Id: I9fc025638a479d210f644dc5f47b12ed5f435ac3
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoFind intersect area at grid mode second depth 90/283790/1
ulgal-park [Tue, 4 Oct 2022 04:29:09 +0000 (13:29 +0900)]
Find intersect area at grid mode second depth

Change-Id: Ib2a78e0d5223c33a9e86ad38e20b0ca7df3265ae

18 months agoChange screen information refresh interval to seconds 37/283037/2
ulgal-park [Mon, 17 Oct 2022 04:29:33 +0000 (13:29 +0900)]
Change screen information refresh interval to seconds

This reverts commit dad6d944c060b544e96e38543a600f06c7f4c427.

Change-Id: I9bb71498b17c16c5f8940b8161201fc75566795e

18 months agoAdd operation command 90/282890/2
ulgal-park [Thu, 6 Oct 2022 07:17:21 +0000 (16:17 +0900)]
Add operation command

Change-Id: If65ca0661dec6dd4757f94adf2b862143863a3ad

18 months agoAdd operation to output modality voice touch 89/282889/2
ulgal-park [Thu, 6 Oct 2022 07:16:22 +0000 (16:16 +0900)]
Add operation to output modality voice touch

Change-Id: I161b0e865124ea66ecf629a165b9c2b92e0c388f

18 months agoRemove app id from core callback called by IU 85/283785/1
ulgal-park [Thu, 6 Oct 2022 07:44:10 +0000 (16:44 +0900)]
Remove app id from core callback called by IU

Change-Id: If9311642f83cf802b84214f96b1fc619a7600977

18 months agoMerge "version up : 1.0.2" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:24 +0000 (02:12 +0000)]
Merge "version up : 1.0.2" into tizen

18 months agoMerge "Remove app id from IU" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:21 +0000 (02:12 +0000)]
Merge "Remove app id from IU" into tizen

18 months agoMerge "Remove foreground app from output result" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:16 +0000 (02:12 +0000)]
Merge "Remove foreground app from output result" into tizen

18 months agoMerge "Use client handle for sending output result" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:10 +0000 (02:12 +0000)]
Merge "Use client handle for sending output result" into tizen

18 months agoMerge "Add method for getting clines which register specified event" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:05 +0000 (02:12 +0000)]
Merge "Add method for getting clines which register specified event" into tizen

18 months agoMerge "Reformat readme file for presenting source tree" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:11:35 +0000 (02:11 +0000)]
Merge "Reformat readme file for presenting source tree" into tizen

19 months agofor resolving memory risk, add destroy in modality_vision 29/282629/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062813 accepted/tizen/7.0/unified/hotfix/20221116.110157 accepted/tizen/unified/20221007.101823 tizen_7.0_m2_release
dyamy-lee [Fri, 7 Oct 2022 00:57:43 +0000 (09:57 +0900)]
for resolving memory risk, add destroy in modality_vision

Because of no destroy when it return on error, it can get a memory risk.
So, added destroy of source.

Change-Id: I75ad9743474fb28776bfc88e8af7d408d4a500c7

19 months agoversion up : 1.0.2 52/282352/1
Suyeon Hwang [Tue, 27 Sep 2022 06:59:23 +0000 (15:59 +0900)]
version up : 1.0.2

Change-Id: I717f5b53679f88a83e772975e60a405241c17994
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove app id from IU 51/282351/1
Suyeon Hwang [Tue, 27 Sep 2022 02:42:33 +0000 (11:42 +0900)]
Remove app id from IU

- Requirement:
IU module does not need to manage client app ID.

- Solution:
This patch removes app ID parameter from functions and methods of IU
module. Through this patch, IU does not need to manage client app ID.

Change-Id: I6f690129e3c1e5542045822f85fd1052435262b1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove foreground app from output result 50/282350/1
Suyeon Hwang [Tue, 27 Sep 2022 02:26:32 +0000 (11:26 +0900)]
Remove foreground app from output result

- Issue:
MMI IU does not know forground app information.

- Solution:
Actually foreground app information is not used anywhere. Current voice
touch app UX does not need foreground app information. And also, screen
analyzer modality does not send foreground app information to mmi
manager. Thus, this patch removes unused information from output result.
Through this patch, IU does not need to manage app information.

Change-Id: I7fee0723b2ad3ce472199f869a4cc4d8aced34e8
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse client handle for sending output result 49/282349/1
Suyeon Hwang [Mon, 26 Sep 2022 11:38:08 +0000 (20:38 +0900)]
Use client handle for sending output result

- Requirement:
mmi core wants to control client when mmi manager sends output result to
proper client which set specified event.

- Solution:
This patch fixes parameter of mmi_api_handler_send_result() function
from app id to client handle. Through this change and function of mmi
client module, mmi core can control clients when mmi manager sends
output result to clients which set specified event.

Change-Id: Iee2f0e4c65cc2aeabcec09330264904bfb682052
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd method for getting clines which register specified event 48/282348/1
Suyeon Hwang [Mon, 26 Sep 2022 08:53:35 +0000 (17:53 +0900)]
Add method for getting clines which register specified event

- Requirement:
Mmi core wants to get client handles which register the specified event.

- Solution:
In order to control the client following event type, mmi core module has
to get clients from the mmi client modules. Thus, this patch adds new
method for getting client handles which register the specified event.
Throught this patch, mmi core module can get the proper clients from the
mmi client module.

Change-Id: I4af834bc421dad60a79ef60b5af6b8f056ec85e7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoReformat readme file for presenting source tree 97/282197/1
Suyeon Hwang [Tue, 27 Sep 2022 08:27:48 +0000 (17:27 +0900)]
Reformat readme file for presenting source tree

Change-Id: I26d7f393c0f3f959031862f074fc11dbd5dd1a01
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused rule file 92/282192/1
Suyeon Hwang [Tue, 27 Sep 2022 06:31:47 +0000 (15:31 +0900)]
Remove unused rule file

Change-Id: If356b480436317a8da64c36981c526b9d8d2f2a1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused files and function from IU module 91/282191/1
Suyeon Hwang [Tue, 27 Sep 2022 04:52:44 +0000 (13:52 +0900)]
Remove unused files and function from IU module

Change-Id: I327ca986d62b9d32f723ab22aa09fb036dee2269
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Remove unused header" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:43:16 +0000 (04:43 +0000)]
Merge "Remove unused header" into tizen

19 months agoMerge "Use reference type in vector iteration" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:42:25 +0000 (04:42 +0000)]
Merge "Use reference type in vector iteration" into tizen

19 months agoMerge "Modify README.md" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:41:37 +0000 (04:41 +0000)]
Merge "Modify README.md" into tizen

19 months agoMerge "Change screen information refresh interval to milliseconds" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:41:24 +0000 (04:41 +0000)]
Merge "Change screen information refresh interval to milliseconds" into tizen

19 months agoReset member function after sending result 90/282190/1
Suyeon Hwang [Thu, 22 Sep 2022 10:26:05 +0000 (19:26 +0900)]
Reset member function after sending result

Change-Id: Id4fe8161ebc55fe713b6812fcd04ad50eacf630d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused header 92/282092/1
Suyeon Hwang [Mon, 26 Sep 2022 11:19:57 +0000 (20:19 +0900)]
Remove unused header

Change-Id: I6e2c8a00a12ee1fa46efe1d7c9f4ad44cb20d096
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse reference type in vector iteration 91/282091/1
Suyeon Hwang [Mon, 26 Sep 2022 11:13:22 +0000 (20:13 +0900)]
Use reference type in vector iteration

Change-Id: Ic35c58fbaeffc37d3c9a6d19751b119270a15175
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoModify README.md 76/282076/1
sungwook79.park [Mon, 26 Sep 2022 07:48:57 +0000 (16:48 +0900)]
Modify README.md

Change-Id: Ibdbd9f438f58690133002957cb66ed9e9a5cee73
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
19 months agoversion up : 1.0.1 05/282005/1 accepted/tizen/unified/20220927.132354
dyamy-lee [Mon, 26 Sep 2022 06:40:56 +0000 (15:40 +0900)]
version up : 1.0.1

Change-Id: If86a239969e4ae995d507c8321e373e7c5c83c51

19 months agoChange screen information refresh interval to milliseconds 00/282000/1
ulgal-park [Thu, 22 Sep 2022 07:58:45 +0000 (16:58 +0900)]
Change screen information refresh interval to milliseconds

Change-Id: Iefa128d3c17989789da6ed24cd6232c3b55667de

19 months agoAdd voice touch trun off command 81/281881/1
Suyeon Hwang [Thu, 22 Sep 2022 05:17:12 +0000 (14:17 +0900)]
Add voice touch trun off command

Change-Id: I5d16fba600515cb571fec7af82b0c9502fb4fd8f
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd new methods for making turn off event 45/281845/3
Suyeon Hwang [Thu, 22 Sep 2022 04:42:48 +0000 (13:42 +0900)]
Add new methods for making turn off event

Change-Id: I4c413476a3163b4e30ce0c70ca0047cdfcdb78d9
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Skip operation when mode is not changed by voice command" into tizen
Suyeon Hwang [Fri, 23 Sep 2022 01:19:14 +0000 (01:19 +0000)]
Merge "Skip operation when mode is not changed by voice command" into tizen

19 months agoMove grid depth and result type info to proper hierarchy 79/281879/1
Suyeon Hwang [Thu, 22 Sep 2022 05:20:48 +0000 (14:20 +0900)]
Move grid depth and result type info to proper hierarchy

Change-Id: I1af6003bfc25e0c6e3392fd14da627bc36ede757
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSkip operation when mode is not changed by voice command 24/281824/1
Suyeon Hwang [Thu, 22 Sep 2022 06:37:00 +0000 (15:37 +0900)]
Skip operation when mode is not changed by voice command

Change-Id: I70bdaf533eca6d58da627da305a64906a061f403
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend result type and grid depth with clicked object 92/281792/1
Suyeon Hwang [Wed, 21 Sep 2022 12:00:25 +0000 (21:00 +0900)]
Send result type and grid depth with clicked object

Change-Id: I4e1c67f80e4f042f45a43311bc416a3037798aec
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend 2nd depth grid information after 1st depth grid 91/281791/1
Suyeon Hwang [Wed, 21 Sep 2022 11:04:26 +0000 (20:04 +0900)]
Send 2nd depth grid information after 1st depth grid

Change-Id: I1c46354a337a554db864dd4e30e22b2d57a44c0b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSkip request modality when grid mode is in 1st depth 90/281790/1
Suyeon Hwang [Wed, 21 Sep 2022 10:21:55 +0000 (19:21 +0900)]
Skip request modality when grid mode is in 1st depth

Change-Id: Ic5d0cd3751c36ac5a682787cb29c60b59a08d168
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge changes I3b9dccd5,Id6ee19f8 into tizen
Suyeon Hwang [Thu, 22 Sep 2022 01:43:17 +0000 (01:43 +0000)]
Merge changes I3b9dccd5,Id6ee19f8 into tizen

* changes:
  add null check about object id of output modality
  change voice touch click logic as by coordinate

19 months agoMerge "Register proper command by current voice touch mode" into tizen
Suyeon Hwang [Thu, 22 Sep 2022 01:13:03 +0000 (01:13 +0000)]
Merge "Register proper command by current voice touch mode" into tizen

19 months agoadd null check about object id of output modality 74/281774/1
dyamy-lee [Wed, 21 Sep 2022 10:37:22 +0000 (19:37 +0900)]
add null check about object id of output modality

Change-Id: I3b9dccd56cd95c34ca685e9ac3a157c88917a9ee

19 months agochange voice touch click logic as by coordinate 73/281773/1
dyamy-lee [Wed, 21 Sep 2022 09:50:58 +0000 (18:50 +0900)]
change voice touch click logic as by coordinate

If a target's profile is not a TV, it clicks object by coordinate.
No longer it finds object by aurum because of time.

Change-Id: Id6ee19f8d1ec4f5c2c3bd2c1041346cb1edffa67

19 months agoRequest event for refreshing clickable object 72/281772/1
Suyeon Hwang [Wed, 21 Sep 2022 07:12:29 +0000 (16:12 +0900)]
Request event for refreshing clickable object

Change-Id: I98990c427a2a83cd7478a4344c76b86f85df092b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Add index to label when the item has no label" into tizen
Suyeon Hwang [Thu, 22 Sep 2022 00:45:16 +0000 (00:45 +0000)]
Merge "Add index to label when the item has no label" into tizen

19 months agoMerge changes Ib499bda1,Ic465aee2,I856535e3 into tizen
Suyeon Hwang [Thu, 22 Sep 2022 00:44:55 +0000 (00:44 +0000)]
Merge changes Ib499bda1,Ic465aee2,I856535e3 into tizen

* changes:
  Add grid depth information to output result
  Add grid mode activation command
  Fix order of generating grid

19 months agoRegister proper command by current voice touch mode 52/281752/1
Suyeon Hwang [Wed, 21 Sep 2022 08:22:43 +0000 (17:22 +0900)]
Register proper command by current voice touch mode

Change-Id: I7bd11bb7f03704c9a7ed28b01c6e750078577453
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd index to label when the item has no label 31/281731/1
Suyeon Hwang [Wed, 21 Sep 2022 04:55:34 +0000 (13:55 +0900)]
Add index to label when the item has no label

Change-Id: I442e57933df49065ba7da3a6ef65279559404cc7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd grid depth information to output result 18/281718/1
Suyeon Hwang [Wed, 21 Sep 2022 04:27:40 +0000 (13:27 +0900)]
Add grid depth information to output result

Change-Id: Ib499bda19e714450e56d423b0074f87b50b403c6
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd grid mode activation command 17/281717/1
Suyeon Hwang [Wed, 21 Sep 2022 04:15:10 +0000 (13:15 +0900)]
Add grid mode activation command

Change-Id: Ic465aee253c15f292e95d276343f58fcab0fae4b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoFix order of generating grid 16/281716/1
Suyeon Hwang [Wed, 21 Sep 2022 01:36:40 +0000 (10:36 +0900)]
Fix order of generating grid

Change-Id: I856535e37986defc1f76eb8827ca75dc0eb9504c
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd refresh screen information event 08/281708/1
ulgal-park [Tue, 20 Sep 2022 13:52:10 +0000 (22:52 +0900)]
Add refresh screen information event

Change-Id: I122f38b076651d35cf6f0a64bf5a398b3e3fbc4e

19 months agofix type at iu voice touch engine output modality callback 07/281707/1
ulgal-park [Tue, 20 Sep 2022 13:50:35 +0000 (22:50 +0900)]
fix type at iu voice touch engine output modality callback

Change-Id: Icc183adab13805cbe6f30ce64be399e20a43a0c5

19 months agoFix langauge of voice touch command as Korean 53/281653/1
Suyeon Hwang [Tue, 20 Sep 2022 07:58:13 +0000 (16:58 +0900)]
Fix langauge of voice touch command as Korean

- Issue:
Current voice modality sends text with Korean.

- Solution:
This patch changes the candidates of the voice touch command to Korean
language version. Current voice modality just recognize Korean language
only, so without Korean command MMI manager can not be properly worked.
Through this patch, MMI manager can recognize Korean ASR result.

Change-Id: I0f621effe00a9dc672fb295dbd87de63ddd5c486
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove legacy IU engine module 41/281641/1 accepted/tizen/unified/20220921.022909
Suyeon Hwang [Mon, 19 Sep 2022 07:39:06 +0000 (16:39 +0900)]
Remove legacy IU engine module

- Issue:
Legacy IU module is not used now.

- Solution:
This patch removes legacy IU module from the project. This legacy IU
module does not fit current architecture for voice touch feature.

Change-Id: If5af3c00df414a94ff63acc4ffb0675ba296f0d4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge changes I94199933,Ib0feb1e7 into tizen
Suyeon Hwang [Tue, 20 Sep 2022 06:23:47 +0000 (06:23 +0000)]
Merge changes I94199933,Ib0feb1e7 into tizen

* changes:
  for luanch with mmi voice touch reference app, app id has to change as org.tizen.voice-touch
  fix received_callbacks' event type

19 months agoChange variable naming 39/281639/1
sooyeon [Tue, 20 Sep 2022 01:32:18 +0000 (10:32 +0900)]
Change variable naming

Change-Id: Ifda5b64d6c97a6a739e16bc375afc3995b21b72e
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange key names with camel style 38/281638/1
sooyeon [Mon, 19 Sep 2022 12:03:43 +0000 (21:03 +0900)]
Change key names with camel style

Change-Id: I22f480bb869933933a856aefb61647b955de4d08
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agofix checking result_cb_list length exception 35/281635/1
dyamy-lee [Mon, 19 Sep 2022 10:54:44 +0000 (19:54 +0900)]
fix checking result_cb_list length exception

exception's condition is changed as same or less than 0 for checking of client's result_cb_list in client_manager_get_result_cb_handle.

Change-Id: Idf2d16f84d142427194cc5a82ae781adb4ce4cba

19 months agoFix double free issue when destrouct JsonProvider 31/281631/1
Suyeon Hwang [Mon, 19 Sep 2022 11:05:34 +0000 (20:05 +0900)]
Fix double free issue when destrouct JsonProvider

Change-Id: I4bfffd044005a972900d0a76376e94b1d4cd21cb
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend output result when screen analyzer event occurs 30/281630/1
Suyeon Hwang [Mon, 19 Sep 2022 08:51:24 +0000 (17:51 +0900)]
Send output result when screen analyzer event occurs

- Issue:
IU engine does not invoke callback for sending output result to client
app when screen analyzer event occurs.

- Solution:
This patch adds code for invoking output result callback, and this code
is for sending clickable object information to client app.

Change-Id: I1b4be635b3dacc8af112acf604a7d506a47b62e3
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agofor luanch with mmi voice touch reference app, app id has to change as org.tizen... 29/281629/1
dyamy-lee [Tue, 20 Sep 2022 02:49:14 +0000 (11:49 +0900)]
for luanch with mmi voice touch reference app, app id has to change as org.tizen.voice-touch

Change-Id: I94199933123a050e3cdf196391c84cdc853be07a

19 months agofix received_callbacks' event type 28/281628/1
dyamy-lee [Tue, 20 Sep 2022 02:48:10 +0000 (11:48 +0900)]
fix received_callbacks' event type

received_callbacks' event type should be type of input event type.
So, replace as MMI_INPUT_EVENT_TYPE_VOICE_TOUCH

Change-Id: Ib0feb1e7c41aa7e194725965ad387a3c343378d2

19 months agoadd deactivate client's input event when client is removed 26/281626/1
dyamy-lee [Mon, 19 Sep 2022 06:04:22 +0000 (15:04 +0900)]
add deactivate client's input event when client is removed

when client is removed, it needs to stop input event's modalities.
So, it needs to call deactivate input event api, and do drop events

Change-Id: I80a757cd8d5af907590bff391b29c101344ac2d0

19 months agoFix order of module initialization 24/281624/1
Suyeon Hwang [Mon, 19 Sep 2022 08:11:37 +0000 (17:11 +0900)]
Fix order of module initialization

- Issue:
Event handlers in MMI core modules are not worked properly.

- Solution:
The events provider values are created by modality provider module, but
MMI core module was initilized before modality provider creates those
event values. To solve this problem, this patch reoders the
initialization that MMI manager initializes the modality provider module
first before initializing MMI core module.

Change-Id: Ic64b8de0772fac79ab2807209b2c9634baf2cd62
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoImplement logic for sending output modality and result 12/281612/1
Suyeon Hwang [Wed, 14 Sep 2022 02:07:25 +0000 (11:07 +0900)]
Implement logic for sending output modality and result

- Requirement:
MMI core module needs to send output result and modality to proper
client app and output modality provider.

- Solution:
This patch adds new logic for sending output result and modality to
client app and output modality provider. For this change, this patch
also fixes interface of output result callback of IU module.

Change-Id: Ib61141ec9c9b6b249f2836f277f81b5a12061eef
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd remained pixels to grids which are end of right and bottom 04/281604/1
Suyeon Hwang [Mon, 19 Sep 2022 05:06:33 +0000 (14:06 +0900)]
Add remained pixels to grids which are end of right and bottom

Change-Id: I1202a655f81c33047c6a55d8b2242b87157d40ad
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse reference type for iteration and initialize memeber with proper value 03/281603/1
Suyeon Hwang [Mon, 19 Sep 2022 01:57:10 +0000 (10:57 +0900)]
Use reference type for iteration and initialize memeber with proper value

Change-Id: Idde632226e16e67d5aaed5dfcab0371339510d77
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd voice touch intent understanding module 02/281602/1
Suyeon Hwang [Tue, 6 Sep 2022 12:36:14 +0000 (21:36 +0900)]
Add voice touch intent understanding module

- Requirement:
IU module needs to handle voice touch event.

- Solution:
This patch adds new class which name is VoiceTouchEngine. This new class
is for handling voice touch event using CommandManager class. In order
to use this new class, this patch also fixes the mmi_iu module refer to
VoiceTouchEngine.

Change-Id: I68195c92faf11b2723a987db9a008000d449f394
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoadd free about input_result_callback in client module 01/281601/1
dyamy-lee [Fri, 16 Sep 2022 05:03:09 +0000 (14:03 +0900)]
add free about input_result_callback in client module

when error occured, it needs to free the storage returned from calloc.
So, it add free about input_result_callback

Change-Id: If28aeb37c856ad1c7796c386c598fde44ff83350

19 months agoremove related fusion module 00/281600/1
dyamy-lee [Wed, 14 Sep 2022 11:33:27 +0000 (20:33 +0900)]
remove related fusion module

remove ref-fusion module, mmi-fusion in mmimgr.
also, remove ref-fusion-tests.

Change-Id: Ic1f734096e34d8fab99a632011b0ce06de013968

19 months agorestructure about code which related tidl interface 99/281599/1
dyamy-lee [Thu, 15 Sep 2022 00:20:07 +0000 (09:20 +0900)]
restructure about code which related tidl interface

- tidl interface changed, following the design change.
- this patch removes not used callback functions in mmi-api-handler,
   and in mmi-client, mmi-manager.
- this patch add new callbacks for handling tidl logics.

Change-Id: I9545543febedbd46a762a68cecb8bc03a76c74cd

19 months agoFix interface name 93/281593/1
Suyeon Hwang [Wed, 7 Sep 2022 08:47:38 +0000 (17:47 +0900)]
Fix interface name

- Issue:
In a new architecture for voice touch, the concept of intent is not
used.

- Solution:
This patch changes the term of intent to result and modality. This is
because the concept of intent is not used in a new architecture for
voice touch feature.

Change-Id: Id2229d1c19bdc940ee2501d6b669cce20601d8f7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unnecessary key 81/281581/1
sooyeon [Fri, 16 Sep 2022 07:00:36 +0000 (16:00 +0900)]
Remove unnecessary key

Change-Id: I5287c203abe3980591994ac002401c56fdbc77c5
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange variable names 80/281580/1
sooyeon [Fri, 16 Sep 2022 04:58:21 +0000 (13:58 +0900)]
Change variable names

Change-Id: Ibf6e92a76c59e78e80e3f2d674860a5eb51531d5
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange output event json format 79/281579/1
sooyeon [Fri, 16 Sep 2022 03:36:21 +0000 (12:36 +0900)]
Change output event json format

Change-Id: I4fd42d2c3fe89c2c9f42492ed6061f9546704910
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agooutput_modality : add output modality voice touch 77/281577/1
ulgal-park [Mon, 5 Sep 2022 05:16:37 +0000 (14:16 +0900)]
output_modality : add output modality voice touch

Change-Id: Icc34123eed47d36220e40d37d95a1a59388b0026

19 months agoFix enum value and Add underscore prefix to internal function 76/281576/1
Suyeon Hwang [Thu, 15 Sep 2022 02:11:57 +0000 (11:11 +0900)]
Fix enum value and Add underscore prefix to internal function

Change-Id: If6f8cf699fb5e5d6d5851414151eb68883bb59a4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd default value of input event type enum 75/281575/1
Suyeon Hwang [Thu, 15 Sep 2022 01:49:36 +0000 (10:49 +0900)]
Add default value of input event type enum

Change-Id: I0048833859d73f8cf17e8385a34ecf62c3957e98
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRefactor input/output interface 74/281574/1
Suyeon Hwang [Tue, 6 Sep 2022 06:21:45 +0000 (15:21 +0900)]
Refactor input/output interface

- Requirement:
mmi_core needs to control the data and flow between input modality,
output modality, and IU module.

- Solution:
This patch removes mmi-iu-bridge module and move the code from
mmi-iu-bridge to mmi-core module. And also, this patch adds new event
type for screen analyzer modality and voice touch event.

Change-Id: I6a75870a1d398c927872993e04d1f56d7d514c9f
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoChange API name (setInfoClickableObject -> add InfoClickableObject) 66/281566/1
sooyeon [Thu, 15 Sep 2022 00:16:58 +0000 (09:16 +0900)]
Change API name (setInfoClickableObject -> add InfoClickableObject)

Change-Id: I28985754b24caa70044f2d9a33df8286c964bbef
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoAdd json provider in IU 65/281565/1
sooyeon [Wed, 14 Sep 2022 08:37:51 +0000 (17:37 +0900)]
Add json provider in IU

Change-Id: I8f12b90e58e7a99bf7713395680fd8b4681e7bd5
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoMerge changes I783ea295,I278b7c11,I025e5eb4,Ib6a18a5a,I91cce2a1, ... into tizen
Suyeon Hwang [Tue, 20 Sep 2022 03:06:00 +0000 (03:06 +0000)]
Merge changes I783ea295,I278b7c11,I025e5eb4,Ib6a18a5a,I91cce2a1, ... into tizen

* changes:
  Fix boiler plate to apache license version
  Add unittests for CommandManager and CommandFinder
  Fix parameter type, segfault, logs, and minor issues
  Replace Command class to ClickableItem
  Fix typo
  Add new class for managing voice touch command

19 months agoFix boiler plate to apache license version 35/281535/1
Suyeon Hwang [Wed, 14 Sep 2022 09:06:04 +0000 (18:06 +0900)]
Fix boiler plate to apache license version

Change-Id: I783ea2955dd2f4c48bf8d110678d7ffd2127edcf
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd unittests for CommandManager and CommandFinder 34/281534/1
Suyeon Hwang [Wed, 14 Sep 2022 09:03:18 +0000 (18:03 +0900)]
Add unittests for CommandManager and CommandFinder

Change-Id: I278b7c11b3ad4c247b9598e648cdd3d0858140e5
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoFix parameter type, segfault, logs, and minor issues 33/281533/1
Suyeon Hwang [Wed, 14 Sep 2022 08:59:21 +0000 (17:59 +0900)]
Fix parameter type, segfault, logs, and minor issues

This patch includes these changes:
- Use reference type parameter for reducing copy time
- Add logs for better debugging
- Remove overflowed array access
- Remove null pointer access
- Fix error handling logic

Change-Id: I025e5eb4edb0749a8f0b52a8ade08ce461961562
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoReplace Command class to ClickableItem 32/281532/1
Suyeon Hwang [Wed, 7 Sep 2022 06:21:19 +0000 (15:21 +0900)]
Replace Command class to ClickableItem

Change-Id: Ib6a18a5a3460a381bf899bbeda05f3501a4e7e83
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoFix typo 31/281531/1
Suyeon Hwang [Tue, 6 Sep 2022 08:08:59 +0000 (17:08 +0900)]
Fix typo

Change-Id: I91cce2a1fc8835bcfd04e6680017c015438dabbb
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd new class for managing voice touch command 30/281530/1
Suyeon Hwang [Fri, 26 Aug 2022 08:45:11 +0000 (17:45 +0900)]
Add new class for managing voice touch command

- Requirement:
MMI manager needs to manage clickable object in current window for voice
touch implementation.

- Implementation:
This patch adds new classes for managing clickable object as commands of
voice touch. Through these new classes, MMI manager can manage and find
commands related the text that user says. The initial algorith for
finding command uses Levenshtein distance as similarity matric.

Change-Id: I388b1ec15ab61c522d2bf6a227bcbfeae725cc89
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd new member for asr result event 29/281529/1
Suyeon Hwang [Mon, 29 Aug 2022 06:22:49 +0000 (15:22 +0900)]
Add new member for asr result event

Change-Id: I8ea7cb5733c40df58317abfc2d6a63c83f200c8a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
21 months agoUpdate version(0.1.1) 54/278654/1 accepted/tizen/unified/20220726.132125 submit/tizen/20220725.020519
dyamy-lee [Sun, 24 Jul 2022 23:45:09 +0000 (08:45 +0900)]
Update version(0.1.1)

Change-Id: I616edaba20335de8e8852e80ee0128204a3b7c74

22 months agoadd xml 82/277182/1
dyamy-lee [Wed, 16 Mar 2022 07:10:25 +0000 (16:10 +0900)]
add xml

Change-Id: I52f81492b29b25d7fd8250044c8cb07d008e516f

22 months agoadd eventtype of voice for screen-analyzer, add key grab, add capability type 81/277181/1
dyamy-lee [Mon, 30 May 2022 08:38:25 +0000 (17:38 +0900)]
add eventtype of voice for screen-analyzer, add key grab, add capability type

Change-Id: Iaee89ad3ef3fb0cd92061308c1ae5ecc6b9f37b8

22 months agoRename MMI_FW to MMI because the tidl module is for application sandbox/devel/action
sungwook79.park [Thu, 16 Jun 2022 05:42:09 +0000 (14:42 +0900)]
Rename MMI_FW to MMI because the tidl module is for application

Change-Id: Ic7e158fe9c6da418cdf576e5543b93418eb49d1e
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
22 months agommi-client : destroy action_event_h when returned by fail 46/277146/1
dyamy-lee [Fri, 4 Mar 2022 01:52:06 +0000 (10:52 +0900)]
mmi-client : destroy action_event_h when returned by fail

Change-Id: Id0009e397214c63546b7506b4dad7d90a43c5244