/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DiskBasedLogger.java | 18 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/ |
D | CharacterSets.java | 43 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/ |
D | CharacterSets.java | 295 public static final int UTF_8 = 0x6A; field in CharacterSets 307 public static final int DEFAULT_CHARSET = UTF_8; 329 UTF_8,
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 1397 doReturn(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))) 1413 doReturn(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))) 2395 assertEquals(StandardCharsets.UTF_8, extractCharset(null)); 2396 assertEquals(StandardCharsets.UTF_8, extractCharset("text/html;charset=utf-8")); 2397 assertEquals(StandardCharsets.UTF_8, extractCharset("text/html;charset=UtF-8")); 2398 assertEquals(StandardCharsets.UTF_8, extractCharset("text/html; Charset=\"utf-8\"")); 2399 assertEquals(StandardCharsets.UTF_8, extractCharset("image/png")); 2400 assertEquals(StandardCharsets.UTF_8, extractCharset("Text/HTML;")); 2401 assertEquals(StandardCharsets.UTF_8, extractCharset("multipart/form-data; boundary=-aa*-")); 2402 assertEquals(StandardCharsets.UTF_8, extractCharset("text/plain;something=else")); [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapAkaPrimeChallengeStateTest.java | 74 SERVER_NETWORK_NAME_STRING.getBytes(StandardCharsets.UTF_8); 77 INCORRECT_NETWORK_NAME.getBytes(StandardCharsets.UTF_8); 304 new AtKdfInput(0, PEER_NETWORK_NAME.getBytes(StandardCharsets.UTF_8)); in testDeriveCkIkPrime() 326 new AtKdfInput(0, PEER_NETWORK_NAME.getBytes(StandardCharsets.UTF_8)); in testGenerateAndPersistEapAkaKeys()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | RequestGetMessage.java | 54 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/ |
D | HandoverDataParser.java | 383 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/ |
D | PropertiesProvisioningDataParser.java | 53 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/ |
D | PersistentLogger.java | 167 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/ |
D | AnalyticsUtils.java | 33 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/ |
D | BackupHelper.java | 31 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()
|
D | PermissionControllerServiceImpl.java | 31 import static java.nio.charset.StandardCharsets.UTF_8; 317 serializer.setOutput(backup, UTF_8.name()); in onGetRuntimePermissionsBackup() 339 parser.setInput(backup, StandardCharsets.UTF_8.name()); in onRestoreRuntimePermissionsBackup()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Wikidata.java | 76 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()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 284 val bis = ByteArrayInputStream(fileContents.toByteArray(StandardCharsets.UTF_8)) in testTapDoneNotification() 359 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 289 .getBytes(StandardCharsets.UTF_8)))) { in loadKeystoreFromCertificate() 313 .decode(caCertificate.getBytes(StandardCharsets.UTF_8)))) { in buildCACertificate()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 499 new OutputStreamWriter(fos, StandardCharsets.UTF_8))) { in persistConfig() argument 532 new InputStreamReader(configFile.openRead(), StandardCharsets.UTF_8))) { in readPersistedConfig() argument 576 new InputStreamReader(configFile.openRead(), StandardCharsets.UTF_8))) { in readFileSchemaVersion() argument
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | DvrStorageManager.java | 119 return new String(strBytes, StandardCharsets.UTF_8); in readString() 292 byte[] data = str.getBytes(StandardCharsets.UTF_8); in writeString()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 119 return new String(strBytes, StandardCharsets.UTF_8); in readString() 292 byte[] data = str.getBytes(StandardCharsets.UTF_8); in writeString()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCodeGenerator.java | 45 hints.put(EncodeHintType.CHARACTER_SET, StandardCharsets.UTF_8.name()); in encodeQrCode()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | Assistant.java | 159 parser.setInput(stream, StandardCharsets.UTF_8.name()); in readXml() 192 out.setOutput(stream, StandardCharsets.UTF_8.name()); in saveFile()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | WallpaperStatsLog.java | 5 import static java.nio.charset.StandardCharsets.UTF_8;
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 95 new String("\uAC00".getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Parser.java | 116 new String("\u266B".getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8);
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | VhalJsonReader.java | 65 new InputStreamReader(in, StandardCharsets.UTF_8))) { in readJsonString() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 205 NATIVE, UTF_8; enumConstant
|