Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 25 of 72) sorted by relevance

123

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DFeedbackInfoTest.java147 TextView prompt = mFeedbackInfo.findViewById(R.id.prompt); in testPrompt_silenced() local
150 prompt.getText().toString()); in testPrompt_silenced()
159 TextView prompt = mFeedbackInfo.findViewById(R.id.prompt); in testPrompt_promoted() local
162 prompt.getText().toString()); in testPrompt_promoted()
171 TextView prompt = mFeedbackInfo.findViewById(R.id.prompt); in testPrompt_alerted() local
174 prompt.getText().toString()); in testPrompt_alerted()
183 TextView prompt = mFeedbackInfo.findViewById(R.id.prompt); in testPrompt_demoted() local
186 prompt.getText().toString()); in testPrompt_demoted()
/aosp12/packages/apps/Settings/src/com/android/settings/utils/
H A DVoiceSettingsActivity.java62 protected void notifySuccess(CharSequence prompt) { in notifySuccess() argument
64 getVoiceInteractor().submitRequest(new CompleteVoiceRequest(prompt, null) { in notifySuccess()
76 protected void notifyFailure(CharSequence prompt) { in notifyFailure() argument
78 getVoiceInteractor().submitRequest(new AbortVoiceRequest(prompt, null)); in notifyFailure()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DVoiceController.kt45 val prompt = Prompt(message) regex
46 it.submitRequest(CompleteVoiceRequest(prompt, null))
64 val prompt = Prompt(message) regex
65 it.submitRequest(AbortVoiceRequest(prompt, null))
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DIVoiceInteractor.aidl31 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startConfirmation() argument
33 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in startPickOption() argument
36 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startCompleteVoice() argument
38 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startAbortVoice() argument
/aosp12/hardware/interfaces/confirmationui/1.0/
H A DIConfirmationResultCallback.hal21 * Informs the caller about the result of the prompt operation.
31 * @param error - OK: IFF the user has confirmed the prompt.
36 * @param formattedMessage holds the prompt text and extra data.
38 * CBOR_MAP{ "prompt", <promptText>, "extra", <extraData> }
40 * "prompt" and "extra". The keys are encoded as CBOR text string
44 * the keys "prompt" and "extra". Other keys are not allowed.
45 * The value of "prompt" is given by the proptText argument to
H A DIConfirmationUI.hal25 * The TUI prompt must be implemented in such a way that a positive response indicates with
26 * high confidence that a user has seen the given prompt text even if the Android framework
30 * the result of the current pending user prompt.
41 * @param uiOptions A set of uiOptions manipulating how the confirmation prompt is displayed.
52 * the prompt text to the user.
75 * Aborts a pending user prompt. This allows the framework to gracefully end a TUI dialog.
H A Dtypes.hal39 /** Cannot start another prompt. */
66 * This defines the maximum message size. This indirectly limits the size of the prompt text
67 * and the extra data that can be passed to the confirmation UI. The prompt text and extra data
/aosp12/frameworks/base/core/java/android/app/
H A DVoiceInteractor.java355 mPrompt = prompt; in ConfirmationRequest()
366 public ConfirmationRequest(CharSequence prompt, Bundle extras) { in ConfirmationRequest() argument
367 mPrompt = (prompt != null ? new Prompt(prompt) : null); in ConfirmationRequest()
539 public PickOptionRequest(@Nullable Prompt prompt, Option[] options, in PickOptionRequest() argument
541 mPrompt = prompt; in PickOptionRequest()
555 mPrompt = (prompt != null ? new Prompt(prompt) : null); in PickOptionRequest()
632 mPrompt = prompt; in CompleteVoiceRequest()
691 mPrompt = prompt; in AbortVoiceRequest()
820 public Prompt(@NonNull CharSequence prompt) { in Prompt() argument
821 this.mVoicePrompts = new CharSequence[] { prompt }; in Prompt()
[all …]
/aosp12/hardware/interfaces/confirmationui/support/test/
H A Dmsg_formatting_test.cpp82 hidl_string prompt; in TEST() local
87 std::tie(in, command_matches, prompt, extra, locale, uiOpts) = in TEST()
91 ASSERT_EQ(hidl_string("Do you?"), prompt); in TEST()
104 ASSERT_EQ(8, const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(prompt.c_str())) - begin); in TEST()
/aosp12/frameworks/base/core/java/com/android/internal/accessibility/dialog/
H A DAccessibilityButtonChooserActivity.java79 final TextView prompt = findViewById(R.id.accessibility_button_prompt); in onCreate() local
81 prompt.setText(isTouchExploreOn in onCreate()
85 prompt.setVisibility(View.VISIBLE); in onCreate()
/aosp12/frameworks/base/tools/obbtool/
H A Dmkobb.sh95 prompt="$1"
97 while read -s -n 1 -p "$prompt" c; do \
101 prompt='*'
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDownloadOverMeteredDialog.java62 final TextView prompt = (TextView)findViewById(R.id.download_over_metered_prompt); in setTexts() local
63 prompt.setText(Html.fromHtml(String.format(promptFormat, language))); in setTexts()
/aosp12/hardware/interfaces/confirmationui/1.0/vts/functional/
H A DVtsHalConfirmationUIV1_0TargetTest.cpp262 auto prompt = cn_cbor_mapget_string(parsed_message.get(), "prompt"); in TEST_P() local
263 ASSERT_TRUE(prompt); in TEST_P()
264 ASSERT_EQ(CN_CBOR_TEXT, prompt->type); in TEST_P()
265 ASSERT_EQ(22, prompt->length); in TEST_P()
266 ASSERT_EQ(0, memcmp(test_prompt, prompt->v.str, 22)); in TEST_P()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DFeedbackInfo.java134 final TextView prompt = findViewById(R.id.prompt); in bindPrompt() local
141 prompt.setText(Html.fromHtml(getPrompt())); in bindPrompt()
/aosp12/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java189 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt, Bundle extras) {
192 prompt, extras);
201 IVoiceInteractorCallback callback, VoiceInteractor.Prompt prompt,
205 prompt, options, extras);
503 VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) { in ConfirmationRequest() argument
505 mPrompt = prompt; in ConfirmationRequest()
563 VoiceInteractionSession session, VoiceInteractor.Prompt prompt, in PickOptionRequest() argument
566 mPrompt = prompt; in PickOptionRequest()
674 VoiceInteractionSession session, VoiceInteractor.Prompt prompt, Bundle extras) { in CompleteVoiceRequest() argument
676 mPrompt = prompt; in CompleteVoiceRequest()
[all …]
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DSurfaceTextureRenderer.java171 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
174 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/aosp12/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java382 void setPrompt(VoiceInteractor.Prompt prompt) { in setPrompt() argument
383 if (prompt == null) { in setPrompt()
387 mText.setText(prompt.getVisualPrompt()); in setPrompt()
388 mPendingPrompt = prompt.getVisualPrompt(); in setPrompt()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
H A DAlertDialogBuilder.java710 public AlertDialogBuilder setEditBox(String prompt, TextWatcher textChangedListener, in setEditBox() argument
716 mCarUiEditText.setText(prompt); in setEditBox()
743 public AlertDialogBuilder setEditBox(String prompt, TextWatcher textChangedListener, in setEditBox() argument
745 return setEditBox(prompt, textChangedListener, inputFilters, 0); in setEditBox()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java450 boolean prompt = false; in isSMSPromptEnabled()
458 prompt = (value == 0) ? false : true ; in isSMSPromptEnabled()
459 Rlog.d(LOG_TAG, "SMS Prompt option:" + prompt); in isSMSPromptEnabled()
461 return prompt; in isSMSPromptEnabled()
/aosp12/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java94 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
97 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/aosp12/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java94 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
97 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/aosp12/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java97 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
100 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/aosp12/system/update_engine/cros/
H A Domaha_response.h70 bool prompt = false; member
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceView.java117 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
120 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/aosp12/system/apex/tools/
H A Dcreate_apex_skeleton.sh51 prompt = no

123