Home
last modified time | relevance | path

Searched refs:confui (Results 1 – 16 of 16) sorted by relevance

/device/google/cuttlefish/guest/hals/confirmationui/
Dguest_session.cpp70 static_cast<std::uint32_t>(cuttlefish::confui::kMaxMessageLength); in PromptUserConfirmation()
77 SerializedSend(cuttlefish::confui::SendStartCmd, host_fd_, session_name_, prompt_text_, in PromptUserConfirmation()
84 CHECK(first_msg->GetType() == cuttlefish::confui::ConfUiCmd::kCliAck) in PromptUserConfirmation()
86 << "but is " << cuttlefish::confui::ToString(first_msg->GetType()); in PromptUserConfirmation()
88 cuttlefish::confui::ConfUiAckMessage& start_ack_msg = in PromptUserConfirmation()
89 static_cast<cuttlefish::confui::ConfUiAckMessage&>(*first_msg); in PromptUserConfirmation()
95 if (error_msg == cuttlefish::confui::HostError::kMessageTooLongError) { in PromptUserConfirmation()
99 if (error_msg == cuttlefish::confui::HostError::kIncorrectUTF8) { in PromptUserConfirmation()
147 if (user_or_abort->GetType() == cuttlefish::confui::ConfUiCmd::kAbort) { in PromptUserConfirmation()
152 if (user_or_abort->GetType() == cuttlefish::confui::ConfUiCmd::kCliAck) { in PromptUserConfirmation()
[all …]
DTrustyConfirmationUI.h46 using ConfUiMessage = cuttlefish::confui::ConfUiMessage;
47 using ConfUiAckMessage = cuttlefish::confui::ConfUiAckMessage;
Dguest_session.h39 using ConfUiMessage = cuttlefish::confui::ConfUiMessage;
40 using ConfUiAckMessage = cuttlefish::confui::ConfUiAckMessage;
DTrustyConfirmationUI.cpp99 auto msg = cuttlefish::confui::RecvConfUiMsg(host_fd_); in HostMessageFetcherLoop()
/device/google/cuttlefish/common/libs/security/
Dconfui_sign.cpp29 const confui::SignMessageError error, in Send()
37 confui::SignRawMessage msg; in Send()
58 std::optional<confui::SignRawMessage> ConfUiSignerImpl::Receive( in Receive()
60 confui::SignRawMessage msg; in Receive()
66 if (msg.error_ != confui::SignMessageError::kOk) { in Receive()
91 std::optional<confui::SignRawMessage> ConfUiSignSender::Receive() { in Receive()
105 impl_.Send(client_fd_, confui::SignMessageError::kOk, message); in Request()
109 std::optional<confui::SignRawMessage> ConfUiSignRequester::Receive() { in Receive()
Dconfui_sign.h25 namespace confui {
54 bool Send(SharedFD output, const confui::SignMessageError error,
56 std::optional<confui::SignRawMessage> Receive(SharedFD input);
69 using SignMessageError = confui::SignMessageError;
75 std::optional<confui::SignRawMessage> Receive();
95 using SignMessageError = confui::SignMessageError;
100 std::optional<confui::SignRawMessage> Receive();
/device/google/cuttlefish/common/libs/confui/
Dprotocol_types.cpp29 namespace confui { namespace
114 return CreateString(session_id_, confui::ToString(GetType()), in ToString()
124 return CreateString(session_id_, confui::ToString(GetType()), response_, in ToString()
135 ss << cuttlefish::confui::ToString(ui_opt) << ","; in UiOptsToString()
147 session_id_, confui::ToString(GetType()), prompt_text_, locale_, in ToString()
157 return CreateString(session_id_, confui::ToString(GetType()), response_); in ToString()
168 return CreateString(session_id_, confui::ToString(GetType()), response_, pos); in ToString()
Dprotocol_types.h32 namespace confui {
95 return packet::WritePayload(fd, confui::ToString(cmd), session_id, in Send_()
107 return CreateString(session_id_, confui::ToString(GetType())); in ToString()
Dpacket.h55 namespace confui {
84 using namespace cuttlefish::confui::packet::impl; in ToPayload()
Dpacket_types.cpp21 namespace confui { namespace
Dpacket_types.h25 namespace confui {
Dutils.h34 namespace confui {
Dprotocol.h30 namespace confui {
Dpacket.cpp25 namespace confui { namespace
Dprotocol.cpp28 namespace confui { namespace
/device/google/cuttlefish/host/commands/secure_env/
Dconfui_sign_server.cpp75 sign_sender.Send(confui::SignMessageError::kUnknownError, {}); in MainLoop()
85 if (!sign_sender.Send(confui::SignMessageError::kOk, hmac_buffer)) { in MainLoop()