Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dutf8_utils.cpp85 std::string utf8String; in getUtf8String() local
95 utf8String.push_back(static_cast<char>(value | FIRST_BYTE_MARKERS[sequenceSize])); in getUtf8String()
100 utf8String.push_back(static_cast<char>(value | TRAILING_BYTE_MARKER)); in getUtf8String()
103 return utf8String; in getUtf8String()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiSsid.java130 String utf8String = decodeSsid(mBytes, StandardCharsets.UTF_8); in toString() local
131 if (TextUtils.isEmpty(utf8String)) { in toString()
134 return "\"" + utf8String + "\""; in toString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapUtils.java420 public static byte[] truncateUtf8StringToBytearray(String utf8String, int maxLength) in truncateUtf8StringToBytearray() argument
423 byte[] utf8Bytes = new byte[utf8String.length() + 1]; in truncateUtf8StringToBytearray()
425 System.arraycopy(utf8String.getBytes("UTF-8"), 0, utf8Bytes, 0, utf8String.length()); in truncateUtf8StringToBytearray()