Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/time/src/android/app/time/cts/
DHexEncoding.java35 public static byte[] decode(String encoded) { in decode() argument
37 int resultLengthBytes = (encoded.length() + 1) / 2; in decode()
41 if ((encoded.length() % 2) != 0) { in decode()
44 encoded.charAt(encodedCharOffset)); in decode()
47 for (int len = encoded.length(); encodedCharOffset < len; encodedCharOffset += 2) { in decode()
49 ((getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)) << 4) in decode()
50 | getHexadecimalDigitValue(encoded.charAt(encodedCharOffset + 1))); in decode()
/cts/tests/tests/keystore/src/android/keystore/cts/
DHexEncoding.java63 public static byte[] decode(String encoded) { in decode() argument
65 int resultLengthBytes = (encoded.length() + 1) / 2; in decode()
69 if ((encoded.length() % 2) != 0) { in decode()
71 result[resultOffset++] = (byte) getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)); in decode()
74 for (int len = encoded.length(); encodedCharOffset < len; encodedCharOffset += 2) { in decode()
76 ((getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)) << 4) in decode()
77 | getHexadecimalDigitValue(encoded.charAt(encodedCharOffset + 1))); in decode()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DEnrollmentSpecificIdTest.java260 final char[] encoded = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)]; in encodeBase32() local
262 int index = encoded.length; in encodeBase32()
271 encoded[--index] = SEPARATOR; in encodeBase32()
280 encoded[--index] = alphabet[group]; in encodeBase32()
283 return String.valueOf(encoded); in encodeBase32()
/cts/tests/tests/util/src/android/util/cts/
DBase64Test.java286 byte[] encoded = Base64.encode(plain, flags); in testInputStream()
297 bais = new ByteArrayInputStream(encoded); in testInputStream()
306 bais = new ByteArrayInputStream(encoded); in testInputStream()
315 bais = new ByteArrayInputStream(encoded); in testInputStream()
364 byte[] encoded = Base64.encode(plain, flags); in testOutputStream()
379 assertArrayEquals(encoded, actual); in testOutputStream()
389 assertArrayEquals(encoded, actual); in testOutputStream()
412 assertArrayEquals(encoded, actual); in testOutputStream()
/cts/tests/tests/graphics/assets/fonts/security/
Dft45987.ttf.README.txt2 (http://llvm.org/docs/LibFuzzer.html). Its base64 encoded version was taken
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/
DSettingsStatsTests.java64 final String encoded = in testSettingsStatsReported() local
83 "device_config put settings_stats GlobalFeature__integer_whitelist " + encoded); in testSettingsStatsReported()
/cts/hostsidetests/mediapc/videoencodingquality/app/
DREADME.md2 …his apk. This apk parses the information sent and performs encoding. The encoded output is stored …
/cts/hostsidetests/videoencodingminimum/app/
DREADME.md2 …his apk. This apk parses the information sent and performs encoding. The encoded output is stored …
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DPerUnalignedUtils.java205 public static BigInteger decodeBigNonNegativeWholeNumber(byte[] encoded) { in decodeBigNonNegativeWholeNumber() argument
206 return new BigInteger(1, encoded); in decodeBigNonNegativeWholeNumber()
DPerAlignedUtils.java267 public static BigInteger decodeBigNonNegativeWholeNumber(byte[] encoded) { in decodeBigNonNegativeWholeNumber() argument
268 return new BigInteger(1, encoded); in decodeBigNonNegativeWholeNumber()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java1566 String encoded = Genres.encode(genres); in checkGenreEncodeDecode() local
1567 assertEquals(expectedEncoded, encoded); in checkGenreEncodeDecode()
1568 String[] decoded = Genres.decode(encoded); in checkGenreEncodeDecode()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt23623 field public static final String KEY_AAC_ENCODED_TARGET_LEVEL = "aac-encoded-target-level";