Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1760 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
1761 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
1762 tlvc.allocate(20); // safe size for now in buildTlv()
1764 tlvc.putRawByteArray(WFA_OUI); in buildTlv()
1765 tlvc.putRawByte((byte) GENERIC_SERVICE_PROTOCOL_TYPE); in buildTlv()
1768 tlvc.putShort(SUB_TYPE_PORT, (short) port); in buildTlv()
1771 tlvc.putByte(SUB_TYPE_TRANSPORT_PROTOCOL, (byte) transportProtocol); in buildTlv()
1774 byte[] subTypes = tlvc.getArray(); in buildTlv()
1776 tlvc.allocate(20); in buildTlv()
1777 tlvc.putByteArray(SERVICE_INFO_TYPE, subTypes); in buildTlv()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java2344 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
2345 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
2346 tlvc.allocate(30); // safe size for now in buildTlv()
2348 tlvc.putRawByteArray(WifiAwareDataPathStateManager.NetworkInformationData.WFA_OUI); in buildTlv()
2349 tlvc.putRawByte((byte) WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
2353 tlvc.putShort(WifiAwareDataPathStateManager.NetworkInformationData.SUB_TYPE_PORT, in buildTlv()
2357 tlvc.putByte(WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
2361 tlvc.putShort(55, (short) -1298); in buildTlv()
2364 byte[] subTypes = tlvc.getArray(); in buildTlv()
2366 tlvc.allocate(30); in buildTlv()
[all …]