Commit graph

12 commits

Author SHA1 Message Date
Nicholas Ambur
dc10826841 add start_recognition_exteded soundtrigger api
Bug: 146363190
Test: atest VtsHalSoundtriggerV2_3TargetTest
&& Assist GTS test suite and manual testing

Change-Id: I6a1ac196cb7f5ad1c0b60f0adfb67680bb18568b
2020-01-10 14:01:10 -08:00
Nicholas Ambur
581c67326f add get_properties_extended soundtrigger api
Bug: 142414689
Test: GTS assist test suite and manual testing
Change-Id: I86c78e46bfee5072619d38784c29cd871ede731c
2020-01-07 14:03:20 -08:00
Nicholas Ambur
c3c3f12fb2 add support for sound trigger device api 1.3
add support for parameter control APIs with THRESHOLD_FACTOR as the first
supported parameter

Bug: 141929369
Test: Tested manually with test app and confirmed with GTS test
gts-tradefed run gts-dev -m GtsAssistIntentTestCases
Change-Id: Id0b48d90d02a0edbabfebb12697dabb8ea4edfae
2019-12-11 19:18:35 -08:00
mike dooley
737f4ce99d Converting sound trigger v2.2 getModelState to be asynchronous
Test: built android with checkbuild flag

Change-Id: I8e927125dcedbc4b98ceb2886806225b2851c082
Bug-Id: 70206501
2018-11-08 08:11:02 +01:00
Michael Dooley
c2704a5fac Revert "Revert "Adding getModelState API to sound trigger""
This reverts commit 5ac2672ce3.

Reason for revert: rolling forward with fix

Change-Id: Ib7d321f06c94f06a22e962542c9a4c8744702134
2018-10-16 19:55:18 +00:00
Michael Dooley
5ac2672ce3 Revert "Adding getModelState API to sound trigger"
This reverts commit ce0c253ae7.

Reason for revert: fix build breakage

Change-Id: I2a29aff8a33336e3a514ae681d7887cf3fe2d2c2
2018-09-14 16:10:59 +00:00
mike dooley
ce0c253ae7 Adding getModelState API to sound trigger
Test: built android
Bug-Id: 70206501
Change-Id: I2c84fa941eed3f887974f2377655eb0a700542b0
2018-09-12 11:50:31 +02:00
Colin Cross
cc8d9f9fcb Avoid C-style cast warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
2016-10-07 13:10:20 -07:00
Chris Thornton
0a965102e7 Bump the sound trigger device api's minor version number.
This is needed so we know if we should look for the
stop_all_recognitions function.

Change-Id: Ifa1d7ac0fa293e04bf80729bf34fefa48e74b8bb
2016-03-30 11:25:11 -07:00
Chris Thornton
42a448d790 Adds stop_all_recognitions as an optional method to the sound trigger hal.
Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805
2016-03-29 09:19:44 -07:00
Eric Laurent
30f3e6d348 sound trigger: update HAL
New start_recognition() prototype with recognition
configuration structure specifying:
- List of keyphrases to listen to.
- Recognition mode for each keyphrase
- List of users and min confidence levels for each users

New recognition event format with confidence level and user ID
for each user.

Bug: 12378680.
Change-Id: I95e998c735321ceb5c27f477d894b574a6eca860
2014-07-07 10:15:45 -07:00
Eric Laurent
46bbe8a782 added sound trigger HAL.
Defined HAL for hardware voice and sound activity
activity detection (sound trigger).

Change-Id: I04f3c770c69a81245e8a15dd9e097e2c3f5ef069
2014-06-04 14:34:06 -07:00