Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java152 byte []encodedSms = BearerData.encode(bearerData); 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()
182 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitGsmFeedback()
191 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
194 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
200 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
203 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
206 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[all …]
/frameworks/base/voip/jni/rtp/
DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anonc349552d0111::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anonc349552d0111::AlawCodec
DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() function in __anon68d0cd0d0111::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() function in __anon68d0cd0d0111::GsmEfrCodec
DGsmCodec.cpp46 int encode(void *payload, int16_t *samples);
54 int GsmCodec::encode(void *payload, int16_t *samples) in encode() function in __anon9a7c67340111::GsmCodec
DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) in encode() function in __anon890361ce0111::AudioStream
351 int length = mCodec->encode(&buffer[3], samples); in encode()
728 stream->encode(tick, chain); in threadLoop()
/frameworks/base/docs/html/guide/developing/tools/
Detc1tool.jd7 <p><code>etc1tool</code> is a command line utility that lets you encode PNG
11 <pre>etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference
34 <td><code>--encode</code></td>
/frameworks/base/core/java/android/util/
DBase64.java456 return new String(encode(input, flags), "US-ASCII"); in encodeToString()
477 return new String(encode(input, offset, len, flags), "US-ASCII"); in encodeToString()
493 public static byte[] encode(byte[] input, int flags) { in encode() method in Base64
494 return encode(input, 0, input.length, flags); in encode()
509 public static byte[] encode(byte[] input, int offset, int len, int flags) { in encode() method in Base64
DBase64InputStream.java61 public Base64InputStream(InputStream in, int flags, boolean encode) { in Base64InputStream() argument
65 if (encode) { in Base64InputStream()
DBase64OutputStream.java60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream() argument
63 if (encode) { in Base64OutputStream()
/frameworks/base/core/java/android/net/
DMailTo.java157 sb.append(Uri.encode(header.getKey())); in toString()
159 sb.append(Uri.encode(header.getValue())); in toString()
DUri.java1477 String encodedParameter = encode(key, null) + "=" in appendQueryParameter()
1478 + encode(value, null); in appendQueryParameter()
1609 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING); in getQueryParameters()
1667 final String encodedKey = encode(key, null); in getQueryParameter()
1768 public static String encode(String s) { in encode() method in Uri
1769 return encode(s, null); in encode()
1785 public static String encode(String s, String allow) { in encode() method in Uri
2069 return hasEncoded ? encoded : (encoded = encode(decoded)); in getEncoded()
2172 return hasEncoded ? encoded : (encoded = encode(decoded, "/")); in getEncoded()
2251 String encoded = encode(decoded); in appendDecodedSegment()
/frameworks/base/core/java/android/speech/srec/
DUlawEncoderInputStream.java49 public static void encode(byte[] pcmBuf, int pcmOffset, in encode() method in UlawEncoderInputStream
153 encode(mBuf, 0, buf, offset, n, mMax); in read()
/frameworks/base/voip/java/android/net/sip/
DSipAudioCall.java417 String answer = createAnswer(sessionDescription).encode(); in createListener()
544 createOffer().encode(), TRANSFER_TIMEOUT); in createListener()
546 String answer = createAnswer(sessionDescription).encode(); in createListener()
633 sipSession.makeCall(peerProfile, createOffer().encode(),
673 mSipSession.changeCall(createHoldOffer().encode(), timeout);
698 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
720 mSipSession.changeCall(createContinueOffer().encode(), timeout);
/frameworks/base/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c72 int encode( in encode() function
357 r = encode(mode, allow_dtx, frameType, inFileName, outFileName); in main()
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.h33 bool encode(SkWStream* stream, void* inYuv, int width,
DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, in encode() function in YuvToJpegEncoder
226 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java179 Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(mContactEmail)), in assignContactFromEmail()
219 Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(mContactEmail)), in onClick()
/frameworks/base/core/java/android/webkit/
DCertTool.java63 return new String(Base64.encode(signed)); in getSignedPublicKey()
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java222 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush()
228 result = mCharset.encode(charBuffer, mBytes, true); in flush()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java263 Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getCallerInfo()
295 Uri.encode(username))); in doSecondaryLookupIfNecessary()
/frameworks/compile/slang/
Dslang_rs_metadata_spec_encoder.cpp96 unsigned encode ## x ## Type(const union RSType *T);
302 case RS_TC_ ## x: return encode ## x ## Type(T); in encodeRSType()
/frameworks/base/core/java/android/content/
DIntent.java5762 uri.append("action=").append(Uri.encode(mAction)).append(';'); in toUri()
5766 uri.append("category=").append(Uri.encode(category)).append(';'); in toUri()
5770 uri.append("type=").append(Uri.encode(mType, "/")).append(';'); in toUri()
5776 uri.append("package=").append(Uri.encode(mPackage)).append(';'); in toUri()
5779 uri.append("component=").append(Uri.encode( in toUri()
5784 .append(Uri.encode(mSourceBounds.flattenToString())) in toUri()
5805 uri.append(Uri.encode(key)); in toUri()
5807 uri.append(Uri.encode(value.toString())); in toUri()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java236 String encoded = Uri.encode("Bob:/", "/"); in testEncodeWithAllowedChars()
256 assertEquals(s, Uri.decode(Uri.encode(s, null))); in code()
555 .appendQueryParameter("nested", Uri.encode(nestedUrl)).build(); in testGetQueryParameterWorkaround()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java109 String base64Key = new String(Base64.encode(key.getBytes())); in performBackup()

12