Home
last modified time | relevance | path

Searched refs:decoded (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DBluetoothMidiDecoderTest.java90 void test(byte[] encoded, byte[][] decoded) throws IOException { in test() argument
92 compareWithExpected(decoded); in test()
95 void test(byte[][] encoded, byte[][] decoded) throws IOException { in test() argument
97 compareWithExpected(decoded); in test()
108 final byte[][] decoded = { in testOneNoteOn()
111 new DecoderChecker().test(encoded, decoded); in testOneNoteOn()
122 final byte[][] decoded = { in testReservedHeaderBit()
125 new DecoderChecker().test(encoded, decoded); in testReservedHeaderBit()
137 final byte[][] decoded = { in testTwoNotesOnRunning()
141 new DecoderChecker().test(encoded, decoded); in testTwoNotesOnRunning()
[all …]
/frameworks/base/services/tests/VpnTests/java/com/android/internal/net/
DVpnProfileTest.java180 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecodeWithIkeTunConnParams() local
181 assertEquals(profile, decoded); in testEncodeDecodeWithIkeTunConnParams()
187 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecode() local
188 assertEquals(profile, decoded); in testEncodeDecode()
247 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes()); in testEncodeDecodeMissingIsRestrictedToTestNetworks() local
248 assertFalse(decoded.isRestrictedToTestNetworks); in testEncodeDecodeMissingIsRestrictedToTestNetworks()
256 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes()); in testEncodeDecodeMissingExcludeLocalRoutes() local
257 assertFalse(decoded.excludeLocalRoutes); in testEncodeDecodeMissingExcludeLocalRoutes()
265 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes()); in testEncodeDecodeMissingRequiresValidation() local
266 assertFalse(decoded.requiresInternetValidation); in testEncodeDecodeMissingRequiresValidation()
[all …]
/frameworks/base/core/java/android/net/
DUri.java2049 volatile String decoded; field in Uri.AbstractPart
2051 AbstractPart(String encoded, String decoded) { in AbstractPart() argument
2054 this.decoded = NotCachedHolder.NOT_CACHED; in AbstractPart()
2055 } else if (decoded != NotCachedHolder.NOT_CACHED) { in AbstractPart()
2057 this.decoded = decoded; in AbstractPart()
2067 boolean hasDecoded = decoded != NotCachedHolder.NOT_CACHED; in getDecoded()
2068 return hasDecoded ? decoded : (decoded = decode(encoded)); in getDecoded()
2084 private Part(String encoded, String decoded) { in Part() argument
2085 super(encoded, decoded); in Part()
2095 return hasEncoded ? encoded : (encoded = encode(decoded)); in getEncoded()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java404 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle() local
405 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
407 assertEquals(sBasicTables[language], decoded); in decodeSingle()
481 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended() local
483 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
485 assertEquals(sExtendedTables[language], decoded); in testDecodeExtended()
556 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtendedFallback() local
559 assertEquals(defaultTable.toString(), decoded); in testDecodeExtendedFallback() local
561 decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, 1, language); in testDecodeExtendedFallback()
562 assertEquals(turkishTable.toString(), decoded); in testDecodeExtendedFallback() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java149 Bitmap decoded = null; in testImageExport() local
151 decoded = BitmapFactory.decodeStream(in); in testImageExport()
152 assertNotNull("decoded image should not be null", decoded); in testImageExport()
153 assertTrue("original and decoded image should be identical", original.sameAs(decoded)); in testImageExport()
179 if (decoded != null) { in testImageExport()
180 decoded.recycle(); in testImageExport()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java285 final byte[] decoded = Base64.getDecoder().decode(hash); in loadFromXml()
286 hashes.add(decoded); in loadFromXml()
/frameworks/av/media/tests/benchmark/
DREADME.md246 …s the total time taken to encode/decode all frames divided by the number of frames encoded/decoded.
254 12. **totalBytesProcessedPerSec**: The number of bytes extracted/muxed/decoded/encoded per second.
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java868 private Object createPart(Class partClass, String encoded, String decoded) throws Exception { in createPart() argument
871 return partConstructor.newInstance(encoded, decoded); in createPart()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java1255 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray)); in bytesToHexOrQuotedString() local
1256 return "\"" + decoded.toString() + "\""; in bytesToHexOrQuotedString()
/frameworks/proto_logging/stats/
Datoms.proto11423 // the media codec service to when the decoded frame arrives back in
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt33557 Landroid/net/Uri$AbstractPart;->decoded:Ljava/lang/String;