/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ByteBufferReaderTest.java | 122 ByteBufferReader.readString(ByteBuffer.wrap(new byte[10]), -1, StandardCharsets.US_ASCII); in readStringWithNegativeSize() 133 ByteBuffer.wrap(new byte[10]), 0, StandardCharsets.US_ASCII); in readStringWithZeroSize() 146 ByteBuffer buffer = ByteBuffer.wrap(expectedValue.getBytes(StandardCharsets.US_ASCII)); in readString() 148 buffer, buffer.remaining(), StandardCharsets.US_ASCII); in readString() 163 buffer.put(expectedValue.getBytes(StandardCharsets.US_ASCII)); in readStringWithByteLength() 167 ByteBufferReader.readStringWithByteLength(buffer, StandardCharsets.US_ASCII); in readStringWithByteLength()
|
/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/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | IconInfo.java | 32 payload, Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII).trim(); in IconInfo() 33 mIconType = ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.US_ASCII); in IconInfo()
|
D | I18Name.java | 76 payload, LANGUAGE_CODE_LENGTH, StandardCharsets.US_ASCII).trim(); in parse()
|
D | NAIRealmData.java | 80 payload, utf8 ? StandardCharsets.UTF_8 : StandardCharsets.US_ASCII); in parse()
|
/frameworks/opt/telephony/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/packages/Osu/src/com/android/anqp/ |
D | IconInfo.java | 31 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in IconInfo() 32 mIconType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in IconInfo()
|
D | HSIconFileElement.java | 38 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); in HSIconFileElement()
|
D | I18Name.java | 31 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); in I18Name()
|
/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()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdServiceInfo.java | 153 StandardCharsets.US_ASCII); in setTxtRecords() 166 key = new String(txtRecordsRawBytes, pos, recordLen, StandardCharsets.US_ASCII); in setTxtRecords() 293 System.arraycopy(key.getBytes(StandardCharsets.US_ASCII), 0, txtRecord, ptr, in getTxtRecord()
|
/frameworks/base/core/java/android/nfc/ |
D | NdefRecord.java | 427 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/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 67 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() 80 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal()
|
/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 134 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem() 149 Reader reader = new InputStreamReader(bai, StandardCharsets.US_ASCII); in convertFromPem()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | NAIRealmDataTestUtil.java | 108 utfEncoding ? StandardCharsets.UTF_8 : StandardCharsets.US_ASCII); in getNAIRealmData()
|
D | I18NameTest.java | 52 stream.write(language.getBytes(StandardCharsets.US_ASCII)); in getTestData()
|
D | VenueNameElementTest.java | 58 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in appendVenue()
|
D | HSFriendlyNameElementTest.java | 59 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in appendOperatorName()
|
D | ANQPParserTest.java | 233 stream.write(language[i].getBytes(StandardCharsets.US_ASCII)); in getI18NameListPayload() 235 if (language[i].getBytes(StandardCharsets.US_ASCII).length in getI18NameListPayload()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 131 US_ASCII("US-ASCII"), enumConstant
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarManifestReader.java | 122 String nameString = new String(buf, mark, pos - mark - 1, StandardCharsets.US_ASCII); in readName()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
D | UpdateInfo.java | 48 mPassword = new String(Base64.decode(pw.getBytes(StandardCharsets.US_ASCII), in UpdateInfo()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ProcFileReaderTest.java | 175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize); in buildReader()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | NativeUtil.java | 248 CharsetDecoder decoder = StandardCharsets.US_ASCII.newDecoder(); in bytesToHexOrQuotedAsciiString()
|