HomeSort by relevance Sort by last modified time
    Searched refs:KeyphraseSoundModel (Results 1 - 14 of 14) 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;
157 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) {
159 Log.e(TAG, "KeyphraseSoundModel must be non-null");
163 Log.e(TAG, "KeyphraseSoundModel must have a UUID");
167 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 30 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
69 * Return codes for {@link #startRecognition(int, KeyphraseSoundModel,
169 int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel,
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
IVoiceInteractionManagerService.aidl 53 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale);
57 int updateKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel model);
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DatabaseHelper.java 26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
148 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) {
185 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle,
204 * Returns a matching {@link KeyphraseSoundModel} for the keyphrase ID.
209 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle,
284 KeyphraseSoundModel model = new KeyphraseSoundModel(
VoiceInteractionManagerService.java 36 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
    [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/
preloaded-classes     [all...]
compiled-classes-phone     [all...]

Completed in 376 milliseconds