Home
last modified time | relevance | path

Searched refs:TlvBufferUtils (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java46 TlvBufferUtils.TlvConstructor tlv11 = new TlvBufferUtils.TlvConstructor(1, 1); in testTlvBuild()
55 TlvBufferUtils.TlvConstructor tlv01 = new TlvBufferUtils.TlvConstructor(0, 1); in testTlvBuild()
65 TlvBufferUtils.isValid(tlv11.getArray(), 1, 1), in testTlvBuild()
68 TlvBufferUtils.isValid(tlv01.getArray(), 0, 1), in testTlvBuild()
77 TlvBufferUtils.TlvConstructor tlv = new TlvBufferUtils.TlvConstructor(1, 1); in testTlvReuse()
104 TlvBufferUtils.TlvConstructor tlv01 = new TlvBufferUtils.TlvConstructor(0, 1); in testTlvListOperations()
107 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, tlvData).toList(); in testTlvListOperations()
125 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, validTlv01).toList(); in testTlvParseToList()
140 List<byte[]> data = new TlvBufferUtils.TlvIterable(0, 1, invalidTlv01).toList(); in testTlvParseToListError()
148 TlvBufferUtils.TlvConstructor tlv = new TlvBufferUtils.TlvConstructor(1, 1); in testRawPuts()
[all …]
DWifiAwareManagerTest.java339 List<byte[]> parsedMatchFilter = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in testPublishFlow()
751 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigBuilder()
787 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigParcel()
850 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testPublishConfigBuilder()
880 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testPublishConfigParcel()
/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java109 + (new TlvBufferUtils.TlvIterable(0, 1, mMatchFilter)).toString() in toString()
190 if (!TlvBufferUtils.isValid(mMatchFilter, 0, 1)) { in assertValid()
295 mMatchFilter = new TlvBufferUtils.TlvConstructor(0, 1).allocateAndPut( in setMatchFilter()
DSubscribeConfig.java120 + (new TlvBufferUtils.TlvIterable(0, 1, mMatchFilter)).toString() in toString()
233 if (!TlvBufferUtils.isValid(mMatchFilter, 0, 1)) { in assertValid()
352 mMatchFilter = new TlvBufferUtils.TlvConstructor(0, 1).allocateAndPut( in setMatchFilter()
DTlvBufferUtils.java39 public class TlvBufferUtils { class
40 private TlvBufferUtils() { in TlvBufferUtils() method in TlvBufferUtils
DWifiAwareManager.java640 matchFilter = new TlvBufferUtils.TlvIterable(0, 1, arg).toList(); in WifiAwareDiscoverySessionCallbackProxy()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java38 import android.net.wifi.aware.TlvBufferUtils;
1597 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv()
1642 TlvBufferUtils.TlvIterable tlvi = new TlvBufferUtils.TlvIterable(1, 2, tlvs); in parseTlv()
1644 for (TlvBufferUtils.TlvElement tlve : tlvi) { in parseTlv()
1697 TlvBufferUtils.TlvIterable subTlvi = new TlvBufferUtils.TlvIterable(1, in parseServiceInfoTlv()
1700 for (TlvBufferUtils.TlvElement subTlve : subTlvi) { in parseServiceInfoTlv()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java64 import android.net.wifi.aware.TlvBufferUtils;
1917 TlvBufferUtils.TlvConstructor tlvc = new TlvBufferUtils.TlvConstructor(1, 2); in buildTlv()