Searched refs:addressLength (Results 1 – 2 of 2) sorted by relevance
629 int addressLength = data[0] & 0xff; // Treat the byte value as an unsigned value in gsmStripOffScAddress() local631 if (addressLength >= data.length) { in gsmStripOffScAddress()635 int pduLength = data.length - (1 + addressLength); in gsmStripOffScAddress()637 System.arraycopy(data, 1 + addressLength, newData, 0, pduLength); in gsmStripOffScAddress()
136 private @NonNull InetSocketAddress readSocketAddress(final Parcel in, final int addressLength) { in readSocketAddress() argument137 final byte[] address = new byte[addressLength]; in readSocketAddress()