Home
last modified time | relevance | path

Searched refs:VoiceInteractor (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DStartVoiceInteractionActivity.java20 import android.app.VoiceInteractor;
36 VoiceInteractor mInteractor;
37 VoiceInteractor.Request mCurrentRequest = null;
74 VoiceInteractor.CommandRequest req = new TestCommand("Some arg"); in onClick()
77 VoiceInteractor.PickOptionRequest.Option[] options = in onClick()
78 new VoiceInteractor.PickOptionRequest.Option[5]; in onClick()
79 options[0] = new VoiceInteractor.PickOptionRequest.Option("One"); in onClick()
80 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two"); in onClick()
81 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three"); in onClick()
82 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four"); in onClick()
[all …]
DTestInteractionActivity.java20 import android.app.VoiceInteractor;
40 VoiceInteractor mInteractor;
41 VoiceInteractor.Request mCurrentRequest = null;
87 VoiceInteractor.Request[] active = mInteractor.getActiveRequests(); in onCreate()
94 mCurrentRequest = new VoiceInteractor.ConfirmationRequest( in onCreate()
95 new VoiceInteractor.Prompt("This is a confirmation"), null) { in onCreate()
135 VoiceInteractor.AbortVoiceRequest req = new TestAbortVoice(); in onClick()
138 VoiceInteractor.CompleteVoiceRequest req = new TestCompleteVoice(); in onClick()
141 VoiceInteractor.CommandRequest req = new TestCommand("Some arg"); in onClick()
144 VoiceInteractor.PickOptionRequest.Option[] options = in onClick()
[all …]
DMainInteractionSession.java20 import android.app.VoiceInteractor;
74 VoiceInteractor.PickOptionRequest.Option[] mPendingOptions;
302 VoiceInteractor.PickOptionRequest.Option[] picked in onClick()
303 = new VoiceInteractor.PickOptionRequest.Option[numReturn]; in onClick()
382 void setPrompt(VoiceInteractor.Prompt prompt) { in setPrompt()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractor.aidl19 import android.app.VoiceInteractor;
31 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startConfirmation()
33 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in startPickOption()
34 in VoiceInteractor.PickOptionRequest.Option[] options, in Bundle extras); in startPickOption()
36 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startCompleteVoice()
38 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startAbortVoice()
DIVoiceInteractorCallback.aidl19 import android.app.VoiceInteractor;
31 in VoiceInteractor.PickOptionRequest.Option[] selections, in Bundle result); in deliverPickOptionResult()
DResolverActivity.java29 import android.app.VoiceInteractor.PickOptionRequest;
30 import android.app.VoiceInteractor.PickOptionRequest.Option;
31 import android.app.VoiceInteractor.Prompt;
/frameworks/base/core/java/android/app/
DVoiceInteractor.aidl19 parcelable VoiceInteractor.PickOptionRequest.Option;
20 parcelable VoiceInteractor.Prompt;
DVoiceInteractor.java71 public final class VoiceInteractor { class
212 VoiceInteractor::destroy, VoiceInteractor.this));
903 VoiceInteractor(IVoiceInteractor interactor, Context context, Activity activity, in VoiceInteractor() method in VoiceInteractor
1192 private final WeakReference<VoiceInteractor> mInteractor;
1194 KillCallback(VoiceInteractor interactor) { in KillCallback()
1200 final VoiceInteractor voiceInteractor = mInteractor.get(); in cancel()
1203 .obtainMessage(VoiceInteractor::destroy, voiceInteractor)); in cancel()
DActivity.java37 import android.app.VoiceInteractor.Request;
853 VoiceInteractor voiceInteractor;
873 VoiceInteractor mVoiceInteractor;
1875 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in setVoiceInteractor()
1938 public VoiceInteractor getVoiceInteractor() { in getVoiceInteractor()
7743 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in attach()
DActivityThread.java1678 cancellationResult.putBinder(VoiceInteractor.KEY_CANCELLATION_SIGNAL, in requestDirectActions()
1695 cancellationResult.putBinder(VoiceInteractor.KEY_CANCELLATION_SIGNAL, in performDirectAction()
3584 r.activity.mVoiceInteractor = new VoiceInteractor(interactor, r.activity, in handleRequestDirectActions()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java29 import android.app.VoiceInteractor;
183 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt, Bundle extras) {
195 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt,
196 VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) {
208 IVoiceInteractorCallback callback, VoiceInteractor.Prompt message, Bundle extras) {
220 IVoiceInteractorCallback callback, VoiceInteractor.Prompt message, Bundle extras) {
487 final VoiceInteractor.Prompt mPrompt;
490 VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) { in ConfirmationRequest()
501 public VoiceInteractor.Prompt getVoicePrompt() { in getVoicePrompt()
546 final VoiceInteractor.Prompt mPrompt;
[all …]
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java21 import android.app.VoiceInteractor;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...