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.java1721 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
1722 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
1723 tlvc.allocate(20); // safe size for now in buildTlv()
1725 tlvc.putRawByteArray(WFA_OUI); in buildTlv()
1726 tlvc.putRawByte((byte) GENERIC_SERVICE_PROTOCOL_TYPE); in buildTlv()
1729 tlvc.putShort(SUB_TYPE_PORT, (short) port); in buildTlv()
1732 tlvc.putByte(SUB_TYPE_TRANSPORT_PROTOCOL, (byte) transportProtocol); in buildTlv()
1735 byte[] subTypes = tlvc.getArray(); in buildTlv()
1737 tlvc.allocate(20); in buildTlv()
1738 tlvc.putByteArray(SERVICE_INFO_TYPE, subTypes); in buildTlv()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java2109 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
2110 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
2111 tlvc.allocate(30); // safe size for now in buildTlv()
2113 tlvc.putRawByteArray(WifiAwareDataPathStateManager.NetworkInformationData.WFA_OUI); in buildTlv()
2114 tlvc.putRawByte((byte) WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
2118 tlvc.putShort(WifiAwareDataPathStateManager.NetworkInformationData.SUB_TYPE_PORT, in buildTlv()
2122 tlvc.putByte(WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
2126 tlvc.putShort(55, (short) -1298); in buildTlv()
2129 byte[] subTypes = tlvc.getArray(); in buildTlv()
2131 tlvc.allocate(30); in buildTlv()
[all …]