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;
72 VoiceInteractor.PickOptionRequest.Option[] mPendingOptions;
288 VoiceInteractor.PickOptionRequest.Option[] picked in onClick()
289 = new VoiceInteractor.PickOptionRequest.Option[numReturn]; in onClick()
368 void setPrompt(VoiceInteractor.Prompt prompt) { in setPrompt()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractor.aidl19 import android.app.VoiceInteractor;
30 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startConfirmation()
32 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in startPickOption()
33 in VoiceInteractor.PickOptionRequest.Option[] options, in Bundle extras); in startPickOption()
35 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startCompleteVoice()
37 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.java25 import android.app.VoiceInteractor.PickOptionRequest;
26 import android.app.VoiceInteractor.PickOptionRequest.Option;
27 import android.app.VoiceInteractor.Prompt;
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java23 import android.app.VoiceInteractor;
155 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt, Bundle extras) {
167 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt,
168 VoiceInteractor.PickOptionRequest.Option[] options, Bundle extras) {
180 IVoiceInteractorCallback callback, VoiceInteractor.Prompt message, Bundle extras) {
192 IVoiceInteractorCallback callback, VoiceInteractor.Prompt message, Bundle extras) {
435 final VoiceInteractor.Prompt mPrompt;
438 VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) { in ConfirmationRequest()
449 public VoiceInteractor.Prompt getVoicePrompt() { in getVoicePrompt()
494 final VoiceInteractor.Prompt mPrompt;
[all …]
/frameworks/base/core/java/android/app/
DVoiceInteractor.aidl19 parcelable VoiceInteractor.PickOptionRequest.Option;
20 parcelable VoiceInteractor.Prompt;
DVoiceInteractor.java64 public final class VoiceInteractor { class
884 VoiceInteractor(IVoiceInteractor interactor, Context context, Activity activity, in VoiceInteractor() method in VoiceInteractor
DActivity.java34 import android.app.VoiceInteractor.Request;
781 VoiceInteractor voiceInteractor;
795 private VoiceInteractor mVoiceInteractor;
1347 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in setVoiceInteractor()
1401 public VoiceInteractor getVoiceInteractor() { in getVoiceInteractor()
6943 mVoiceInteractor = new VoiceInteractor(voiceInteractor, this, this, in attach()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java21 import android.app.VoiceInteractor;
/frameworks/base/
DAndroid.mk746 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
/frameworks/base/api/
Dcurrent.txt3615 method public android.app.VoiceInteractor getVoiceInteractor();
6022 public final class VoiceInteractor {
6023 method public android.app.VoiceInteractor.Request getActiveRequest(java.lang.String);
6024 method public android.app.VoiceInteractor.Request[] getActiveRequests();
6025 method public boolean submitRequest(android.app.VoiceInteractor.Request);
6026 method public boolean submitRequest(android.app.VoiceInteractor.Request, java.lang.String);
6030 …public static class VoiceInteractor.AbortVoiceRequest extends android.app.VoiceInteractor.Request {
6031 …ctor public VoiceInteractor.AbortVoiceRequest(android.app.VoiceInteractor.Prompt, android.os.Bundl…
6035 public static class VoiceInteractor.CommandRequest extends android.app.VoiceInteractor.Request {
6036 ctor public VoiceInteractor.CommandRequest(java.lang.String, android.os.Bundle);
[all …]
Dsystem-current.txt3748 method public android.app.VoiceInteractor getVoiceInteractor();
6228 public final class VoiceInteractor {
6229 method public android.app.VoiceInteractor.Request getActiveRequest(java.lang.String);
6230 method public android.app.VoiceInteractor.Request[] getActiveRequests();
6231 method public boolean submitRequest(android.app.VoiceInteractor.Request);
6232 method public boolean submitRequest(android.app.VoiceInteractor.Request, java.lang.String);
6236 …public static class VoiceInteractor.AbortVoiceRequest extends android.app.VoiceInteractor.Request {
6237 …ctor public VoiceInteractor.AbortVoiceRequest(android.app.VoiceInteractor.Prompt, android.os.Bundl…
6241 public static class VoiceInteractor.CommandRequest extends android.app.VoiceInteractor.Request {
6242 ctor public VoiceInteractor.CommandRequest(java.lang.String, android.os.Bundle);
[all …]