Searched refs:getKeyphrases (Results 1 – 10 of 10) sorted by relevance
170 if (soundModel.getKeyphrases() == null || soundModel.getKeyphrases().length != 1) { in verifyKeyphraseSoundModel()174 Keyphrase keyphrase = soundModel.getKeyphrases()[0]; in verifyKeyphraseSoundModel()
116 soundModel.getVendorUuid(), data, soundModel.getKeyphrases()); in onReEnrollButtonClicked()
142 assertTrue(Arrays.equals(ksm.getKeyphrases(), unparceled.getKeyphrases())); in testKeyphraseSoundModelParcelUnparcel_zeroData()183 assertTrue(Arrays.equals(ksm.getKeyphrases(), unparceled.getKeyphrases())); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()211 assertTrue(Arrays.equals(ksm.getKeyphrases(), unparceled.getKeyphrases())); in testKeyphraseSoundModelParcelUnparcel_largeData()
170 if (soundModel.getKeyphrases() != null && soundModel.getKeyphrases().length == 1) { in updateKeyphraseSoundModel()172 soundModel.getKeyphrases()[0].getId()); in updateKeyphraseSoundModel()174 soundModel.getKeyphrases()[0].getRecognitionModes()); in updateKeyphraseSoundModel()176 getCommaSeparatedString(soundModel.getKeyphrases()[0].getUsers())); in updateKeyphraseSoundModel()178 soundModel.getKeyphrases()[0].getLocale().toLanguageTag()); in updateKeyphraseSoundModel()180 soundModel.getKeyphrases()[0].getText()); in updateKeyphraseSoundModel()
99 final Keyphrase keyphrase = soundModel.getKeyphrases()[0]; in updateKeyphraseSoundModel()132 .filter((entry) -> (entry.getValue().getKeyphrases()[0].getText().equals(keyphrase) in getKeyphraseSoundModel()
1810 for (SoundTrigger.Keyphrase phrase : model.getKeyphrases()) { in getEnrolledKeyphraseMetadata()1882 || soundModel.getKeyphrases() == null) { in startRecognition()
130 aidlModel.phrases = new Phrase[apiModel.getKeyphrases().length]; in api2aidlPhraseSoundModel()131 for (int i = 0; i < apiModel.getKeyphrases().length; ++i) { in api2aidlPhraseSoundModel()132 aidlModel.phrases[i] = api2aidlPhrase(apiModel.getKeyphrases()[i]); in api2aidlPhraseSoundModel()
783 public Keyphrase[] getKeyphrases() { in getKeyphrases() method in SoundTrigger.KeyphraseSoundModel834 dest.writeTypedArray(getKeyphrases(), flags); in writeToParcel()839 return "KeyphraseSoundModel [keyphrases=" + Arrays.toString(getKeyphrases()) in toString()850 result = prime * result + Arrays.hashCode(getKeyphrases()); in hashCode()866 if (!Arrays.equals(getKeyphrases(), other.getKeyphrases())) { in equals()
662 if (soundModel.getKeyphrases() == null || soundModel.getKeyphrases().length != 1) { in loadKeyphraseSoundModel()676 soundModel.getKeyphrases()[0].getId()); in loadKeyphraseSoundModel()841 ((KeyphraseSoundModel) soundModel).getKeyphrases()[0].getId()); in unloadSoundModel()
6708 method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();