Home
last modified time | relevance | path

Searched refs:KeyphraseSoundModel (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
106 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData()
115 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_noData()
128 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData()
137 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_zeroData()
150 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
159 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
169 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
178 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
196 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_largeData()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DIEnrolledModelDb.java20 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
43 boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel); in updateKeyphraseSoundModel()
68 KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
83 KeyphraseSoundModel getKeyphraseSoundModel(String keyphrase, int userHandle, in getKeyphraseSoundModel()
DTestModelEnrollmentDatabase.java21 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
95 private final Map<EnrollmentKey, KeyphraseSoundModel> mModelMap = new HashMap<>();
98 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
115 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
128 public KeyphraseSoundModel getKeyphraseSoundModel(String keyphrase, int userHandle, in getKeyphraseSoundModel()
DDatabaseHelper.java26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
157 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
197 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel()
216 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
230 public KeyphraseSoundModel getKeyphraseSoundModel(String keyphrase, int userHandle, in getKeyphraseSoundModel()
243 private KeyphraseSoundModel getValidKeyphraseSoundModelForUser(String selectQuery, in getValidKeyphraseSoundModelForUser()
318 KeyphraseSoundModel model = new KeyphraseSoundModel( in getValidKeyphraseSoundModelForUser()
DVoiceInteractionManagerService.java56 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
1654 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel()
1671 public int updateKeyphraseSoundModel(KeyphraseSoundModel model) { in updateKeyphraseSoundModel()
1782 KeyphraseSoundModel model = in isEnrolledForKeyphrase()
1804 KeyphraseSoundModel model = in getEnrolledKeyphraseMetadata()
1877 KeyphraseSoundModel soundModel = in startRecognition()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java22 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
70 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data, in onEnrollButtonClicked()
87 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onUnEnrollButtonClicked()
107 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onReEnrollButtonClicked()
115 KeyphraseSoundModel updated = new KeyphraseSoundModel(soundModel.getUuid(), in onReEnrollButtonClicked()
DEnrollmentUtil.java24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
89 public boolean addOrUpdateSoundModel(KeyphraseSoundModel soundModel) { in addOrUpdateSoundModel()
115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) { in getSoundModel()
121 KeyphraseSoundModel model = null; in getSoundModel()
157 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in verifyKeyphraseSoundModel()
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java25 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
75 int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
/frameworks/base/media/java/android/media/voice/
DKeyphraseModelManager.java85 public SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in getKeyphraseSoundModel()
115 public void updateKeyphraseSoundModel(@NonNull SoundTrigger.KeyphraseSoundModel model) { in updateKeyphraseSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.aidl25 parcelable SoundTrigger.KeyphraseSoundModel;
DSoundTrigger.java764 public static final class KeyphraseSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
769 public KeyphraseSoundModel( in KeyphraseSoundModel() method in SoundTrigger.KeyphraseSoundModel
776 public KeyphraseSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in KeyphraseSoundModel() method in SoundTrigger.KeyphraseSoundModel
787 public static final @NonNull Parcelable.Creator<KeyphraseSoundModel> CREATOR =
788 new Parcelable.Creator<KeyphraseSoundModel>() {
790 public KeyphraseSoundModel createFromParcel(@NonNull Parcel in) {
791 return KeyphraseSoundModel.readFromParcel(in);
795 public KeyphraseSoundModel[] newArray(int size) {
796 return new KeyphraseSoundModel[size];
804 public static KeyphraseSoundModel readFromParcel(@NonNull Parcel in) { in readFromParcel()
[all …]
DSoundTriggerModule.java170 if (model instanceof SoundTrigger.KeyphraseSoundModel) { in loadSoundModel()
172 (SoundTrigger.KeyphraseSoundModel) model); in loadSoundModel()
DConversionUtil.java127 SoundTrigger.KeyphraseSoundModel apiModel) { in api2aidlPhraseSoundModel()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl77 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel()
88 int updateKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel model); in updateKeyphraseSoundModel()
DISoundTriggerSession.aidl46 int loadKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel soundModel); in loadKeyphraseSoundModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java36 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
485 (KeyphraseSoundModel) soundModel); in loadSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java59 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
651 public int loadKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in loadKeyphraseSoundModel()
841 ((KeyphraseSoundModel) soundModel).getKeyphrases()[0].getId()); in unloadSoundModel()
1731 public int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
DSoundTriggerHelper.java33 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
185 public int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startKeyphraseRecognition()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt982 …lManager#updateKeyphraseSoundModel(android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel):
Dtest-lint-baseline.txt1058 …lManager#updateKeyphraseSoundModel(android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel):
Dsystem-current.txt6704 …public static final class SoundTrigger.KeyphraseSoundModel extends android.hardware.soundtrigger.S…
6705 …ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nu…
6706 …ctor public SoundTrigger.KeyphraseSoundModel(@NonNull java.util.UUID, @NonNull java.util.UUID, @Nu…
6709 …method @NonNull public static android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel readF…
6711 …roid.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel> CREATOR;
9597 …OICE_KEYPHRASES) public android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel getKeyphras…
9598 …updateKeyphraseSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel);
Dsystem-lint-baseline.txt1066 …lManager#updateKeyphraseSoundModel(android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel):
/frameworks/base/boot/
Dpreloaded-classes3348 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1
3349 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel
/frameworks/base/config/
Dpreloaded-classes3352 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1
3353 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22049 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;->CREATOR:Landroid/os/Parcelable$Cr…
22050 …gger/SoundTrigger$KeyphraseSoundModel;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…
71985 …$Proxy;->loadKeyphraseSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;)I
72013 …ervice;->loadKeyphraseSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;)I
72032 …raseSoundModel(ILjava/lang/String;)Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;
72050 …roxy;->updateKeyphraseSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;)I
72107 …vice;->updateKeyphraseSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;)I

12