Searched refs:decode (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/Support/
H A 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) { function in namespace:mcld::leb128
106 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize);
110 IntType decode(const char *&pBuf) { function in namespace:mcld::leb128
111 return decode<IntTyp
[all...]
/frameworks/base/voip/jni/rtp/
H A DAudioCodec.h33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
H A 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) function in class:__anon1176::GsmCodec
H A 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) function in class:__anon1175::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) function in class:__anon1175::AlawCodec
H A 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) function in class:__anon1171::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) function in class:__anon1171::GsmEfrCodec
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp203 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 2);
208 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 127);
213 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 128);
218 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 129);
223 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 130);
228 ASSERT_EQ(leb128::decode<uint64_t>(buffer, size), 12857);
239 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2);
244 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2);
249 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127);
254 ASSERT_EQ(leb128::decode<int64_
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java117 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
124 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
131 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
138 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
154 BearerData revBearerData = BearerData.decode(encodedSms);
162 revBearerData = BearerData.decode(BearerData.encode(bearerData));
165 revBearerData = BearerData.decode(BearerData.encode(bearerData));
168 revBearerData = BearerData.decode(BearerData.encode(bearerData));
184 BearerData revBearerData = BearerData.decode(encodedSms);
192 revBearerData = BearerData.decode(BearerDat
[all...]
/frameworks/base/tools/preload/
H A DRecord.java122 processName = decode(parts[3]).intern();
125 className = vmTypeToLanguage(decode(parts[5])).intern();
138 String decode(String rawField) { method in class:Record
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java33 byte[] out = Base64.decode(in, 0);
51 byte[] out = Base64.decode(in, 0);
52 fail("should have failed to decode");
128 assertEquals(BYTES, 0, Base64.decode("", 0));
129 assertEquals(BYTES, 1, Base64.decode("/w==", 0));
130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0));
131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0));
132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0));
133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0));
134 assertEquals(BYTES, 6, Base64.decode("/
[all...]
/frameworks/av/include/media/
H A DIMediaPlayerService.h51 virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) = 0;
52 virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) = 0;
H A Dmediaplayer.h105 // The video is too complex for the decoder: it can't decode frames fast
221 static sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat);
222 static sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat);
/frameworks/base/media/tests/omxjpegdecoder/
H A Djpeg_decoder_bench.cpp59 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
60 return nullObjectReturn("decoder->decode returned false");
76 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
77 return nullObjectReturn("decoder->decode returned false");
/frameworks/base/core/java/android/net/
H A DMailTo.java58 * Parse and decode a mailto scheme string. This parser implements
87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(),
88 nameval.length > 1 ? Uri.decode(nameval[1]) : null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java43 * {@link #decode(byte[], int) decode} method.
93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex);
114 public static ComprehensionTlv decode(byte[] data, int startIndex) method in class:ComprehensionTlv
128 Log.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) +
H A DBerTlv.java63 * @param data A byte array to decode from
67 public static BerTlv decode(byte[] data) throws ResultException { method in class:BerTlv
/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp96 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize) { function in namespace:mcld::leb128
140 uint64_t decode<uint64_t>(const ByteType *&pBuf) { function in namespace:mcld::leb128
185 * version like decode() to save the code size.
188 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize) { function in namespace:mcld::leb128
209 int64_t decode<int64_t>(const ByteType *&pBuf) { function in namespace:mcld::leb128
/frameworks/base/core/java/android/util/
H A DBase64.java76 * Encode/decode another block of input data. this.output is
109 * @param str the input String to decode, which is converted to
112 * Pass {@code DEFAULT} to decode standard Base64.
117 public static byte[] decode(String str, int flags) { method in class:Base64
118 return decode(str.getBytes(), flags);
128 * @param input the input array to decode
130 * Pass {@code DEFAULT} to decode standard Base64.
135 public static byte[] decode(byte[] input, int flags) { method in class:Base64
136 return decode(input, 0, input.length, flags);
146 * @param input the data to decode
155 public static byte[] decode(byte[] input, int offset, int len, int flags) { method in class:Base64
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp89 virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) function in class:android::BpMediaPlayerService
101 virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) function in class:android::BpMediaPlayerService
185 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format);
200 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format);
/frameworks/base/core/java/android/content/pm/
H A DManifestDigest.java71 final byte[] digest = Base64.decode(encodedDigest, Base64.DEFAULT);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java140 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT);
147 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT);
180 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT));
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java140 return Long.decode(string.substring(0, length - 8)).intValue();
/frameworks/ex/common/tools/
H A Dmake-iana-tld-pattern.py145 result = puny.decode('punycode')
/frameworks/base/core/java/android/webkit/
H A DURLUtil.java109 public static byte[] decode(byte[] url) throws IllegalArgumentException { method in class:URLUtil
319 String decodedUrl = Uri.decode(url);
/frameworks/base/services/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java124 byte[] derCert = Base64.decode(cert.getBytes(), Base64.DEFAULT);
223 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT));
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java266 return Base64.decode(base64, Base64.URL_SAFE);
270 return Base64.decode(base64, Base64.DEFAULT);

Completed in 3771 milliseconds

123