Home
last modified time | relevance | path

Searched refs:US_ASCII (Results 1 – 11 of 11) 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/mms/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/keystore/java/android/security/
DCredentials.java130 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem()
145 Reader reader = new InputStreamReader(bai, StandardCharsets.US_ASCII); in convertFromPem()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java425 byte[] typeBytes = mimeType.getBytes(StandardCharsets.US_ASCII); in createMime()
646 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType()
704 … return Uri.parse("vnd.android.nfc://ext/" + new String(mType, StandardCharsets.US_ASCII)); in toUri()
/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/dhcp/
DDhcpPacket.java543 return new String(bytes, 0, bytes.length, StandardCharsets.US_ASCII); in readAsciiString()
/frameworks/base/api/
Dcurrent.txt26245 enum_constant public static final android.util.Xml.Encoding US_ASCII;
37844 field public static final java.nio.charset.Charset US_ASCII;
50613 field public static final java.lang.String US_ASCII = "US-ASCII";