Home
last modified time | relevance | path

Searched refs:AnswerType (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DTextToSpeech.java69 enum AnswerType { enum
88 AnswerType type = getAnswerType(results); in createBooleanQuestionCallback()
89 if (type != AnswerType.AFFIRMATIVE && type != AnswerType.NEGATIVE) { in createBooleanQuestionCallback()
99 consumer.accept(type == AnswerType.AFFIRMATIVE); in createBooleanQuestionCallback()
154 @Nullable AnswerType getAnswerType(List<String> strings); in getAnswerType()
DTextToSpeechImpl.java86 private final Map<String, AnswerType> mAnswerTypes = new HashMap<>();
95 .forEach(answer -> mAnswerTypes.put(answer, AnswerType.AFFIRMATIVE)); in TextToSpeechImpl()
98 .forEach(answer -> mAnswerTypes.put(answer, AnswerType.NEGATIVE)); in TextToSpeechImpl()
232 public AnswerType getAnswerType(List<String> strings) { in getAnswerType()