summaryrefslogtreecommitdiff
path: root/soundtrigger
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2022-01-20 13:40:39 -0800
committerYtai Ben-Tsvi <ytai@google.com>2022-01-20 13:48:03 -0800
commit0996ac8a4482c05a2f7d696e129cb81927bc19fa (patch)
tree0c6fe690e838cdc475a6e6baf2284928bdb1385f /soundtrigger
parent90736694d28410a68b877926a36569d7ce9b7d0f (diff)
Organize imports and fix formatting
Test: m Fixes: 215567445 Change-Id: I1077b3fb609acde6d6dbda92139f52ad8fed7784
Diffstat (limited to 'soundtrigger')
-rw-r--r--soundtrigger/aidl/android/hardware/soundtrigger3/ISoundTriggerHw.aidl18
1 files changed, 8 insertions, 10 deletions
diff --git a/soundtrigger/aidl/android/hardware/soundtrigger3/ISoundTriggerHw.aidl b/soundtrigger/aidl/android/hardware/soundtrigger3/ISoundTriggerHw.aidl
index 2a3fc644ee..618331b3aa 100644
--- a/soundtrigger/aidl/android/hardware/soundtrigger3/ISoundTriggerHw.aidl
+++ b/soundtrigger/aidl/android/hardware/soundtrigger3/ISoundTriggerHw.aidl
@@ -18,15 +18,12 @@ package android.hardware.soundtrigger3;
import android.hardware.soundtrigger3.ISoundTriggerHwCallback;
import android.hardware.soundtrigger3.ISoundTriggerHwGlobalCallback;
-
-import android.media.soundtrigger.PhraseSoundModel;
-import android.media.soundtrigger.Properties;
-import android.media.soundtrigger.RecognitionConfig;
-import android.media.soundtrigger.SoundModel;
import android.media.soundtrigger.ModelParameter;
import android.media.soundtrigger.ModelParameterRange;
+import android.media.soundtrigger.PhraseSoundModel;
import android.media.soundtrigger.Properties;
import android.media.soundtrigger.RecognitionConfig;
+import android.media.soundtrigger.SoundModel;
/**
* SoundTrigger HAL interface. Used for hardware recognition of hotwords
@@ -196,12 +193,12 @@ interface ISoundTriggerHw {
* an audio stream associated with this recognition session.
* @param config A RecognitionConfig structure containing attributes of the recognition to
* perform.
- * @throws ServiceSpecificException(RESOURCE_CONTENTION) if the model cannot be started due
+ * @throws ServiceSpecificException(RESOURCE_CONTENTION) if the model cannot be started due
* to resource constraints. This is typically a temporary condition and the client may
* retry after the onResourcesAvailable() global callback is invoked.
- */
- void startRecognition(in int modelHandle, in int deviceHandle,
- in int ioHandle, in RecognitionConfig config);
+ */
+ void startRecognition(
+ in int modelHandle, in int deviceHandle, in int ioHandle, in RecognitionConfig config);
/**
* Stop recognition on a given model.
@@ -235,7 +232,8 @@ interface ISoundTriggerHw {
* @return This structure indicates supported attributes of the parameter for the given model
* handle. If the parameter is not supported, null is returned.
*/
- @nullable ModelParameterRange queryParameter(in int modelHandle, in ModelParameter modelParam);
+ @nullable ModelParameterRange queryParameter(
+ in int modelHandle, in ModelParameter modelParam);
/**
* Get a model specific parameter.