/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | IconInfoTestUtil.java | 55 out.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); in getTestData() 57 writeByteArrayWithLength(out, TEST_TYPE.getBytes(StandardCharsets.US_ASCII)); in getTestData()
|
D | HSIconFileElementTest.java | 53 byte[] iconTypeBytes = TEST_ICON_TYPE.getBytes(StandardCharsets.US_ASCII); in getTestData()
|
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 | OsuProviderInfoTestUtil.java | 151 out.write(value.getLanguage().getBytes(StandardCharsets.US_ASCII)); in getI18NameData()
|
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 | 251 stream.write(language[i].getBytes(StandardCharsets.US_ASCII)); in getI18NameListPayload() 253 if (language[i].getBytes(StandardCharsets.US_ASCII).length in getI18NameListPayload()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | IconInfo.java | 73 payload, LANGUAGE_CODE_LENGTH, StandardCharsets.US_ASCII).trim(); in parse() 76 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.US_ASCII); in parse()
|
D | HSIconFileElement.java | 86 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.US_ASCII); in parse()
|
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/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() 294 System.arraycopy(key.getBytes(StandardCharsets.US_ASCII), 0, txtRecord, ptr, in getTxtRecord()
|
/frameworks/base/core/java/android/nfc/ |
D | NdefRecord.java | 429 byte[] typeBytes = mimeType.getBytes(StandardCharsets.US_ASCII); in createMime() 499 languageCodeBytes = languageCode.getBytes(StandardCharsets.US_ASCII); in createTextRecord() 502 getBytes(StandardCharsets.US_ASCII); in createTextRecord() 689 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType() 747 … return Uri.parse("vnd.android.nfc://ext/" + new String(mType, StandardCharsets.US_ASCII)); in toUri()
|
/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/wifi/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 35 private static final byte[] TEST_SSID_BYTES = TEST_SSID.getBytes(StandardCharsets.US_ASCII);
|
/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/wifi/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 182 final CharsetEncoder asciiEncoder = StandardCharsets.US_ASCII.newEncoder(); in setWpa2Passphrase() 200 final CharsetEncoder asciiEncoder = StandardCharsets.US_ASCII.newEncoder(); in setWpa3Passphrase()
|
D | WifiNetworkSpecifier.java | 205 final CharsetEncoder asciiEncoder = StandardCharsets.US_ASCII.newEncoder(); in setWpa2Passphrase() 223 final CharsetEncoder asciiEncoder = StandardCharsets.US_ASCII.newEncoder(); in setWpa3Passphrase()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 113 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()
|