Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 337cf74c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Organize imports and fix formatting"

parents 3c4fa6f8 0996ac8a
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -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
@@ -200,8 +197,8 @@ interface ISoundTriggerHw {
     *     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.