Home
last modified time | relevance | path

Searched refs:VoiceInteractor (Results 1 – 15 of 15) 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.java28 import android.app.VoiceInteractor.PickOptionRequest;
29 import android.app.VoiceInteractor.PickOptionRequest.Option;
30 import android.app.VoiceInteractor.Prompt;
/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/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.java36 import android.app.VoiceInteractor.Request;
853 VoiceInteractor voiceInteractor;
873 VoiceInteractor mVoiceInteractor;
1881 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in setVoiceInteractor()
1944 public VoiceInteractor getVoiceInteractor() { in getVoiceInteractor()
7765 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in attach()
DActivityThread.java1692 cancellationResult.putBinder(VoiceInteractor.KEY_CANCELLATION_SIGNAL, in requestDirectActions()
1709 cancellationResult.putBinder(VoiceInteractor.KEY_CANCELLATION_SIGNAL, in performDirectAction()
3603 r.activity.mVoiceInteractor = new VoiceInteractor(interactor, r.activity, in handleRequestDirectActions()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java21 import android.app.VoiceInteractor;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1281 Landroid/app/Activity$NonConfigurationInstances;->voiceInteractor:Landroid/app/VoiceInteractor;
9499 Landroid/app/VoiceInteractor$AbortVoiceRequest;-><init>(Ljava/lang/CharSequence;Landroid/os/Bundle;…
9500 Landroid/app/VoiceInteractor$AbortVoiceRequest;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Lja…
9501 Landroid/app/VoiceInteractor$AbortVoiceRequest;->getRequestTypeName()Ljava/lang/String;
9502 Landroid/app/VoiceInteractor$AbortVoiceRequest;->mExtras:Landroid/os/Bundle;
9503 Landroid/app/VoiceInteractor$AbortVoiceRequest;->mPrompt:Landroid/app/VoiceInteractor$Prompt;
9504 Landroid/app/VoiceInteractor$AbortVoiceRequest;->submit(Lcom/android/internal/app/IVoiceInteractor;…
9505 Landroid/app/VoiceInteractor$CommandRequest;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/…
9506 Landroid/app/VoiceInteractor$CommandRequest;->getRequestTypeName()Ljava/lang/String;
9507 Landroid/app/VoiceInteractor$CommandRequest;->mArgs:Landroid/os/Bundle;
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt3712 method public android.app.VoiceInteractor getVoiceInteractor();
6351 public final class VoiceInteractor {
6352 method public android.app.VoiceInteractor.Request getActiveRequest(String);
6353 method public android.app.VoiceInteractor.Request[] getActiveRequests();
6357 method public boolean submitRequest(android.app.VoiceInteractor.Request);
6358 method public boolean submitRequest(android.app.VoiceInteractor.Request, String);
6363 …public static class VoiceInteractor.AbortVoiceRequest extends android.app.VoiceInteractor.Request {
6364 …ctor public VoiceInteractor.AbortVoiceRequest(@Nullable android.app.VoiceInteractor.Prompt, @Nulla…
6368 public static class VoiceInteractor.CommandRequest extends android.app.VoiceInteractor.Request {
6369 ctor public VoiceInteractor.CommandRequest(String, android.os.Bundle);
[all …]
/frameworks/base/api/
Dcurrent.txt3712 method public android.app.VoiceInteractor getVoiceInteractor();
6351 public final class VoiceInteractor {
6352 method public android.app.VoiceInteractor.Request getActiveRequest(String);
6353 method public android.app.VoiceInteractor.Request[] getActiveRequests();
6357 method public boolean submitRequest(android.app.VoiceInteractor.Request);
6358 method public boolean submitRequest(android.app.VoiceInteractor.Request, String);
6363 …public static class VoiceInteractor.AbortVoiceRequest extends android.app.VoiceInteractor.Request {
6364 …ctor public VoiceInteractor.AbortVoiceRequest(@Nullable android.app.VoiceInteractor.Prompt, @Nulla…
6368 public static class VoiceInteractor.CommandRequest extends android.app.VoiceInteractor.Request {
6369 ctor public VoiceInteractor.CommandRequest(String, android.os.Bundle);
[all …]