Home
last modified time | relevance | path

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

/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DSpeechRecognitionActivity.java194 final List<CallbackMethod> mCallbackMethodsInvoked; field in SpeechRecognitionActivity.RecognizerInfo
201 mCallbackMethodsInvoked = new ArrayList<>(); in RecognizerInfo()
212 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_READY_FOR_SPEECH); in onReadyForSpeech()
217 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_BEGINNING_OF_SPEECH); in onBeginningOfSpeech()
222 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_RMS_CHANGED); in onRmsChanged()
227 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_BUFFER_RECEIVED); in onBufferReceived()
232 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_END_OF_SPEECH); in onEndOfSpeech()
237 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_ERROR); in onError()
243 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_RESULTS); in onResults()
250 mCallbackMethodsInvoked.add(CallbackMethod.CALLBACK_METHOD_PARTIAL_RESULTS); in onPartialResults()
[all …]
DAbstractRecognitionServiceTest.java393 ri.mCallbackMethodsInvoked.clear(); in executeSequenceTest()
479 .mCallbackMethodsInvoked.size() in executeSequenceTest()
512 assertThat(ri.mCallbackMethodsInvoked).isEqualTo(sei.mExpectedClientCallbackMethods); in executeSequenceTest()