Home
last modified time | relevance | path

Searched refs:VoiceInteractor (Results 1 – 14 of 14) 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/config/
Dhiddenapi-greylist-max-o.txt1460 Landroid/app/Activity$NonConfigurationInstances;->voiceInteractor:Landroid/app/VoiceInteractor;
10147 Landroid/app/VoiceInteractor$AbortVoiceRequest;-><init>(Ljava/lang/CharSequence;Landroid/os/Bundle;…
10148 Landroid/app/VoiceInteractor$AbortVoiceRequest;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Lja…
10149 Landroid/app/VoiceInteractor$AbortVoiceRequest;->getRequestTypeName()Ljava/lang/String;
10150 Landroid/app/VoiceInteractor$AbortVoiceRequest;->mExtras:Landroid/os/Bundle;
10151 Landroid/app/VoiceInteractor$AbortVoiceRequest;->mPrompt:Landroid/app/VoiceInteractor$Prompt;
10152 Landroid/app/VoiceInteractor$AbortVoiceRequest;->submit(Lcom/android/internal/app/IVoiceInteractor;…
10153 Landroid/app/VoiceInteractor$CommandRequest;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/…
10154 Landroid/app/VoiceInteractor$CommandRequest;->getRequestTypeName()Ljava/lang/String;
10155 Landroid/app/VoiceInteractor$CommandRequest;->mArgs:Landroid/os/Bundle;
[all …]
/frameworks/base/api/
Dcurrent.txt3710 method public android.app.VoiceInteractor getVoiceInteractor();
6348 public final class VoiceInteractor {
6349 method public android.app.VoiceInteractor.Request getActiveRequest(String);
6350 method public android.app.VoiceInteractor.Request[] getActiveRequests();
6354 method public boolean submitRequest(android.app.VoiceInteractor.Request);
6355 method public boolean submitRequest(android.app.VoiceInteractor.Request, String);
6360 …public static class VoiceInteractor.AbortVoiceRequest extends android.app.VoiceInteractor.Request {
6361 …ctor public VoiceInteractor.AbortVoiceRequest(@Nullable android.app.VoiceInteractor.Prompt, @Nulla…
6365 public static class VoiceInteractor.CommandRequest extends android.app.VoiceInteractor.Request {
6366 ctor public VoiceInteractor.CommandRequest(String, android.os.Bundle);
[all …]