Home
last modified time | relevance | path

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

/packages/modules/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()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java50 private static final int LANGUAGE_CODE_LENGTH = 3; field in ServiceProviderVerifier
222 if (TextUtils.isEmpty(alternativeName) || alternativeName.length() < LANGUAGE_CODE_LENGTH) { in getFriendlyName()
227 String language = alternativeName.substring(0, LANGUAGE_CODE_LENGTH); in getFriendlyName()
237 String friendlyName = alternativeName.substring(LANGUAGE_CODE_LENGTH); in getFriendlyName()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DANQPParserTest.java251 int length = I18Name.LANGUAGE_CODE_LENGTH + text[i].length(); in getI18NameListPayload()
256 < I18Name.LANGUAGE_CODE_LENGTH) { in getI18NameListPayload()
DVenueNameElementTest.java58 int length = I18Name.LANGUAGE_CODE_LENGTH + venue.length(); in appendVenue()
DHSFriendlyNameElementTest.java59 int length = I18Name.LANGUAGE_CODE_LENGTH + operator.length(); in appendOperatorName()