Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 23 of 23) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dgeneric_messages.h39 using Protocol = uint32_t; variable
41 template <Protocol Proto, typename CmdT, CmdT cmd> struct Cmd {};
43 static constexpr const Protocol kProtoGeneric = 0;
44 static constexpr const Protocol kProtoInvalid = std::numeric_limits<Protocol>::max();
64 volatile Protocol* protoptr = reinterpret_cast<volatile Protocol*>(out.pos()); in write()
65 out += sizeof(Protocol); in write()
81 template <Protocol proto, typename CmdT, CmdT cmd, typename... Fields>
86 template <Protocol proto, typename CmdT, CmdT cmd, typename... T>
109 std::tuple<ReadStream, Protocol> readProtocol(ReadStream in);
110 Protocol peakProtocol(ReadStream in);
Dgeneric_operation.h223 inline WriteStream extendedProtocolHook(Protocol proto, ReadStream, WriteStream out) { in extendedProtocolHook()
/system/core/fastboot/
Dsocket_test.cpp35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, in MakeConnectedSockets()
51 if (protocol == Socket::Protocol::kTcp) { in MakeConnectedSockets()
80 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST()
95 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST()
106 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kUdp, &server, &client)); in TEST()
116 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST()
129 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kTcp, &server, &client)); in TEST()
140 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST()
159 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kUdp, &server, &client)); in TEST()
175 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kUdp, 0); in TEST()
[all …]
Dsocket.h48 enum class Protocol { kTcp, kUdp }; enum
57 static std::unique_ptr<Socket> NewClient(Protocol protocol, const std::string& hostname,
64 static std::unique_ptr<Socket> NewServer(Protocol protocol, int port);
Dsocket.cpp248 std::unique_ptr<Socket> Socket::NewClient(Protocol protocol, const std::string& host, int port, in NewClient()
250 if (protocol == Protocol::kUdp) { in NewClient()
269 std::unique_ptr<Socket> Socket::NewServer(Protocol protocol, int port) { in NewServer()
270 if (protocol == Protocol::kUdp) { in NewServer()
Dtcp.cpp187 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dudp.cpp379 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
Dfastboot.cpp311 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device()
318 protocol = Socket::Protocol::kTcp; in open_device()
322 protocol = Socket::Protocol::kUdp; in open_device()
339 if (protocol == Socket::Protocol::kTcp) { in open_device()
341 } else if (protocol == Socket::Protocol::kUdp) { in open_device()
DREADME.md223 ## TCP Protocol v1
265 ## UDP Protocol v1
/system/teeui/libteeui/src/
Dgeneric_messages.cpp38 std::tuple<ReadStream, Protocol> readProtocol(ReadStream in) { in readProtocol()
39 return readCmd<Protocol, kProtoInvalid>(in); in readProtocol()
42 Protocol peakProtocol(ReadStream in) { in peakProtocol()
/system/bt/doc/
Dsupported_features.md6 Protocol / Profile | Version | Roles
/system/sepolicy/prebuilts/api/27.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/26.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/28.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/29.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/30.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/31.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/teeui/libteeui/include/secure_input/
Dsecure_input_proto.h45 static constexpr const ::teeui::Protocol kSecureInputProto = 1;
/system/core/fastboot/device/
Dtcp_client.cpp49 service_ = Socket::NewServer(Socket::Protocol::kTcp, kDefaultPort); in ClientTcpTransport()
/system/chre/doc/
Dnanoapp_developer_guide.md141 well-defined serialization format, such as Protocol Buffers (see the Using
148 use a serialization format like Protocol Buffers if possible.
191 [Nanopb](https://jpa.kapsi.fi/nanopb/) to provide support for [Protocol
/system/chre/
DREADME.md54 - ``chpp/``: Context Hub Peripheral Protocol (CHPP) source code - see the nested
/system/chre/chpp/
DREADME.md1 # Context Hub Peripheral Protocol (CHPP)