Create SampleVisualQueryDetectionService for the Sample VoiceInteractor
devlopment app. The service currently only has the no functionalities.
Only the creation and initialization is integrated.
Test: Manual
Bug: 261517532
Change-Id: Ia5354b24e21854fb5e53857f9a6db7c8b80d3f5a
The same trace events are logged for both the VoiceInteractionService
and the HotwordDetectionService
Bug: 232147045
Test: manual
Change-Id: I8b46f1a76c46a34c62a42762d5c56d67f44d8b31
In the VoiceInteractionService sample app, each call to the AudioRecord
is tracked via trace to observe latency.
Bug: 19833161
Test: manual
Change-Id: I24f4b939c7e2eee77399439bc28a9dbce5594129
- Added permission requirements for communicating with system enrollment
app
- Added priv-app permission build target
'com.example.android.voiceinteractor.xml'
- Updated README usage directions
- Added log messages when reading audio from AudioRecord
- Changed AudioRecord read calls to request all of the desired data in a
single .read() call
- Refactor AudioRecord buffer settings to top of service files in
Duration type
- Compute bytesPerSecond based on EventPayload AudioFormat passed by
SoundTrigger HAL
- Fixed keyphrase used by VoiceInteractionService to "X Google"
- Added trace events for tracking the time to read audio in VIS after a
trusted onDetected() callback.
Bug: 168305377
Test: manual
Change-Id: I6c1db7f70ddd62d21c0bb7eba663fe9503d96ae3