/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | LEB128.h | 30 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 D | AudioCodec.h | 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
H A D | GsmCodec.cpp | 47 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 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) 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 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) 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 D | LEB128Test.cpp | 203 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 D | CdmaSmsTest.java | 117 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 D | Record.java | 122 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 D | Base64Test.java | 33 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 D | IMediaPlayerService.h | 51 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 D | mediaplayer.h | 105 // 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 D | jpeg_decoder_bench.cpp | 59 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 D | MailTo.java | 58 * 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 D | ComprehensionTlv.java | 43 * {@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 D | BerTlv.java | 63 * @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 D | LEB128.cpp | 96 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 D | Base64.java | 76 * 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 D | IMediaPlayerService.cpp | 89 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 D | ManifestDigest.java | 71 final byte[] digest = Base64.decode(encodedDigest, Base64.DEFAULT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 140 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 D | NetworkManagementSocketTagger.java | 140 return Long.decode(string.substring(0, length - 8)).intValue();
|
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 145 result = puny.decode('punycode')
|
/frameworks/base/core/java/android/webkit/ |
H A D | URLUtil.java | 109 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 D | ConfigUpdateInstallReceiver.java | 124 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 D | ImageUtils.java | 266 return Base64.decode(base64, Base64.URL_SAFE); 270 return Base64.decode(base64, Base64.DEFAULT);
|