Searched refs:optionLen (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 559 int optionLen = 4 * addrs.size(); in addTlv() local 560 if (optionLen > MAX_OPTION_LEN) { in addTlv() 562 + optionLen + " vs. " + MAX_OPTION_LEN); in addTlv() 566 buf.put((byte)(optionLen)); in addTlv() 916 int optionLen = packet.get() & 0xFF; in decodeFullPacket() local 925 for (expectedLen = 0; expectedLen < optionLen; expectedLen += 4) { in decodeFullPacket() 930 for (expectedLen = 0; expectedLen < optionLen; expectedLen += 4) { in decodeFullPacket() 935 expectedLen = optionLen; in decodeFullPacket() 936 hostName = readAsciiString(packet, optionLen, false); in decodeFullPacket() 943 expectedLen = optionLen; in decodeFullPacket() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 381 socklen_t optionLen = sizeof(err); in onCompleteConnection() local 382 CHECK_EQ(getsockopt(mSocket, SOL_SOCKET, SO_ERROR, &err, &optionLen), 0); in onCompleteConnection() 383 CHECK_EQ(optionLen, (socklen_t)sizeof(err)); in onCompleteConnection()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 606 socklen_t optionLen = sizeof(err); in writeMore() local 607 CHECK_EQ(getsockopt(mSocket, SOL_SOCKET, SO_ERROR, &err, &optionLen), 0); in writeMore() 608 CHECK_EQ(optionLen, (socklen_t)sizeof(err)); in writeMore()
|