/system/nvram/messages/include/nvram/messages/ |
H A D | message_codec.h | 29 namespace proto { namespace in namespace:nvram 31 // |FieldDescriptor| describes a single proto field in a struct. We compile a 33 // decoded into the binary. See proto.hpp for the code that initializes the 141 } // namespace proto
|
H A D | proto.hpp | 30 // logic is the |nvram::proto::detail::Codec| template. The idea is that 56 // if (!nvram::proto::Encode(employee, &stream)) { 60 // Note that |nvram::proto::GetSize()| can be used to determine a sufficient 67 // if (!nvram::proto::Decode(&employee, &stream)) { 74 // |nvram::proto::Encode()| and |nvram::proto::Decode()| templates to obtain 97 namespace proto { namespace in namespace:nvram 285 // Note that |index| is *not* the proto field number, but the zero-based index 476 } // namespace proto
|
/system/tpm/attestation/server/ |
H A D | database_impl_test.cc | 73 AttestationDatabase proto; local 74 proto.mutable_credentials()->set_conformance_credential(kFakeCredential); 75 proto.SerializeToString(&fake_persistent_data_); 144 AttestationDatabase proto; local 145 proto.mutable_credentials()->set_platform_credential(kFakeCredential); 146 proto.SerializeToString(&fake_persistent_data_); 155 AttestationDatabase proto; local 156 proto.mutable_credentials()->set_platform_credential(kFakeCredential); 157 proto.SerializeToString(&fake_persistent_data_);
|
/system/nvram/messages/ |
H A D | message_codec.cpp | 20 namespace proto { namespace in namespace:nvram 137 } // namespace proto
|
/system/tpm/tpm_manager/server/ |
H A D | binder_service_test.cc | 56 ResponseProtobufType* proto) { 58 [](ResponseProtobufType* proto, const ResponseProtobufType& response) { 59 *proto = response; 61 base::Unretained(proto)); 55 GetCallback( ResponseProtobufType* proto) argument
|
H A D | binder_service.cc | 49 void CreateNvramErrorResponse(ResponseProtobufType* proto) { argument 50 proto->set_result(tpm_manager::NVRAM_RESULT_IPC_ERROR); 55 void CreateOwnershipErrorResponse(ResponseProtobufType* proto) { argument 56 proto->set_status(tpm_manager::STATUS_DEVICE_ERROR);
|
/system/tpm/attestation/common/ |
H A D | crypto_utility_impl_test.cc | 149 EncryptedData proto; local 151 proto.SerializeToString(&input);
|
/system/bt/stack/bnep/ |
H A D | bnep_utils.cc | 1258 uint16_t i, proto; local 1261 proto = protocol; 1262 if (proto == BNEP_802_1_P_PROTOCOL) { 1274 BE_STREAM_TO_UINT16(proto, p_data); 1278 if ((p_bcb->rcvd_prot_filter_start[i] <= proto) && 1279 (proto <= p_bcb->rcvd_prot_filter_end[i])) 1284 BNEP_TRACE_DEBUG("Ignoring protocol 0x%x in BNEP data write", proto);
|
/system/netd/server/ |
H A D | SockDiag.cpp | 96 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states, argument 108 .sdiag_protocol = proto, 128 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { argument 132 return sendDumpRequest(proto, family, states, iov, ARRAY_SIZE(iov)); 135 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { argument 203 return sendDumpRequest(proto, family, states, iov, ARRAY_SIZE(iov)); 206 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { argument 207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { 209 if (shouldDestroy(proto, msg)) { 210 sockDestroy(proto, ms 239 sockDestroy(uint8_t proto, const inet_diag_msg *msg) argument 267 destroySockets(uint8_t proto, int family, const char *addrstr) argument 305 int proto = IPPROTO_TCP; local 323 destroySockets(uint8_t proto, const uid_t uid, bool excludeLoopback) argument [all...] |
/system/bt/btif/src/ |
H A D | btif_pan.cc | 410 uint16_t proto, const char* buf, uint16_t len, 416 eth_hdr.h_proto = htons(proto); 543 uint16_t proto = ntohs(hdr->h_proto); local 544 if (proto == ETH_P_IP || proto == ETH_P_ARP || proto == ETH_P_IPV6) 546 BTIF_TRACE_DEBUG("unknown proto:%x", proto); 409 btpan_tap_send(int tap_fd, const RawAddress& src, const RawAddress& dst, uint16_t proto, const char* buf, uint16_t len, UNUSED_ATTR bool ext, UNUSED_ATTR bool forward) argument
|