Home
last modified time | relevance | path

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

12345

/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp47 size = leb128::encode<uint32_t>(result, 2); in TEST_F()
53 size = leb128::encode<uint32_t>(result, 127); in TEST_F()
59 size = leb128::encode<uint32_t>(result, 128); in TEST_F()
66 size = leb128::encode<uint32_t>(result, 129); in TEST_F()
73 size = leb128::encode<uint32_t>(result, 130); in TEST_F()
80 size = leb128::encode<uint32_t>(result, 12857); in TEST_F()
93 size = leb128::encode<uint64_t>(result, 2); in TEST_F()
99 size = leb128::encode<uint64_t>(result, 127); in TEST_F()
105 size = leb128::encode<uint64_t>(result, 128); in TEST_F()
112 size = leb128::encode<uint64_t>(result, 129); in TEST_F()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h23 size_t encode(ByteType*& pBuf, IntType pValue);
52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue);
55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue);
61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue);
64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue);
96 size_t encode(char*& pBuf, IntType pValue) { in encode() function
97 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue); in encode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java166 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitAsciiFeedback()
175 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
178 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
181 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
196 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitGsmFeedback()
205 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
208 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
214 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
217 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
220 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[all …]
/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { in encode() function
36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) { in encode() function
67 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue) { in encode() function
89 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue) { in encode() function
90 return encode<int64_t>(pBuf, static_cast<int64_t>(pValue)); in encode()
/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp41 int encode(void *payload, int16_t *samples);
47 int UlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anonf095142f0111::UlawCodec
92 int encode(void *payload, int16_t *samples);
98 int AlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anonf095142f0111::AlawCodec
DAmrCodec.cpp54 int encode(void *payload, int16_t *samples);
100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() function in __anona83fb3cf0111::AmrCodec
215 int encode(void *payload, int16_t *samples);
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() function in __anona83fb3cf0111::GsmEfrCodec
DGsmCodec.cpp44 int encode(void *payload, int16_t *samples);
52 int GsmCodec::encode(void *payload, int16_t *samples) in encode() function in __anond9eb4df60111::GsmCodec
DAudioCodec.h31 virtual int encode(void *payload, int16_t *samples) = 0;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java220 HexEncoding.encode(mac)) + ", mLastDiscoveryInterfaceMac=" in onInterfaceAddressChange()
221 + String.valueOf(HexEncoding.encode(mLastDiscoveryInterfaceMac))); in onInterfaceAddressChange()
252 HexEncoding.encode(mac)) + ", currentDiscoveryInterfaceMac=" in onClusterChange()
253 + String.valueOf(HexEncoding.encode(currentDiscoveryInterfaceMac)) in onClusterChange()
255 HexEncoding.encode(mLastDiscoveryInterfaceMac))); in onClusterChange()
DWifiAwareNativeCallback.java355 + String.valueOf(HexEncoding.encode(event.addr))); in eventClusterEvent()
406 + event.peerId + ", addr=" + String.valueOf(HexEncoding.encode(event.addr)) in eventMatch()
441 HexEncoding.encode(event.addr)) + ", serviceSpecificInfo=" + Arrays.toString( in eventFollowupReceived()
470 HexEncoding.encode(event.peerDiscMacAddr)) + ", ndpInstanceId=" in eventDataPathRequest()
484 + ", peerNdiMacAddr=" + String.valueOf(HexEncoding.encode(event.peerNdiMacAddr)) in eventDataPathConfirm()
503 HexEncoding.encode(event.V1_0.peerNdiMacAddr)) + ", dataPathSetupSuccess=" in eventDataPathConfirm_1_2()
/frameworks/base/tests/net/java/com/android/internal/net/
DVpnProfileTest.java155 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecode()
163 (new String(profile.encode()) + VpnProfile.VALUE_DELIMITER + "invalid").getBytes(); in testEncodeDecodeTooManyValues()
172 final String encoded = new String(getSampleIkev2Profile(DUMMY_PROFILE_KEY).encode()); in getEncodedDecodedIkev2ProfileMissingValues()
210 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecodeLoginsNotSaved()
/frameworks/base/core/java/android/util/
DBase64.java458 return new String(encode(input, flags), "US-ASCII"); in encodeToString()
479 return new String(encode(input, offset, len, flags), "US-ASCII"); in encodeToString()
495 public static byte[] encode(byte[] input, int flags) { in encode() method in Base64
496 return encode(input, 0, input.length, flags); in encode()
511 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.java63 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream() argument
66 if (encode) { in Base64OutputStream()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java60 ByteBuffer encoded = encoder.encode(CharBuffer.wrap(str)); in stringToByteArrayList()
148 sb.append(new String(HexEncoding.encode(macArray, i, 1))); in macAddressFromByteArray()
346 return new String(HexEncoding.encode(bytes)).toLowerCase(); in hexStringFromByteArray()
356 String y = new String(HexEncoding.encode(Arrays.copyOfRange(devType, 2, 6))); in wpsDevTypeStringFromByteArray()
/frameworks/compile/mclinker/lib/Target/
DELFAttributeData.cpp68 leb128::encode<uint32_t>(pBuf, pTag); in WriteAttribute()
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue()); in WriteAttribute()
/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.java1526 String encodedParameter = encode(key, null) + "=" in appendQueryParameter()
1527 + encode(value, null); in appendQueryParameter()
1658 encodedKey = URLEncoder.encode(key, DEFAULT_ENCODING); in getQueryParameters()
1720 final String encodedKey = encode(key, null); in getQueryParameter()
1852 public static String encode(String s) { in encode() method in Uri
1853 return encode(s, null); in encode()
1869 public static String encode(String s, String allow) { in encode() method in Uri
2062 return hasEncoded ? encoded : (encoded = encode(decoded)); in getEncoded()
2169 return hasEncoded ? encoded : (encoded = encode(decoded, "/")); in getEncoded()
2248 String encoded = encode(decoded); in appendDecodedSegment()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivityTest.java30 private byte[] encode(View view) throws ClassNotFoundException, NoSuchMethodException, in encode() method in MainActivityTest
61 byte[] data = encode(mTextView); in testTextView()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java424 String answer = createAnswer(sessionDescription).encode(); in createListener()
551 createOffer().encode(), TRANSFER_TIMEOUT); in createListener()
553 String answer = createAnswer(sessionDescription).encode(); in createListener()
641 sipSession.makeCall(peerProfile, createOffer().encode(),
685 mSipSession.changeCall(createHoldOffer().encode(), timeout);
711 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
735 mSipSession.changeCall(createContinueOffer().encode(), timeout);
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DLockHook.java236 mHash.update(sFilenameCharset.encode(e.getFileName()).array()); in hashStackTraceElement()
239 mHash.update(sFilenameCharset.encode(e.getClassName()).array()); in hashStackTraceElement()
242 mHash.update(sFilenameCharset.encode(e.getMethodName()).array()); in hashStackTraceElement()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp61 int encode(int mode, const char *srcFile, const char *dstFile) { in encode() function
234 retVal = encode(mode, inFileName, outFileName); in main()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityCompat.java57 view.encode(encoder); in encodeViewHierarchy()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c73 int encode( in encode() function
362 r = encode(mode, allow_dtx, frameType, inFileName, outFileName); in main()
/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java103 HexEncoding.encode(mServiceName))) + ", mServiceName.length=" + ( in toString()
106 HexEncoding.encode(mServiceSpecificInfo))) in toString()

12345