HomeSort by relevance Sort by last modified time
    Searched refs:KeyphraseSoundModel (Results 1 - 13 of 13) sorted by null

  /frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
TestEnrollmentActivity.java 25 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
65 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data,
82 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE);
102 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE);
110 KeyphraseSoundModel updated = new KeyphraseSoundModel(soundModel.uuid,
EnrollmentUtil.java 24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
89 public boolean addOrUpdateSoundModel(KeyphraseSoundModel soundModel) {
108 * {@link #addOrUpdateSoundModel(KeyphraseSoundModel)} without changing the IDs.
115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) {
121 KeyphraseSoundModel model = null;
158 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) {
160 Log.e(TAG, "KeyphraseSoundModel must be non-null");
164 Log.e(TAG, "KeyphraseSoundModel must have a UUID");
168 Log.e(TAG, "KeyphraseSoundModel must have data");
  /frameworks/base/core/java/android/hardware/soundtrigger/
SoundTrigger.aidl 25 parcelable SoundTrigger.KeyphraseSoundModel;
SoundTrigger.java 188 * A specialized version {@link KeyphraseSoundModel} is defined for key phrase
263 * {@link KeyphraseSoundModel}
382 * A KeyphraseSoundModel is a specialized {@link SoundModel} for key phrases.
386 public static class KeyphraseSoundModel extends SoundModel implements Parcelable {
390 public KeyphraseSoundModel(
396 public static final Parcelable.Creator<KeyphraseSoundModel> CREATOR
397 = new Parcelable.Creator<KeyphraseSoundModel>() {
398 public KeyphraseSoundModel createFromParcel(Parcel in) {
399 return KeyphraseSoundModel.fromParcel(in);
402 public KeyphraseSoundModel[] newArray(int size)
    [all...]
  /frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
SoundTriggerTest.java 24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
101 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(),
110 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel);
124 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(),
133 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel);
146 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID()
    [all...]
  /frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
SoundTriggerInternal.java 24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
40 * Return codes for {@link #startRecognition(int, KeyphraseSoundModel,
56 public abstract int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel,
SoundTriggerService.java 26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
195 public int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel,
SoundTriggerHelper.java 32 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
67 * Return codes for {@link #startRecognition(int, KeyphraseSoundModel,
167 int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel,
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
IVoiceInteractionManagerService.aidl 52 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale);
56 int updateKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel model);
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DatabaseHelper.java 26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
103 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) {
140 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle,
159 * Returns a matching {@link KeyphraseSoundModel} for the keyphrase ID.
164 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle,
239 KeyphraseSoundModel model = new KeyphraseSoundModel(
VoiceInteractionManagerService.java 36 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
731 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) {
748 public int updateKeyphraseSoundModel(KeyphraseSoundModel model) {
    [all...]
  /frameworks/base/core/java/android/service/voice/
AlwaysOnHotwordDetector.java 31 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
746 * @return The corresponding {@link KeyphraseSoundModel} or null if none is found.
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 630 milliseconds