/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDecoderTest.java | 90 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/ |
D | VpnProfileTest.java | 180 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/ |
D | Uri.java | 2049 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/ |
D | GsmSmsTest.java | 404 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/ |
D | ImageExporterTest.java | 149 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/ |
D | ShortcutPackageInfo.java | 285 final byte[] decoded = Base64.getDecoder().decode(hash); in loadFromXml() 286 hashes.add(decoded); in loadFromXml()
|
/frameworks/av/media/tests/benchmark/ |
D | README.md | 246 …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/ |
D | UriTest.java | 868 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/ |
D | WifiNl80211ManagerTest.java | 1255 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray)); in bytesToHexOrQuotedString() local 1256 return "\"" + decoded.toString() + "\""; in bytesToHexOrQuotedString()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 11423 // the media codec service to when the decoded frame arrives back in
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 33557 Landroid/net/Uri$AbstractPart;->decoded:Ljava/lang/String;
|