Searched refs:encode (Results 1 - 25 of 50) sorted by last modified time

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1557 data = data + "/" + Uri.encode(id);
/frameworks/volley/src/com/android/volley/
H A DRequest.java447 encodedParams.append(URLEncoder.encode(entry.getKey(), paramsEncoding));
449 encodedParams.append(URLEncoder.encode(entry.getValue(), paramsEncoding));
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java691 path = Uri.encode(mostSpecific.getKey()) + '/' + Uri.encode(path, "/");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceCategoryProgramHandler.java154 byte[] encodedBearerData = BearerData.encode(bData);
H A DSmsMessage.java301 * Returns null on encode error.
332 * Returns null on encode error.
369 * Returns null on encode error.
457 * Calculate the number of septets needed to encode the message.
459 * @param messageBody the message to encode
886 byte[] encodedBearerData = BearerData.encode(bearerData);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java38 * An object to encode and decode CDMA SMS bearer data.
534 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")");
542 throw new CodingException("7bit ASCII encode failed: " + ex);
552 throw new CodingException("UTF-16 encode failed: " + ex);
579 * access to the main bitwise stream from encode/decode.
588 throw new CodingException("7bit GSM encode failed: " + ex);
648 throw new CodingException("Shift-JIS encode failed: " + ex);
912 public static byte[] encode(BearerData bData) { method in class:BearerData
969 Rlog.e(LOG_TAG, "BearerData encode failed: " + ex);
971 Rlog.e(LOG_TAG, "BearerData encode faile
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java156 byte []encodedSms = BearerData.encode(bearerData);
165 revBearerData = BearerData.decode(BearerData.encode(bearerData));
168 revBearerData = BearerData.decode(BearerData.encode(bearerData));
171 revBearerData = BearerData.decode(BearerData.encode(bearerData));
186 byte []encodedSms = BearerData.encode(bearerData);
195 revBearerData = BearerData.decode(BearerData.encode(bearerData));
198 revBearerData = BearerData.decode(BearerData.encode(bearerData));
204 revBearerData = BearerData.decode(BearerData.encode(bearerData));
207 revBearerData = BearerData.decode(BearerData.encode(bearerData));
210 revBearerData = BearerData.decode(BearerData.encode(bearerDat
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardBuilder.java1090 // This looks inefficient since we encode rawLocality and rawNeighborhood twice,
1315 final String photoString = new String(Base64.encode(data, Base64.NO_WRAP));
H A DVCardUtils.java814 Log.e(LOG_TAG, "Failed to encode: charset=" + targetCharset);
838 final ByteBuffer byteBuffer = charset.encode(originalString);
846 Log.e(LOG_TAG, "Failed to encode: charset=" + targetCharset);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java40 * <p>Invoking <code>description.encode()</code> will produce a result like the
137 public String encode() { method in class:SimpleSessionDescription
H A DSipAudioCall.java418 String answer = createAnswer(sessionDescription).encode();
545 createOffer().encode(), TRANSFER_TIMEOUT);
547 String answer = createAnswer(sessionDescription).encode();
635 sipSession.makeCall(peerProfile, createOffer().encode(),
679 mSipSession.changeCall(createHoldOffer().encode(), timeout);
705 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
729 mSipSession.changeCall(createContinueOffer().encode(), timeout);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java1060 return statusLine.encode();
/frameworks/opt/net/voip/src/jni/rtp/
H A DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) function in class:__anon1452::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) function in class:__anon1452::GsmEfrCodec
H A DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
H A DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) function in class:__anon1453::AudioStream
351 int length = mCodec->encode(&buffer[3], samples);
727 stream->encode(tick, chain);
H A DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1456::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) function in class:__anon1456::AlawCodec
H A DGsmCodec.cpp46 int encode(void *payload, int16_t *samples);
54 int GsmCodec::encode(void *payload, int16_t *samples) function in class:__anon1457::GsmCodec
/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h24 size_t encode(ByteType *&pBuf, IntType pValue);
34 * encode it in ULEB128 format.
53 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);
56 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);
62 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);
65 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);
69 * contain the number of bytes used in the buffer to encode the returned
97 size_t encode(char *&pBuf, IntType pValue) { function in namespace:mcld::leb128
98 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue);
/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp17 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue) { function in namespace:mcld::leb128
36 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue) { function in namespace:mcld::leb128
67 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue) { function in namespace:mcld::leb128
89 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue) { function in namespace:mcld::leb128
90 return encode<int64_t>(pBuf, static_cast<int64_t>(pValue));
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeData.cpp69 leb128::encode<uint32_t>(pBuf, pTag);
73 leb128::encode<uint32_t>(pBuf, pValue.getIntValue());
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp52 size = leb128::encode<uint32_t>(result, 2);
58 size = leb128::encode<uint32_t>(result, 127);
64 size = leb128::encode<uint32_t>(result, 128);
71 size = leb128::encode<uint32_t>(result, 129);
78 size = leb128::encode<uint32_t>(result, 130);
85 size = leb128::encode<uint32_t>(result, 12857);
98 size = leb128::encode<uint64_t>(result, 2);
104 size = leb128::encode<uint64_t>(result, 127);
110 size = leb128::encode<uint64_t>(result, 128);
117 size = leb128::encode<uint64_
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java55 return US_ASCII.encode(cb).array();
65 return ISO_8859_1.encode(cb).array();
75 return UTF_8.encode(cb).array();
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java504 this.file = new File(dir, Uri.encode(tag) + "@" + timestampMillis +
525 this.file = new File(dir, Uri.encode(tag) + "@" + timestampMillis + ".lost");
/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java323 Uri.encode(number));
330 Uri.encode(email));
/frameworks/base/services/core/java/com/android/server/pm/
H A DKeySetManagerService.java490 return new String(Base64.encode(k.getEncoded(), 0));

Completed in 352 milliseconds

12