Home
last modified time | relevance | path

Searched refs:MsgVector (Results 1 – 5 of 5) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dcommon_message_types.h71 template <typename T> using MsgVector = static_vec<T>; variable
89 template <typename T> std::tuple<ReadStream, MsgVector<T>> readSimpleVecInPlace(ReadStream in) { in readSimpleVecInPlace()
90 std::tuple<ReadStream, MsgVector<T>> result; in readSimpleVecInPlace()
99 MsgVector<T>(reinterpret_cast<T*>(const_cast<uint8_t*>(pos)), in readSimpleVecInPlace()
104 template <typename T> WriteStream writeSimpleVec(WriteStream out, const MsgVector<T>& vec) { in writeSimpleVec()
127 inline std::tuple<ReadStream, MsgVector<uint8_t>> read(Message<MsgVector<uint8_t>>, ReadStream in) { in read()
130 inline WriteStream write(WriteStream out, const MsgVector<uint8_t>& v) { in write()
143 inline std::tuple<ReadStream, MsgVector<UIOption>> read(Message<MsgVector<UIOption>>, in read()
147 inline WriteStream write(WriteStream out, const MsgVector<UIOption>& v) { in write()
Dgeneric_operation.h27 inline bool hasOption(UIOption option, const MsgVector<UIOption>& uiOptions) { in hasOption()
71 ResponseCode init(const MsgString& promptText, const MsgVector<uint8_t>& extraData, in init()
72 const MsgString& locale, const MsgVector<UIOption>& options) { in init()
150 std::tuple<ResponseCode, MsgVector<uint8_t>, MsgVector<uint8_t>> fetchConfirmationResult() { in fetchConfirmationResult()
151 std::tuple<ResponseCode, MsgVector<uint8_t>, MsgVector<uint8_t>> result; in fetchConfirmationResult()
249 MsgVector<uint8_t> getMessage() { in getMessage()
250 MsgVector<uint8_t> result; in getMessage()
Dgeneric_messages.h53 using PromptUserConfirmationMsg = Message<CmdPromptUserConfirmation, MsgString, MsgVector<uint8_t>,
54 MsgString, MsgVector<UIOption>>;
59 using ResultMsg = Message<ResponseCode, MsgVector<uint8_t>, MsgVector<uint8_t>>;
/system/core/trusty/confirmationui/
DTrustyConfirmationUI.h91 std::tuple<teeui::ResponseCode, teeui::MsgVector<uint8_t>, teeui::MsgVector<uint8_t>>
93 const teeui::MsgVector<uint8_t>& extraData,
95 const teeui::MsgVector<teeui::UIOption>& uiOptions);
DTrustyConfirmationUI.cpp60 using ::teeui::MsgVector;
125 template <typename T> inline MsgVector<T> hidl2MsgVector(const hidl_vec<T>& v) { in hidl2MsgVector()
129 inline MsgVector<teeui::UIOption> hidl2MsgVector(const hidl_vec<UIOption>& v) { in hidl2MsgVector()
130 MsgVector<teeui::UIOption> result(v.size()); in hidl2MsgVector()
152 std::tuple<TeeuiRc, MsgVector<uint8_t>, MsgVector<uint8_t>>
154 const MsgVector<uint8_t>& extraData, in promptUserConfirmation_()
156 const MsgVector<teeui::UIOption>& uiOptions) { in promptUserConfirmation_()
216 std::tuple<TeeuiRc, MsgVector<uint8_t>, MsgVector<uint8_t>> result; in promptUserConfirmation_()