Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/speech/
H A DRemoteSpeechRecognitionService.java32 import android.speech.SpeechRecognizer;
102 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in startListening()
109 tryRespondWithError(listener, SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in startListening()
144 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in stopListening()
151 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
157 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in stopListening()
179 tryRespondWithError(listener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in cancel()
192 tryRespondWithError(listener, SpeechRecognizer.ERROR_CLIENT); in cancel()
249 tryRespondWithError(mListener, SpeechRecognizer.ERROR_SERVER_DISCONNECTED); in onServiceConnectionStatusChanged()
H A DSpeechRecognitionManagerServiceImpl.java37 import android.speech.SpeechRecognizer;
109 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
117 tryRespondWithError(callback, SpeechRecognizer.ERROR_TOO_MANY_REQUESTS); in createSessionLocked()
175 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
178 tryRespondWithError(callback, SpeechRecognizer.ERROR_CLIENT); in createSessionLocked()
/aosp12/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java66 public class SpeechRecognizer { class
219 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) { in SpeechRecognizer() method in SpeechRecognizer
229 private SpeechRecognizer(final Context context, boolean onDevice) { in SpeechRecognizer() method in SpeechRecognizer
287 public static SpeechRecognizer createSpeechRecognizer(final Context context) { in createSpeechRecognizer()
324 public static SpeechRecognizer createSpeechRecognizer(final Context context, in createSpeechRecognizer()
330 return new SpeechRecognizer(context, serviceComponent); in createSpeechRecognizer()
347 public static SpeechRecognizer createOnDeviceSpeechRecognizer(@NonNull final Context context) { in createOnDeviceSpeechRecognizer()
363 public static SpeechRecognizer createOnDeviceTestingSpeechRecognizer( in createOnDeviceTestingSpeechRecognizer()
370 private static SpeechRecognizer lenientlyCreateOnDeviceSpeechRecognizer( in lenientlyCreateOnDeviceSpeechRecognizer()
376 return new SpeechRecognizer(context, /* onDevice */ true); in lenientlyCreateOnDeviceSpeechRecognizer()
H A DRecognitionService.java130 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS); in dispatchStartListening()
140 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStartListening()
151 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStopListening()
154 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStopListening()
326 public void error(@SpeechRecognizer.RecognitionError int error) throws RemoteException { in error()
H A DRecognitionListener.java68 void onError(@SpeechRecognizer.RecognitionError int error); in onError()
/aosp12/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
H A DLeanbackKeyboardContainer.java53 import android.speech.SpeechRecognizer;
451 private SpeechRecognizer mSpeechRecognizer;
601 mSpeechRecognizer = SpeechRecognizer.createSpeechRecognizer(mContext); in LeanbackKeyboardContainer()
1466 case SpeechRecognizer.ERROR_NO_MATCH: in startRecognition()
1469 case SpeechRecognizer.ERROR_SERVER: in startRecognition()
1472 case SpeechRecognizer.ERROR_SPEECH_TIMEOUT: in startRecognition()
1475 case SpeechRecognizer.ERROR_CLIENT: in startRecognition()
1517 results.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION); in startRecognition()
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt2416 public class SpeechRecognizer {
2417 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpe…
H A Dcurrent.txt39315 public class SpeechRecognizer {
39317 …method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceSpeechReco…
39318 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
39319 …method @MainThread public static android.speech.SpeechRecognizer createSpeechRecognizer(android.co…
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt54397 Landroid/speech/SpeechRecognizer;->checkOpenConnection()Z
54398 Landroid/speech/SpeechRecognizer;->DBG:Z
54399 Landroid/speech/SpeechRecognizer;->handleCancelMessage()V
54402 Landroid/speech/SpeechRecognizer;->handleStopMessage()V
54403 Landroid/speech/SpeechRecognizer;->mConnection:Landroid/speech/SpeechRecognizer$Connection;
54406 Landroid/speech/SpeechRecognizer;->mListener:Landroid/speech/SpeechRecognizer$InternalListener;
54410 Landroid/speech/SpeechRecognizer;->MSG_CANCEL:I
54411 Landroid/speech/SpeechRecognizer;->MSG_CHANGE_LISTENER:I
54412 Landroid/speech/SpeechRecognizer;->MSG_START:I
54413 Landroid/speech/SpeechRecognizer;->MSG_STOP:I
[all …]
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes6407 android.speech.SpeechRecognizer
H A Dboot-image-profile.txt29832 Landroid/speech/SpeechRecognizer;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes6405 android.speech.SpeechRecognizer
H A Dboot-image-profile.txt39469 Landroid/speech/SpeechRecognizer;
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A 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…