Home
last modified time | relevance | path

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

/packages/services/Car/tools/emulator/
Dvhal_emulator.py117 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/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp146 jbyteArray msg, jint msgLen, jint flags) { in android_net_utils_resNetworkSend() argument
149 checkLenAndCopy(env, msg, msgLen, data); in android_net_utils_resNetworkSend()
150 int fd = android_res_nsend(netHandle, data, msgLen, flags); in android_net_utils_resNetworkSend()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeData.java161 int msgLen = isLengthIncluded ? MESSAGE_LENGTH_LEN_BYTES : 0; in encode() local
162 int bufferSize = data.length + FLAGS_LEN_BYTES + msgLen; in encode()
/packages/modules/DnsResolver/
DDnsProxyListener.cpp1105 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run() local
1106 if (msgLen == -1) { in run()
1118 if (!parseQuery(std::span(msg.data(), msgLen), &original_query_id, &rr_type, &rr_name) || in run()
1119 !setQueryId(std::span(msg.data(), msgLen), arc4random_uniform(65536))) { in run()
1138 ansLen = resolv_res_nsend(&mNetContext, std::span(msg.data(), msgLen), ansBuf, &rcode, in run()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java606 int msgLen = IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength(); in encryptAndEncode() local
609 if (!supportFragment || msgLen <= fragSize) { in encryptAndEncode()