Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1585 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
1586 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
1587 tlvc.allocate(20); // safe size for now in buildTlv()
1589 tlvc.putRawByteArray(WFA_OUI); in buildTlv()
1590 tlvc.putRawByte((byte) GENERIC_SERVICE_PROTOCOL_TYPE); in buildTlv()
1593 tlvc.putShort(SUB_TYPE_PORT, (short) port); in buildTlv()
1596 tlvc.putByte(SUB_TYPE_TRANSPORT_PROTOCOL, (byte) transportProtocol); in buildTlv()
1599 byte[] subTypes = tlvc.getArray(); in buildTlv()
1601 tlvc.allocate(20); in buildTlv()
1602 tlvc.putByteArray(SERVICE_INFO_TYPE, subTypes); in buildTlv()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1905 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv() local
1906 tlvc.setByteOrder(ByteOrder.LITTLE_ENDIAN); in buildTlv()
1907 tlvc.allocate(30); // safe size for now in buildTlv()
1909 tlvc.putRawByteArray(WifiAwareDataPathStateManager.NetworkInformationData.WFA_OUI); in buildTlv()
1910 tlvc.putRawByte((byte) WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
1914 tlvc.putShort(WifiAwareDataPathStateManager.NetworkInformationData.SUB_TYPE_PORT, in buildTlv()
1918 tlvc.putByte(WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
1922 tlvc.putShort(55, (short) -1298); in buildTlv()
1925 byte[] subTypes = tlvc.getArray(); in buildTlv()
1927 tlvc.allocate(30); in buildTlv()
[all …]