Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/speech/
H A DRemoteSpeechRecognitionService.java34 import android.speech.SpeechRecognizer;
107 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in startListening()
116 tryRespondWithError(listener, SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in startListening()
150 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in startListening()
172 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in stopListening()
181 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
185 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
203 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in cancel()
236 callback.onError(SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in checkRecognitionSupport()
253 listener.onError(SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in triggerModelDownload()
[all …]
H A DSpeechRecognitionManagerServiceImpl.java40 import android.speech.SpeechRecognizer;
110 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
118 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
126 tryRespondWithError(callback, SpeechRecognizer.ERROR_TOO_MANY_REQUESTS); in createSessionLocked()
204 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
207 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
/aosp14/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java69 public class SpeechRecognizer { class
368 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) { in SpeechRecognizer() method in SpeechRecognizer
378 private SpeechRecognizer(final Context context, boolean onDevice) { in SpeechRecognizer() method in SpeechRecognizer
436 public static SpeechRecognizer createSpeechRecognizer(final Context context) { in createSpeechRecognizer()
473 public static SpeechRecognizer createSpeechRecognizer(final Context context, in createSpeechRecognizer()
479 return new SpeechRecognizer(context, serviceComponent); in createSpeechRecognizer()
496 public static SpeechRecognizer createOnDeviceSpeechRecognizer(@NonNull final Context context) { in createOnDeviceSpeechRecognizer()
512 public static SpeechRecognizer createOnDeviceTestingSpeechRecognizer( in createOnDeviceTestingSpeechRecognizer()
519 private static SpeechRecognizer lenientlyCreateOnDeviceSpeechRecognizer( in lenientlyCreateOnDeviceSpeechRecognizer()
525 return new SpeechRecognizer(context, /* onDevice */ true); in lenientlyCreateOnDeviceSpeechRecognizer()
H A DRecognitionService.java136 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStartListening()
157 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS); in dispatchStartListening()
169 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStartListening()
182 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStopListening()
409 supportCallback.onError(SpeechRecognizer.ERROR_CANNOT_CHECK_SUPPORT); in onCheckRecognitionSupport()
486 listener.onError(SpeechRecognizer.ERROR_CANNOT_LISTEN_TO_DOWNLOAD_EVENTS); in onTriggerModelDownload()
589 public void error(@SpeechRecognizer.RecognitionError int error) throws RemoteException { in error()
760 public void onError(@SpeechRecognizer.RecognitionError int errorCode) { in onError()
H A DModelDownloadListener.java55 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
H A DRecognitionSupportCallback.java31 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
H A DRecognitionListener.java69 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt3078 public class SpeechRecognizer {
3079 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpe…
H A Dcurrent.txt41708 public class SpeechRecognizer {
41711 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceSpeechReco…
41712 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
41713 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt51074 Landroid/speech/SpeechRecognizer;->checkOpenConnection()Z
51075 Landroid/speech/SpeechRecognizer;->DBG:Z
51076 Landroid/speech/SpeechRecognizer;->handleCancelMessage()V
51079 Landroid/speech/SpeechRecognizer;->handleStopMessage()V
51080 Landroid/speech/SpeechRecognizer;->mConnection:Landroid/speech/SpeechRecognizer$Connection;
51083 Landroid/speech/SpeechRecognizer;->mListener:Landroid/speech/SpeechRecognizer$InternalListener;
51087 Landroid/speech/SpeechRecognizer;->MSG_CANCEL:I
51088 Landroid/speech/SpeechRecognizer;->MSG_CHANGE_LISTENER:I
51089 Landroid/speech/SpeechRecognizer;->MSG_START:I
51090 Landroid/speech/SpeechRecognizer;->MSG_STOP:I
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes7064 android.speech.SpeechRecognizer
H A Dboot-image-profile.txt29857 Landroid/speech/SpeechRecognizer;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes7068 android.speech.SpeechRecognizer
H A Dboot-image-profile.txt39964 Landroid/speech/SpeechRecognizer;
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...