/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriCodecTest.java | 29 assertEquals("", UriCodec.decode("", in testDecode_emptyString_returnsEmptyString() 38 UriCodec.decode("ab%2f$%C4%82%25%e0%a1%80%p", in testDecode_wrongHexDigit_fails() 51 UriCodec.decode("ab%2f$%c4%82%25%e0%a1%80%1p", in testDecode_secondHexDigitWrong_fails() 64 UriCodec.decode("ab%2f$%c4%82%25%e0%a1%80%", in testDecode_endsWithPercent_fails() 76 UriCodec.decode("ab%2f$%c4%82%25%e0%a1%80%", in testDecode_dontThrowException_appendsUnknownCharacter() 84 UriCodec.decode("ab%2f$%c4%82%25+%e0%a1%80", in testDecode_convertPlus() 93 UriCodec.decode("ab%2f$%c4%82%25%e0%a1%80", in testDecode_lastCharacter() 103 UriCodec.decode("ab%2f$%c4%82%25%e0%a1%80aa%e0%a1%80", in testDecode_secondRowOfEncoded()
|
D | SntpClientTest.java | 84 mServer.setServerReply(HexEncoding.decode(WORKING_VERSION4.toCharArray(), false)); in testBasicWorkingSntpClientQuery() 105 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testIgnoreLeapNoSync() 115 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testAcceptOnlyServerAndBroadcastModes() 142 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testAcceptableStrataOnly() 161 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testZeroTransmitTime()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | LEB128.h | 26 IntType decode(const ByteType* pBuf, size_t& pSize); 29 IntType decode(const ByteType*& pBuf); 72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize); 79 uint64_t decode<uint64_t>(const ByteType*& pBuf); 85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize); 88 int64_t decode<int64_t>(const ByteType*& pBuf); 101 IntType decode(const char* pBuf, size_t& pSize) { in decode() function 102 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize); in decode() 106 IntType decode(const char*& pBuf) { in decode() function 107 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf)); in decode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsTest.java | 130 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm() 137 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii() 144 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo() 151 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5() 167 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback() 175 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 178 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 181 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() 197 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitGsmFeedback() 205 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | DepthImage.java | 61 XmpDepthDecode decode = new XmpDepthDecode(input); in createFromXMPMetadata() local 62 return new DepthImage(decode.getFormat(), decode.getFar(), in createFromXMPMetadata() 63 decode.getNear(), decode.getDepthBitmap(), in createFromXMPMetadata() 64 decode.getBlurAtInfinity(), in createFromXMPMetadata() 65 decode.getFocalDistance(), in createFromXMPMetadata() 66 decode.getDepthOfField(), in createFromXMPMetadata() 67 decode.getFocalPointX(), in createFromXMPMetadata() 68 decode.getFocalPointY(), in createFromXMPMetadata() 69 decode.getDepthTransform()); in createFromXMPMetadata()
|
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 199 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F() 204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F() 209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F() 214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F() 219 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130); in TEST_F() 224 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857); in TEST_F() 234 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2); in TEST_F() 239 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2); in TEST_F() 244 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127); in TEST_F() 249 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -127); in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 40 byte[] out = Base64.decode(in, 0); in decodeString() 58 byte[] out = Base64.decode(in, 0); in assertBad() 135 assertEquals(BYTES, 0, Base64.decode("", 0)); in testBinaryDecode() 136 assertEquals(BYTES, 1, Base64.decode("/w==", 0)); in testBinaryDecode() 137 assertEquals(BYTES, 2, Base64.decode("/+4=", 0)); in testBinaryDecode() 138 assertEquals(BYTES, 3, Base64.decode("/+7d", 0)); in testBinaryDecode() 139 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0)); in testBinaryDecode() 140 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0)); in testBinaryDecode() 141 assertEquals(BYTES, 6, Base64.decode("/+7dzLuq", 0)); in testBinaryDecode() 142 assertEquals(BYTES, 7, Base64.decode("/+7dzLuqmQ==", 0)); in testBinaryDecode() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | SettingsWrapperTest.kt | 54 val decoded = wrapper.decode(value, USER_ID) in testDecodeUnnecessary() 70 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSON() 82 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSONWithoutClockField() 91 assertThat(wrapper.decode(null, USER_ID)).isNull() in testDecodeNullJSON()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 42 int decode(int16_t *samples, int count, void *payload, int length); 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anonf095142f0111::UlawCodec 93 int decode(int16_t *samples, int count, void *payload, int length); 117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anonf095142f0111::AlawCodec
|
D | AmrCodec.cpp | 55 int decode(int16_t *samples, int count, void *payload, int length); 131 int AmrCodec::decode(int16_t *samples, int /* count */, void *payload, int length) in decode() function in __anona83fb3cf0111::AmrCodec 216 int decode(int16_t *samples, int count, void *payload, int length); 242 int GsmEfrCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anona83fb3cf0111::GsmEfrCodec
|
D | GsmCodec.cpp | 45 int decode(int16_t *samples, int count, void *payload, int length); 58 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anond9eb4df60111::GsmCodec
|
/frameworks/compile/mclinker/lib/Support/ |
D | LEB128.cpp | 96 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function 136 uint64_t decode<uint64_t>(const ByteType*& pBuf) { in decode() function 184 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function 205 int64_t decode<int64_t>(const ByteType*& pBuf) { in decode() function
|
/frameworks/base/tests/net/java/com/android/internal/net/ |
D | VpnProfileTest.java | 155 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecode() 165 assertNull(VpnProfile.decode(DUMMY_PROFILE_KEY, tooManyValues)); in testEncodeDecodeTooManyValues() 191 assertNull(VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes())); in testEncodeDecodeInvalidNumberOfValues() 201 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes()); in testEncodeDecodeMissingIsRestrictedToTestNetworks() 210 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecodeLoginsNotSaved()
|
/frameworks/base/tools/preload/ |
D | Record.java | 132 processName = decode(parts[3]).intern(); in Record() 135 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record() 148 String decode(String rawField) { in decode() method in Record
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/fuzzer/ |
D | README.md | 14 * If the decode operation was successful, the input is advanced by the number of bytes consumed 15 in the decode call. 16 * If the decode operation was un-successful, the input is advanced by 1 byte so that the fuzzer 25 * The number of decode calls are kept to a maximum of 100 so that the fuzzer does not timeout.
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 119 public static byte[] decode(String str, int flags) { in decode() method in Base64 120 return decode(str.getBytes(), flags); in decode() 137 public static byte[] decode(byte[] input, int flags) { in decode() method in Base64 138 return decode(input, 0, input.length, flags); in decode() 157 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() method in Base64
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | NativeUtil.java | 128 return HexEncoding.decode(cleanMac.toCharArray(), false); in macAddressToByteArray() 167 return HexEncoding.decode(cleanMac.toCharArray(), false); in macAddressOuiToByteArray() 258 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray)); in bytesToHexOrQuotedString() 333 return HexEncoding.decode(hexStr.toCharArray(), false); in hexStringToByteArray()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttributeData.cpp | 24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag() 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SettingsWrapper.java | 57 return decode( in getLockScreenCustomClockFace() 79 String decode(@Nullable String value, int userId) { in decode() method in SettingsWrapper
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | SystemProperties_Delegate.java | 56 return Integer.decode(value); in native_get_int() 67 return Long.decode(value); in native_get_long()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 286 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testDataPathPmkWithoutPermission() 324 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testDataPathWithPortInfoOnPublisher() 362 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testDataPathWithPortInfoInvalidPort() 395 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testDataPathWithPortInfoButNoSecurityOnSubscriber() 429 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testDestroyNdiDuringNdpSetupResponder() 514 byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testMultipleNdpsOnSingleNdi() 515 byte[] peerDataPathMac = HexEncoding.decode("0A0B0C0D0E0F".toCharArray(), false); in testMultipleNdpsOnSingleNdi() 610 final byte[] peerDiscoveryMac = HexEncoding.decode("000102030405".toCharArray(), false); in testMultipleIdenticalRequests() 611 final byte[] peerDataPathMac = HexEncoding.decode("0A0B0C0D0E0F".toCharArray(), false); in testMultipleIdenticalRequests() 612 final byte[] allZeros = HexEncoding.decode("000000000000".toCharArray(), false); in testMultipleIdenticalRequests() [all …]
|
/frameworks/base/core/java/android/net/ |
D | MailTo.java | 87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(Locale.ROOT), in parse() 88 nameval.length > 1 ? Uri.decode(nameval[1]) : null); in parse()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpProvider.java | 66 String tag = Uri.decode(path); in delete() 78 String tag = Uri.decode(path); in openFile()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 112 return decode(); in doInBackground() 115 public ReusableBitmap decode() { in decode() method in DecodeTask 381 decodeResult = decode(fd, in); in decode() 389 decodeResult = decode(fd, in); in decode() 488 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) { in decode() method in DecodeTask
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 53 Base64.decode("e04fd020ea3a6910a2d808002b30", Base64.DEFAULT); 56 Base64.decode("e04fd020ea3a6910a2d808002b30", Base64.DEFAULT); 58 Base64.decode("e04fd020ea3a6910a2d808002b32", Base64.DEFAULT); 284 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppWrongCerts() 309 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppMoreCerts() 344 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
|