Home
last modified time | relevance | path

Searched refs:US_ASCII (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DCharsets.java41 public static final Charset US_ASCII = Charset.forName("US-ASCII"); field in Charsets
55 return US_ASCII.encode(cb).array(); in toAsciiBytes()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DCharacterSets.java32 public static final int US_ASCII = 0x03; field in CharacterSets
58 US_ASCII,
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java184 final String s = new String(mBuffer, 0, tokenIndex, StandardCharsets.US_ASCII); in parseAndConsumeString()
215 "invalid long: " + new String(mBuffer, 0, tokenIndex, StandardCharsets.US_ASCII)); in invalidLong()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java70 private static Charset US_ASCII = Charset.forName("US-ASCII"); field in ExifTag
332 byte[] buf = value.getBytes(US_ASCII); in setValue()
546 return new String((byte[]) mValue, US_ASCII); in getValueAsString()
752 return new String((byte[]) mValue, US_ASCII); in forceGetValueAsString()
809 return new String((byte[]) mValue, US_ASCII); in getString()
DExifParser.java142 private static final Charset US_ASCII = Charset.forName("US-ASCII"); field in ExifParser
817 return readString(n, US_ASCII); in readString()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java427 byte[] typeBytes = mimeType.getBytes(StandardCharsets.US_ASCII); in createMime()
497 languageCodeBytes = languageCode.getBytes(StandardCharsets.US_ASCII); in createTextRecord()
500 getBytes(StandardCharsets.US_ASCII); in createTextRecord()
687 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType()
745 … return Uri.parse("vnd.android.nfc://ext/" + new String(mType, StandardCharsets.US_ASCII)); in toUri()
/frameworks/base/keystore/java/android/security/
DCredentials.java129 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem()
144 Reader reader = new InputStreamReader(bai, StandardCharsets.US_ASCII); in convertFromPem()
/frameworks/base/core/java/android/util/
DXml.java131 US_ASCII("US-ASCII"), enumConstant
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DProcFileReaderTest.java175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize); in buildReader()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java198 System.arraycopy(key.getBytes(StandardCharsets.US_ASCII), 0, txtRecord, ptr, in getTxtRecord()
/frameworks/base/core/java/android/os/
DProcess.java526 return new String(bytes, StandardCharsets.US_ASCII); in getAbiList()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java286 final byte[] abiListBytes = abiList.getBytes(StandardCharsets.US_ASCII); in handleAbiListQuery()
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java540 return new String(bytes, 0, bytes.length, StandardCharsets.US_ASCII); in readAsciiString()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java676 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal()
/frameworks/base/api/
Dsystem-current.txt34212 enum_constant public static final android.util.Xml.Encoding US_ASCII;
46778 field public static final java.nio.charset.Charset US_ASCII;
59943 field public static final java.lang.String US_ASCII = "US-ASCII";
Dcurrent.txt31979 enum_constant public static final android.util.Xml.Encoding US_ASCII;
44249 field public static final java.nio.charset.Charset US_ASCII;
57414 field public static final java.lang.String US_ASCII = "US-ASCII";