Home
last modified time | relevance | path

Searched refs:SpeechRecognizer (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java58 public class SpeechRecognizer { class
285 SpeechRecognizer() { } in SpeechRecognizer() method in SpeechRecognizer
342 public static SpeechRecognizer createSpeechRecognizer(Context context) { in createSpeechRecognizer()
382 public static SpeechRecognizer createSpeechRecognizer(Context context, in createSpeechRecognizer()
408 public static SpeechRecognizer createOnDeviceSpeechRecognizer(@NonNull Context context) { in createOnDeviceSpeechRecognizer()
415 private static SpeechRecognizer wrapWithProxy(SpeechRecognizer delegate) { in wrapWithProxy()
428 public static SpeechRecognizer createOnDeviceTestingSpeechRecognizer( in createOnDeviceTestingSpeechRecognizer()
DSpeechRecognizerProxy.java32 class SpeechRecognizerProxy extends SpeechRecognizer {
36 private final SpeechRecognizer mDelegate;
38 SpeechRecognizerProxy(final SpeechRecognizer delegate) { in SpeechRecognizerProxy()
DRecognitionService.java137 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStartListening()
158 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS); in dispatchStartListening()
170 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStartListening()
183 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStopListening()
410 supportCallback.onError(SpeechRecognizer.ERROR_CANNOT_CHECK_SUPPORT); in onCheckRecognitionSupport()
487 listener.onError(SpeechRecognizer.ERROR_CANNOT_LISTEN_TO_DOWNLOAD_EVENTS); in onTriggerModelDownload()
596 public void error(@SpeechRecognizer.RecognitionError int error) throws RemoteException { in error()
767 public void onError(@SpeechRecognizer.RecognitionError int errorCode) { in onError()
DModelDownloadListener.java55 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
DRecognitionSupportCallback.java31 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
DRecognitionListener.java69 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
DSpeechRecognizerImpl.java49 class SpeechRecognizerImpl extends SpeechRecognizer {
/frameworks/base/services/core/java/com/android/server/speech/
DRemoteSpeechRecognitionService.java34 import android.speech.SpeechRecognizer;
117 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in startListening()
126 tryRespondWithError(listener, SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in startListening()
160 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in startListening()
182 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in stopListening()
191 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
195 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
213 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in cancel()
246 callback.onError(SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in checkRecognitionSupport()
263 listener.onError(SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in triggerModelDownload()
[all …]
DSpeechRecognitionManagerServiceImpl.java42 import android.speech.SpeechRecognizer;
118 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
126 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
134 tryRespondWithError(callback, SpeechRecognizer.ERROR_TOO_MANY_REQUESTS); in createSessionLocked()
212 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
215 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
/frameworks/base/core/api/
Dtest-current.txt3259 public class SpeechRecognizer {
3260 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpe…
Dcurrent.txt41999 public class SpeechRecognizer {
42002 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceSpeechReco…
42003 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
42004 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt50408 Landroid/speech/SpeechRecognizer$InternalListener;-><init>()V
50409 Landroid/speech/SpeechRecognizer$InternalListener;->mInternalHandler:Landroid/os/Handler;
50410 Landroid/speech/SpeechRecognizer$InternalListener;->mInternalListener:Landroid/speech/RecognitionLi…
50411 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_BEGINNING_OF_SPEECH:I
50412 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_BUFFER_RECEIVED:I
50413 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_END_OF_SPEECH:I
50414 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_ERROR:I
50415 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_ON_EVENT:I
50416 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_PARTIAL_RESULTS:I
50417 Landroid/speech/SpeechRecognizer$InternalListener;->MSG_READY_FOR_SPEECH:I
[all …]
/frameworks/base/boot/
Dpreloaded-classes7204 android.speech.SpeechRecognizer
Dboot-image-profile.txt29608 Landroid/speech/SpeechRecognizer;
/frameworks/base/config/
Dpreloaded-classes7208 android.speech.SpeechRecognizer
Dboot-image-profile.txt39742 Landroid/speech/SpeechRecognizer;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27324 public class SpeechRecognizer {
27326 …method public static android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Contex…
27327 …method public static android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Contex…