Searched refs:msgLen (Results 1 – 5 of 5) 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/Connectivity/framework/jni/ |
D | android_net_NetworkUtils.cpp | 146 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/ |
D | EapTtlsTypeData.java | 161 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/ |
D | DnsProxyListener.cpp | 1105 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/ |
D | IkeMessage.java | 606 int msgLen = IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength(); in encryptAndEncode() local 609 if (!supportFragment || msgLen <= fragSize) { in encryptAndEncode()
|