Searched refs:US_ASCII (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | Charsets.java | 41 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/ |
D | CharacterSets.java | 32 public static final int US_ASCII = 0x03; field in CharacterSets 58 US_ASCII,
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 184 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/ |
D | ExifTag.java | 70 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()
|
D | ExifParser.java | 142 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/ |
D | Credentials.java | 130 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/ |
D | NdefRecord.java | 425 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/ |
D | Xml.java | 131 US_ASCII("US-ASCII"), enumConstant
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ProcFileReaderTest.java | 175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize); in buildReader()
|
/frameworks/base/core/java/android/net/dhcp/ |
D | DhcpPacket.java | 543 return new String(bytes, 0, bytes.length, StandardCharsets.US_ASCII); in readAsciiString()
|
/frameworks/base/api/ |
D | current.txt | 26245 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";
|