Implement passing the model data to the trusted process
In this patch, we change the behavior to trigger the hotword detection service when the interactor application calls the new "createAlwaysOnHotwordDetector" function. The system will also pass the read-only data(Ex : model data) back to hotword detection service by using the share memory when the service is initialized. So the interactor application can use the new function with share memory to pass the model data back to hotword detection service. Bug: 176938619 Test: atest CtsVoiceInteractionTestCases Change-Id: I753988691725c9d962be25c92d60ec66a3812394
Loading
Please register or sign in to comment