Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java41 public static final int LANGUAGE_CODE_LENGTH = 3; field in I18Name
44 public static final int MINIMUM_LENGTH = LANGUAGE_CODE_LENGTH;
76 payload, LANGUAGE_CODE_LENGTH, StandardCharsets.US_ASCII).trim(); in parse()
85 String text = ByteBufferReader.readString(payload, length - LANGUAGE_CODE_LENGTH, in parse()
DIconInfo.java41 private static final int LANGUAGE_CODE_LENGTH = 3; field in IconInfo
73 payload, LANGUAGE_CODE_LENGTH, StandardCharsets.US_ASCII).trim(); in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java49 private static final int LANGUAGE_CODE_LENGTH = 3; field in ServiceProviderVerifier
221 if (TextUtils.isEmpty(alternativeName) || alternativeName.length() < LANGUAGE_CODE_LENGTH) { in getFriendlyName()
226 String language = alternativeName.substring(0, LANGUAGE_CODE_LENGTH); in getFriendlyName()
236 String friendlyName = alternativeName.substring(LANGUAGE_CODE_LENGTH); in getFriendlyName()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DVenueNameElementTest.java56 int length = I18Name.LANGUAGE_CODE_LENGTH + venue.length(); in appendVenue()
DANQPParserTest.java249 int length = I18Name.LANGUAGE_CODE_LENGTH + text[i].length(); in getI18NameListPayload()
254 < I18Name.LANGUAGE_CODE_LENGTH) { in getI18NameListPayload()
DHSFriendlyNameElementTest.java57 int length = I18Name.LANGUAGE_CODE_LENGTH + operator.length(); in appendOperatorName()