Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Osu/src/com/android/anqp/
DIconInfo.java29 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in IconInfo()
30 mIconType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in IconInfo()
DHSIconFileElement.java33 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in HSIconFileElement()
DI18Name.java29 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in I18Name()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DIconInfo.java30 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in IconInfo()
31 mIconType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in IconInfo()
DHSIconFileElement.java33 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in HSIconFileElement()
DI18Name.java29 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in I18Name()
DNAIRealmData.java36 StandardCharsets.US_ASCII); in NAIRealmData()
DCivicLocationElement.java51 mLocale = Locale.forLanguageTag(Constants.getString(payload, 2, StandardCharsets.US_ASCII)); in CivicLocationElement()
/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/core/java/android/net/nsd/
DNsdServiceInfo.java153 StandardCharsets.US_ASCII); in setTxtRecords()
166 key = new String(txtRecordsRawBytes, pos, recordLen, StandardCharsets.US_ASCII); in setTxtRecords()
292 System.arraycopy(key.getBytes(StandardCharsets.US_ASCII), 0, txtRecord, ptr, in getTxtRecord()
/frameworks/base/keystore/java/android/security/
DCredentials.java134 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem()
149 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/packages/Osu/src/com/android/hotspot2/pps/
DUpdateInfo.java46 mPassword = new String(Base64.decode(pw.getBytes(StandardCharsets.US_ASCII), in UpdateInfo()
/frameworks/base/core/java/android/util/jar/
DStrictJarManifestReader.java122 String nameString = new String(buf, mark, pos - mark - 1, StandardCharsets.US_ASCII); in readName()
DStrictJarManifest.java293 os.write(nameString.getBytes(StandardCharsets.US_ASCII)); in writeEntry()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DUpdateInfo.java48 mPassword = new String(Base64.decode(pw.getBytes(StandardCharsets.US_ASCII), in UpdateInfo()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize); in buildReader()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DMIMEContainer.java289 … if (charset.equals(StandardCharsets.ISO_8859_1) || charset.equals(StandardCharsets.US_ASCII)) { in recode()
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
DHTTPRequest.java24 private static final Charset HeaderCharset = StandardCharsets.US_ASCII;
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DSPVerifier.java136 StandardCharsets.US_ASCII); in LogoTypeImage()

12