Home
last modified time | relevance | path

Searched refs:byteLength (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java403 private static String getIpAddressString(ByteBuffer ip, int byteLength) { in getIpAddressString() argument
404 if (ip == null || ip.remaining() < byteLength) return "invalid"; in getIpAddressString()
406 byte[] bytes = new byte[byteLength]; in getIpAddressString()
407 ip.get(bytes, 0, byteLength); in getIpAddressString()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java134 protected static byte[] getKeyBytes(int byteLength) { in getKeyBytes() argument
135 return Arrays.copyOf(KEY_DATA, byteLength); in getKeyBytes()