Searched refs:msgLen (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/tools/emulator/ |
D | vhal_emulator.py | 117 msgLen = len(msgStr) 119 msgHdr = struct.pack('!I', msgLen) 158 msgLen, = struct.unpack('!I', b) 159 if (msgLen > 0): 161 b = self.sock.recv(msgLen) 162 if (len(b) == msgLen):
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 270 bool setQueryId(uint8_t* msg, size_t msgLen, uint16_t query_id) { in setQueryId() argument 271 if (msgLen < sizeof(HEADER)) { in setQueryId() 280 bool parseQuery(const uint8_t* msg, size_t msgLen, uint16_t* query_id, int* rr_type, in parseQuery() argument 284 if (ns_initparse((const uint8_t*)msg, msgLen, &handle) < 0 || in parseQuery() 917 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run() local 918 if (msgLen == -1) { in run() 930 if (!parseQuery(msg.data(), msgLen, &original_query_id, &rr_type, &rr_name) || in run() 931 !setQueryId(msg.data(), msgLen, arc4random_uniform(65536))) { in run() 946 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run()
|
D | res_send.h | 23 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
|
D | res_send.cpp | 165 NsType getQueryType(const uint8_t* msg, size_t msgLen) { in getQueryType() argument 168 if (ns_initparse((const uint8_t*)msg, msgLen, &handle) < 0 || in getQueryType() 1295 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend() argument 1303 return res_nsend(&res, msg, msgLen, ans, ansLen, rcode, flags); in resolv_res_nsend()
|
D | resolv_private.h | 167 android::net::NsType getQueryType(const uint8_t* msg, size_t msgLen);
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeData.java | 152 int msgLen = isLengthIncluded ? MESSAGE_LENGTH_LEN_BYTES : 0; in encode() local 153 int bufferSize = data.length + FLAGS_LEN_BYTES + msgLen; in encode()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessage.java | 463 int msgLen = IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength(); in encryptAndEncode() local 466 if (!supportFragment || msgLen <= fragSize) { in encryptAndEncode()
|