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

1234

/frameworks/compile/mclinker/include/mcld/Support/
H A 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) { function in namespace:mcld::leb128
103 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize);
107 IntType decode(const char *&pBuf) { function in namespace:mcld::leb128
108 return decode<IntTyp
[all...]
/frameworks/base/services/core/java/com/android/server/updates/
H A DTZInfoInstallReceiver.java31 super.install(Base64.decode(encodedContent, Base64.DEFAULT), version);
/frameworks/opt/net/voip/src/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:__anon1443::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:__anon1442::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:__anon1442::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:__anon1438::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:__anon1438::GsmEfrCodec
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2);
209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127);
214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128);
219 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129);
224 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130);
229 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857);
240 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2);
245 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2);
250 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127);
255 ASSERT_EQ(leb128::decode<int64_
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
157 BearerData revBearerData = BearerData.decode(encodedSms);
165 revBearerData = BearerData.decode(BearerData.encode(bearerData));
168 revBearerData = BearerData.decode(BearerData.encode(bearerData));
171 revBearerData = BearerData.decode(BearerData.encode(bearerData));
187 BearerData revBearerData = BearerData.decode(encodedSms);
195 revBearerData = BearerData.decode(BearerDat
[all...]
/frameworks/base/tools/preload/
H A DRecord.java132 processName = decode(parts[3]).intern();
135 className = vmTypeToLanguage(decode(parts[5])).intern();
148 String decode(String rawField) { method in class:Record
/frameworks/ex/framesequence/jni/
H A DAndroid.mk22 LOCAL_STATIC_LIBRARIES += libgif libwebp-decode
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeData.cpp24 leb128::decode<uint64_t>(pBuf, size));
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size);
/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/base/media/tests/omxjpegdecoder/
H A Djpeg_decoder_bench.cpp59 if (!decoder->decode(stream, bitmap, prefColorType, decodeMode)) {
60 return nullObjectReturn("decoder->decode returned false");
76 if (!decoder->decode(stream, bitmap, prefColorType, decodeMode)) {
77 return nullObjectReturn("decoder->decode returned false");
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DSystemProperties_Delegate.java56 return Integer.decode(value);
67 return Long.decode(value);
/frameworks/av/include/media/
H A DIMediaPlayerService.h54 virtual status_t decode(
62 virtual status_t decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate,
/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(Locale.ROOT),
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 Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) +
H A DBerTlv.java74 * @param data A byte array to decode from
78 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/base/core/java/android/service/fingerprint/
H A DFingerprintUtils.java45 result[i] = Integer.decode(fingerStringIds[i]);
/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/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java39 * decode is complete, even if the task is cancelled, the result is placed in the given cache.
40 * A {@link DecodeCallback} client may be notified on decode begin and completion.
45 * GIFs are supported, but their decode does not reuse bitmaps at all. The resulting
66 * Callback interface for clients to be notified of decode state changes and completion.
91 * @param requestKey The request to decode, also the key to use for the cache.
92 * @param decodeOpts The decode options.
93 * @param factory The factory to obtain file descriptors to decode from. If this factory is
94 * null, then we will decode from requestKey.createInputStream().
95 * @param callback The callback to notify of decode state changes.
112 return decode();
115 public ReusableBitmap decode() { method in class:DecodeTask
485 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) { method in class:DecodeTask
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java50 * The actual bitmap decode work is handled by {@link DecodeTask}.
84 new LinkedBlockingQueue<Runnable>(128), new NamedThreadFactory("decode"));
121 * Set the dimensions to decode into. These dimensions should never change while the drawable is
135 * Binds to the given key and start the decode process. This will first look in the cache, then
136 * decode from the request key if not found.
211 // find cached entry here and skip decode if found.
252 decode(null);
266 decode(factory);
273 protected void decode(final FileDescriptorFactory factory) { method in class:BasicBitmapDrawable
274 Trace.beginSection("decode");
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp91 virtual status_t decode( function in class:android::BpMediaPlayerService
121 virtual status_t decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, function in class:android::BpMediaPlayerService
236 decode(httpService,
262 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format,

Completed in 781 milliseconds

1234