/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 173 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem() 189 Reader reader = new InputStreamReader(bai, StandardCharsets.US_ASCII); in convertFromPem()
|
/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/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 200 final String s = new String(mBuffer, 0, tokenIndex, StandardCharsets.US_ASCII); in parseAndConsumeString() 238 "invalid long: " + new String(mBuffer, 0, tokenIndex, StandardCharsets.US_ASCII)); in invalidLong()
|
/frameworks/base/core/java/android/nfc/ |
D | NdefRecord.java | 432 byte[] typeBytes = mimeType.getBytes(StandardCharsets.US_ASCII); in createMime() 502 languageCodeBytes = languageCode.getBytes(StandardCharsets.US_ASCII); in createTextRecord() 505 getBytes(StandardCharsets.US_ASCII); in createTextRecord() 692 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType() 750 … 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 | 66 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() 81 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal()
|
D | Settings.java | 2677 Integer.toString(value).getBytes(StandardCharsets.US_ASCII));
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | CharacterSets.java | 34 public static final int US_ASCII = 0x03; field in CharacterSets 105 US_ASCII,
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ProcFileReaderTest.java | 230 Files.write(tempFile.toPath(), "abc\n".getBytes(StandardCharsets.US_ASCII)); in testRewindFileInputStream() 253 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize); in buildReader()
|
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | EapSessionConfigUtilsTest.java | 41 private static final byte[] EAP_ID = "test@android.net".getBytes(StandardCharsets.US_ASCII);
|
D | IkeSessionParamsUtilsTest.java | 143 final byte[] eapId = "test@android.net".getBytes(StandardCharsets.US_ASCII); in createBuilderMinimumWithEap()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 24 import static java.nio.charset.StandardCharsets.US_ASCII; 75 private static final byte[] EXIF_FILE_TAG = "Exif\u0000\u0000".getBytes(US_ASCII);
|
/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()
|
D | StrictJarManifest.java | 299 os.write(nameString.getBytes(StandardCharsets.US_ASCII)); in writeEntry()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 324 final byte[] abiListBytes = abiList.getBytes(StandardCharsets.US_ASCII); in handleAbiListQuery() 335 final byte[] pidStringBytes = pidString.getBytes(StandardCharsets.US_ASCII); in handlePidQuery()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 338 US_ASCII("US-ASCII"), enumConstant
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VisualVoicemailSmsFilter.java | 336 builder.append(new String(pdu, StandardCharsets.US_ASCII)); in parseAsciiPduMessage()
|
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 658 return new String(Credentials.convertToPem(cert), StandardCharsets.US_ASCII); in certificateToPemString() 675 Credentials.convertFromPem(certStr.getBytes(StandardCharsets.US_ASCII)); in certificateFromPemString()
|
/frameworks/base/core/java/android/os/ |
D | ZygoteProcess.java | 409 final String rawList = new String(bytes, StandardCharsets.US_ASCII); in getAbiList() 883 return Integer.parseInt(new String(bytes, StandardCharsets.US_ASCII)); in getZygotePid()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31977 enum_constant public static final android.util.Xml.Encoding US_ASCII; 44247 field public static final java.nio.charset.Charset US_ASCII; 57412 field public static final java.lang.String US_ASCII = "US-ASCII";
|
/frameworks/base/core/api/ |
D | current.txt | 47607 enum_constant public static final android.util.Xml.Encoding US_ASCII;
|