Searched refs:prompt (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/confirmationui/1.0/ |
D | IConfirmationResultCallback.hal | 21 * 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
|
D | IConfirmationUI.hal | 25 * 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.
|
D | types.hal | 39 /** 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
|
/hardware/interfaces/confirmationui/support/test/ |
D | msg_formatting_test.cpp | 82 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()
|
/hardware/interfaces/confirmationui/1.0/vts/functional/ |
D | VtsHalConfirmationUIV1_0TargetTest.cpp | 283 auto prompt = cn_cbor_mapget_string(parsed_message.get(), "prompt"); in TEST_F() local 284 ASSERT_TRUE(prompt); in TEST_F() 285 ASSERT_EQ(CN_CBOR_TEXT, prompt->type); in TEST_F() 286 ASSERT_EQ(22, prompt->length); in TEST_F() 287 ASSERT_EQ(0, memcmp(test_prompt, prompt->v.str, 22)); in TEST_F()
|