Home
last modified time | relevance | path

Searched refs:UTF_8 (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDiskBasedLogger.java18 import static java.nio.charset.StandardCharsets.UTF_8;
155 outputStream.write(log.getBytes(UTF_8)); in e()
193 bufferedReader = new BufferedReader(new InputStreamReader(inputStream, UTF_8)); in clearOldLogs()
277 outputStream.write(line.getBytes(UTF_8)); in copyLogsNewerThanDate()
278 outputStream.write("\n".getBytes(UTF_8)); in copyLogsNewerThanDate()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DCharacterSets.java43 public static final int UTF_8 = 0x6A; field in CharacterSets
51 public static final int DEFAULT_CHARSET = UTF_8;
69 UTF_8,
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DCharacterSets.java295 public static final int UTF_8 = 0x6A; field in CharacterSets
307 public static final int DEFAULT_CHARSET = UTF_8;
329 UTF_8,
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestGetMessage.java54 MasClient.CharsetType.UTF_8.equals(charset) ? CHARSET_UTF8 : CHARSET_NATIVE); in RequestGetMessage()
81 bmsg = baos.toString(StandardCharsets.UTF_8.name()); in readResponse()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java383 result.name = new String(nameBytes, StandardCharsets.UTF_8); in parseNokia()
412 result.name = new String(nameBytes, StandardCharsets.UTF_8); in parseBtOob()
419 result.name = new String(nameBytes, StandardCharsets.UTF_8); in parseBtOob()
495 result.name = new String(nameBytes, StandardCharsets.UTF_8); in parseBleOob()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java53 import static java.nio.charset.StandardCharsets.UTF_8;
135 props.load(new StringReader(new String(firstRecord.getPayload(), UTF_8))); in parse()
310 String mimeType = new String(record.getType(), UTF_8); in getFirstNdefRecord()
/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogger.java167 result.append(new String(log, StandardCharsets.UTF_8)).append("\n"); in dumpLogToStringInternal()
183 .getBytes(StandardCharsets.UTF_8); in buildTextLog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DAnalyticsUtils.java33 import static java.nio.charset.StandardCharsets.UTF_8;
148 props.load(new StringReader(new String(firstRecord.getPayload(), UTF_8))); in getExtrasFromProperties()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java31 import static java.nio.charset.StandardCharsets.UTF_8;
318 serializer.setOutput(backup, UTF_8.name()); in onGetRuntimePermissionsBackup()
340 parser.setInput(backup, StandardCharsets.UTF_8.name()); in onRestoreRuntimePermissionsBackup()
DBackupHelper.java31 import static java.nio.charset.StandardCharsets.UTF_8;
294 serializer.setOutput(delayedRestoreData, UTF_8.name()); in writeDelayedStorePkgsLocked()
340 parser.setInput(delayedRestoreData, UTF_8.name()); in restoreDelayedState()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DWikidata.java76 String result = new String(Http.get(uri), StandardCharsets.UTF_8); in getSearchResults()
115 String result = new String(Http.get(uri), StandardCharsets.UTF_8); in getSparqlForResults()
DOmdbApi.java146 return new JSONTokener(new String(Http.get(uri.toString()), StandardCharsets.UTF_8)) in getContent()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java67 public static final Charset UTF_8 = Charset.forName("UTF-8"); field in Utility
313 return encode(UTF_8, s); in toUtf8()
318 return decode(UTF_8, b); in fromUtf8()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java287 .getBytes(StandardCharsets.UTF_8)))) { in loadKeystoreFromCertificate()
311 .decode(caCertificate.getBytes(StandardCharsets.UTF_8)))) { in buildCACertificate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java120 return new String(strBytes, StandardCharsets.UTF_8); in readString()
293 byte[] data = str.getBytes(StandardCharsets.UTF_8); in writeString()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCodeGenerator.java45 hints.put(EncodeHintType.CHARACTER_SET, StandardCharsets.UTF_8.name()); in encodeQrCode()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistant.java159 parser.setInput(stream, StandardCharsets.UTF_8.name()); in readXml()
192 out.setOutput(stream, StandardCharsets.UTF_8.name()); in saveFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java88 new String("\uAC00".getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8);
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Parser.java116 new String("\u266B".getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8);
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java65 new InputStreamReader(in, StandardCharsets.UTF_8))) { in readJsonString() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java190 NATIVE, UTF_8; enumConstant
DMceStateMachine.java484 new RequestGetMessage((String) message.obj, MasClient.CharsetType.UTF_8, in processMessage()
588 MasClient.CharsetType.UTF_8, false)); in processNotification()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java472 new OutputStreamWriter(fos, StandardCharsets.UTF_8))) { in persistConfig() argument
496 new InputStreamReader(configFile.openRead(), StandardCharsets.UTF_8))) { in readPersistedConfig() argument
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java254 return new String(type.getPayload(), Charsets.UTF_8); in parseType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiUtils.java46 return ssid.getBytes(StandardCharsets.UTF_8).length > SSID_ASCII_MAX_LENGTH; in isSSIDTooLong()

12