Home
last modified time | relevance | path

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

12345

/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h27 IntType decode(const ByteType *pBuf, size_t &pSize);
30 IntType decode(const ByteType *&pBuf);
73 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);
80 uint64_t decode<uint64_t>(const ByteType *&pBuf);
86 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize);
89 int64_t decode<int64_t>(const ByteType *&pBuf);
102 IntType decode(const char *pBuf, size_t &pSize) { in decode() function
103 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize); in decode()
107 IntType decode(const char *&pBuf) { in decode() function
108 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.cpp204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F()
209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F()
214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F()
219 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F()
224 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130); in TEST_F()
229 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857); in TEST_F()
240 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2); in TEST_F()
245 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2); in TEST_F()
250 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127); in TEST_F()
255 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 __anon0fa296730111::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 __anon0fa296730111::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 __anonf6c3fd930111::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 __anonf6c3fd930111::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 __anon286f97ba0111::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/compile/mclinker/lib/Target/
DELFAttributeData.cpp24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag()
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue()
/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.h54 virtual status_t decode(
62 virtual status_t decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate,
/frameworks/base/media/tests/omxjpegdecoder/
Djpeg_decoder_bench.cpp59 if (!decoder->decode(stream, bitmap, prefColorType, decodeMode)) { in testDecodeBounds()
76 if (!decoder->decode(stream, bitmap, prefColorType, decodeMode)) { in testDecodePixels()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java56 return Integer.decode(value); in native_get_int()
67 return Long.decode(value); in native_get_long()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java112 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()
485 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) { in decode() method in DecodeTask
/frameworks/base/core/java/android/net/
DMailTo.java87 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/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
132 <p>To use this method, first decode with {@link
134 through and then decode again using the new {@link
143 // First decode with inJustDecodeBounds=true to check dimensions
166 <p>You can follow a similar process to decode bitmaps from other sources, by substituting the
169 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/base/services/core/java/com/android/server/updates/
DTZInfoInstallReceiver.java31 super.install(Base64.decode(encodedContent, Base64.DEFAULT), version); in install()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp91 virtual status_t decode( in decode() function in android::BpMediaPlayerService
121 virtual status_t decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, in decode() function in android::BpMediaPlayerService
236 decode(httpService, in onTransact()
262 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format, in onTransact()
/frameworks/ex/framesequence/jni/
DAndroid.mk22 LOCAL_STATIC_LIBRARIES += libgif libwebp-decode
/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/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java252 decode(null); in loadFileDescriptorFactory()
266 decode(factory); in fileDescriptorFactoryCreated()
273 protected void decode(final FileDescriptorFactory factory) { in decode() method in BasicBitmapDrawable

12345