Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSFriendlyNameElement.java57 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parse() local
58 if (textBytes > MAXIMUM_OPERATOR_NAME_LENGTH) { in parse()
60 + textBytes); in parse()
DVenueNameElement.java80 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parse() local
81 if (textBytes > MAXIMUM_VENUE_NAME_LENGTH) { in parse()
82 throw new ProtocolException("Venue Name exceeds the maximum allowed " + textBytes); in parse()
DOsuProviderInfo.java271 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parseI18Names() local
272 if (textBytes > MAXIMUM_I18N_STRING_LENGTH) { in parseI18Names()
274 + textBytes); in parseI18Names()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java495 byte[] textBytes = text.getBytes(StandardCharsets.UTF_8); in createTextRecord()
508 ByteBuffer buffer = ByteBuffer.allocate(1 + languageCodeBytes.length + textBytes.length); in createTextRecord()
513 buffer.put(textBytes); in createTextRecord()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DANQPParserTest.java248 byte[] textBytes = text[i].getBytes(StandardCharsets.UTF_8); in getI18NameListPayload()
257 stream.write(textBytes); in getI18NameListPayload()