Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h30 IntType decode(const ByteType *pBuf, size_t &pSize);
33 IntType decode(const ByteType *&pBuf);
76 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);
83 uint64_t decode<uint64_t>(const ByteType *&pBuf);
89 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize);
92 int64_t decode<int64_t>(const ByteType *&pBuf);
105 IntType decode(const char *pBuf, size_t &pSize) { in decode() function
106 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize); in decode()
110 IntType decode(const char *&pBuf) { in decode() function
111 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf)); in decode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
157 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback()
165 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
168 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
171 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
187 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitGsmFeedback()
195 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[all …]
/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp203 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F()
208 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F()
213 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F()
218 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F()
223 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130); in TEST_F()
228 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857); 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), -2); in TEST_F()
249 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127); in TEST_F()
254 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -127); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java33 byte[] out = Base64.decode(in, 0); in decodeString()
51 byte[] out = Base64.decode(in, 0); in assertBad()
128 assertEquals(BYTES, 0, Base64.decode("", 0)); in testBinaryDecode()
129 assertEquals(BYTES, 1, Base64.decode("/w==", 0)); in testBinaryDecode()
130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0)); in testBinaryDecode()
131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0)); in testBinaryDecode()
132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0)); in testBinaryDecode()
133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0)); in testBinaryDecode()
134 assertEquals(BYTES, 6, Base64.decode("/+7dzLuq", 0)); in testBinaryDecode()
135 assertEquals(BYTES, 7, Base64.decode("/+7dzLuqmQ==", 0)); in testBinaryDecode()
[all …]
/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp42 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 __anon482250d50111::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 __anon482250d50111::AlawCodec
DAmrCodec.cpp55 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 __anona324f3b50111::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 __anona324f3b50111::GsmEfrCodec
DGsmCodec.cpp47 int decode(int16_t *samples, int count, void *payload, int length);
60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() function in __anond4d08ddc0111::GsmCodec
DAudioCodec.h33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp96 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize) { in decode() function
140 uint64_t decode<uint64_t>(const ByteType *&pBuf) { in decode() function
188 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize) { in decode() function
209 int64_t decode<int64_t>(const ByteType *&pBuf) { in decode() function
/frameworks/base/tools/preload/
DRecord.java132 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/base/docs/html/tools/help/
Detc1tool.jd8 images to the ETC1 compression standard and decode ETC1 compressed images back to PNG.</p>
11 <pre>etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference
47 <td><code>--decode</code></td>
/frameworks/base/core/java/android/util/
DBase64.java117 public static byte[] decode(String str, int flags) { in decode() method in Base64
118 return decode(str.getBytes(), flags); in decode()
135 public static byte[] decode(byte[] input, int flags) { in decode() method in Base64
136 return decode(input, 0, input.length, flags); in decode()
155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() method in Base64
/frameworks/av/include/media/
DIMediaPlayerService.h52 …virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audi…
53 …virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, …
Dmediaplayer.h221 …static sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_fo…
222 …static sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int*…
/frameworks/base/media/tests/omxjpegdecoder/
Djpeg_decoder_bench.cpp59 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) { in testDecodeBounds()
76 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) { in testDecodePixels()
/frameworks/base/core/java/android/net/
DMailTo.java87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(), in parse()
88 nameval.length > 1 ? Uri.decode(nameval[1]) : null); in parse()
DUri.java1092 return decode(encodedHost); in parseHost()
1118 String portString = decode(authority.substring(portSeparator + 1)); in parsePort()
1580 names.add(decode(name)); in getQueryParameterNames()
1635 values.add(decode(query.substring(separator + 1, end))); in getQueryParameters()
1692 return UriCodec.decode(encodedValue, true, Charsets.UTF_8, false); in getQueryParameter()
1927 public static String decode(String s) { in decode() method in Uri
1931 return UriCodec.decode(s, false, Charsets.UTF_8, false); in decode()
1961 return hasDecoded ? decoded : (decoded = decode(encoded)); in getDecoded()
2147 = decode(path.substring(previous, current)); in getPathSegments()
2155 segmentBuilder.add(decode(path.substring(previous))); in getPathSegments()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd51 the most appropriate decode method based on your image data source. These methods attempt to
53 exception. Each type of decode method has additional signatures that let you specify decoding
131 <p>To use this method, first decode with {@link
133 through and then decode again using the new {@link
142 // First decode with inJustDecodeBounds=true to check dimensions
165 <p>You can follow a similar process to decode bitmaps from other sources, by substituting the
168 BitmapFactory.decode*} method as needed.</p>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany()
114 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() method in ComprehensionTlv
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp89 …virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format… in decode() function in android::BpMediaPlayerService
101 …virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNu… in decode() function in android::BpMediaPlayerService
211 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format); in onTransact()
226 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format); in onTransact()
Dmediaplayer.cpp776 /*static*/ sp<IMemory> MediaPlayer::decode(const char* url, uint32_t *pSampleRate, int* pNumChannel… in decode() function in android::MediaPlayer
782 p = service->decode(url, pSampleRate, pNumChannels, pFormat); in decode()
796 /*static*/ sp<IMemory> MediaPlayer::decode(int fd, int64_t offset, int64_t length, uint32_t *pSampl… in decode() function in android::MediaPlayer
802 p = service->decode(fd, offset, length, pSampleRate, pNumChannels, pFormat); in decode()
/frameworks/base/services/java/com/android/server/updates/
DTZInfoInstallReceiver.java32 super.install(Base64.decode(encodedContent, Base64.DEFAULT), version); in install()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java140 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); in createKey()
147 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT); in createCertificate()
180 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT)); in verifySignature()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java155 tac = Integer.decode(states[6]); in handlePollStateResultMessage()
162 pci = Integer.decode(states[7]); in handlePollStateResultMessage()
169 eci = Integer.decode(states[8]); in handlePollStateResultMessage()
176 csgid = Integer.decode(states[9]); in handlePollStateResultMessage()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java278 return Base64.decode(base64, Base64.URL_SAFE); in parseDataUri()
282 return Base64.decode(base64, Base64.DEFAULT); in parseDataUri()

1234