Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java116 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
123 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
130 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
137 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
153 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback()
161 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
164 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
167 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
183 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitGsmFeedback()
191 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[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/base/voip/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 __anonc349552d0111::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 __anonc349552d0111::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 __anon68d0cd0d0111::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 __anon68d0cd0d0111::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 __anon9a7c67340111::GsmCodec
DAudioCodec.h33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
/frameworks/base/tools/preload/
DRecord.java104 processName = decode(parts[3]).intern(); in Record()
107 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record()
120 String decode(String rawField) { in decode() method in Record
/frameworks/base/include/media/
DIMediaPlayerService.h46 …virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int*…
47 …virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, …
Dmediaplayer.h194 …static sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int* pFo…
195 …static sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int*…
/frameworks/base/docs/html/guide/developing/tools/
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/base/media/libmedia/
DIMediaPlayerService.cpp81 …virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int* pFormat) in decode() function in android::BpMediaPlayerService
93 …virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNu… in decode() function in android::BpMediaPlayerService
152 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format); in onTransact()
167 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format); in onTransact()
Dmediaplayer.cpp720 /*static*/ sp<IMemory> MediaPlayer::decode(const char* url, uint32_t *pSampleRate, int* pNumChannel… in decode() function in android::MediaPlayer
726 p = service->decode(url, pSampleRate, pNumChannels, pFormat); in decode()
740 /*static*/ sp<IMemory> MediaPlayer::decode(int fd, int64_t offset, int64_t length, uint32_t *pSampl… in decode() function in android::MediaPlayer
746 p = service->decode(fd, offset, length, pSampleRate, pNumChannels, pFormat); in decode()
/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/telephony/java/com/android/internal/telephony/cat/
DComprehensionTlv.java90 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany()
106 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() method in ComprehensionTlv
DBerTlv.java67 public static BerTlv decode(byte[] data) throws ResultException { in decode() method in BerTlv
/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.java1088 return decode(encodedHost); in parseHost()
1114 String portString = decode(authority.substring(portSeparator + 1)); in parsePort()
1576 names.add(decode(name)); in getQueryParameterNames()
1631 values.add(decode(query.substring(separator + 1, end))); in getQueryParameters()
1684 return decode(query.substring(separator + 1, end)); in getQueryParameter()
1892 public static String decode(String s) { in decode() method in Uri
2020 return hasDecoded ? decoded : (decoded = decode(encoded)); in getDecoded()
2206 = decode(path.substring(previous, current)); in getPathSegments()
2214 segmentBuilder.add(decode(path.substring(previous))); in getPathSegments()
/frameworks/base/core/java/android/webkit/
DDataLoader.java51 data = Base64.decode(data); in DataLoader()
DURLUtil.java108 public static byte[] decode(byte[] url) throws IllegalArgumentException { in decode() method in URLUtil
318 String decodedUrl = Uri.decode(url); in guessFileName()
DAccessibilityInjector.java362 long keyCodeAndModifiers = Long.decode(keyValueArray[0].trim()); in ensureWebContentKeyBindings()
366 actions[i] = Integer.decode(actionStrings[i].trim()); in ensureWebContentKeyBindings()
/frameworks/base/core/java/android/content/pm/
DManifestDigest.java55 final byte[] digest = Base64.decode(encodedDigest, Base64.DEFAULT); in fromAttributes()
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java138 return (int) (Long.decode(string) >> 32); in kernelToTag()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java443 effectiveCapabilities = Long.decode(capStrings[0]); in parseArgs()
446 permittedCapabilities = Long.decode(capStrings[0]); in parseArgs()
447 effectiveCapabilities = Long.decode(capStrings[1]); in parseArgs()
/frameworks/base/media/libmediaplayerservice/
DMediaPlayerService.h193 …virtual sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int*…
194 …virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, …

123