Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/
DCredentials.java173 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/
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/com/android/internal/util/
DProcFileReader.java200 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/
DNdefRecord.java432 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/
DPackageUsage.java66 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal()
81 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal()
DSettings.java2677 Integer.toString(value).getBytes(StandardCharsets.US_ASCII));
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DCharacterSets.java34 public static final int US_ASCII = 0x03; field in CharacterSets
105 US_ASCII,
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java230 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/
DEapSessionConfigUtilsTest.java41 private static final byte[] EAP_ID = "test@android.net".getBytes(StandardCharsets.US_ASCII);
DIkeSessionParamsUtilsTest.java143 final byte[] eapId = "test@android.net".getBytes(StandardCharsets.US_ASCII); in createBuilderMinimumWithEap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java24 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/
DStrictJarManifestReader.java122 String nameString = new String(buf, mark, pos - mark - 1, StandardCharsets.US_ASCII); in readName()
DStrictJarManifest.java299 os.write(nameString.getBytes(StandardCharsets.US_ASCII)); in writeEntry()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java324 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/
DXml.java338 US_ASCII("US-ASCII"), enumConstant
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java336 builder.append(new String(pdu, StandardCharsets.US_ASCII)); in parseAsciiPduMessage()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java658 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/
DZygoteProcess.java409 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/
Dandroid-22.txt31977 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/
Dcurrent.txt47607 enum_constant public static final android.util.Xml.Encoding US_ASCII;