Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/rtt/
DCivicLocation.java72 public CivicLocation(@Nullable byte[] civicTLVs, @Nullable String countryCode) { in CivicLocation() argument
79 if (civicTLVs != null in CivicLocation()
80 && civicTLVs.length >= MIN_CIVIC_BUFFER_SIZE in CivicLocation()
81 && civicTLVs.length < MAX_CIVIC_BUFFER_SIZE) { in CivicLocation()
82 isValid = parseCivicTLVs(civicTLVs); in CivicLocation()
124 private boolean parseCivicTLVs(byte[] civicTLVs) { in parseCivicTLVs() argument
126 int bufferLength = civicTLVs.length; in parseCivicTLVs()
131 int civicAddressType = civicTLVs[bufferPtr + TLV_TYPE_INDEX] & BYTE_MASK; in parseCivicTLVs()
132 int civicAddressTypeLength = civicTLVs[bufferPtr + TLV_LENGTH_INDEX]; in parseCivicTLVs()
138 new String(civicTLVs, bufferPtr + TLV_VALUE_INDEX, in parseCivicTLVs()