Home
last modified time | relevance | path

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

123456

/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DDepthImage.java32 XmpDepthDecode decode = new XmpDepthDecode(input); in DepthImage() local
33 mFormat = decode.getFormat(); in DepthImage()
34 mFar = decode.getFar(); in DepthImage()
35 mNear = decode.getNear(); in DepthImage()
36 mDepthBitmap = decode.getDepthBitmap(); in DepthImage()
37 mBlurAtInfinity = decode.getBlurAtInfinity(); in DepthImage()
38 mFocalDistance = decode.getFocalDistance(); in DepthImage()
39 mDepthOfFiled = decode.getDepthOfField(); in DepthImage()
40 mFocalPointX = decode.getFocalPointX(); in DepthImage()
41 mFocalPointY = decode.getFocalPointY(); in DepthImage()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h26 IntType decode(const ByteType* pBuf, size_t& pSize);
29 IntType decode(const ByteType*& pBuf);
72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize);
79 uint64_t decode<uint64_t>(const ByteType*& pBuf);
85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize);
88 int64_t decode<int64_t>(const ByteType*& pBuf);
101 IntType decode(const char* pBuf, size_t& pSize) { in decode() function
102 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize); in decode()
106 IntType decode(const char*& pBuf) { in decode() function
107 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf)); in decode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
157 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback()
165 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
168 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
171 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
187 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitGsmFeedback()
195 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitGsmFeedback()
[all …]
/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp199 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F()
204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F()
209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F()
214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F()
219 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 130); in TEST_F()
224 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 12857); in TEST_F()
234 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 2); in TEST_F()
239 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -2); in TEST_F()
244 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), 127); in TEST_F()
249 ASSERT_EQ(leb128::decode<int64_t>(buffer, size), -127); in TEST_F()
[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/opt/net/voip/src/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 __anon7fe8c1d00111::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 __anon7fe8c1d00111::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 __anon9d13b1500111::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 __anon9d13b1500111::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 __anoncebf4b770111::GsmCodec
DAudioCodec.h33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java65 mServer.setServerReply(HexEncoding.decode(WORKING_VERSION4.toCharArray(), false)); in testBasicWorkingSntpClientQuery()
83 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testIgnoreLeapNoSync()
92 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testAcceptOnlyServerAndBroadcastModes()
117 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testAcceptableStrataOnly()
134 final byte[] reply = HexEncoding.decode(WORKING_VERSION4.toCharArray(), false); in testZeroTransmitTime()
/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp96 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function
136 uint64_t decode<uint64_t>(const ByteType*& pBuf) { in decode() function
184 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize) { in decode() function
205 int64_t decode<int64_t>(const ByteType*& pBuf) { in decode() function
/frameworks/base/tools/preload/
DRecord.java132 processName = decode(parts[3]).intern(); in Record()
135 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record()
148 String decode(String rawField) { in decode() method in Record
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java77 HexEncoding.decode(RTM_DELNEIGH_HEX.toCharArray(), false);
116 HexEncoding.decode(RTM_NEWNEIGH_HEX.toCharArray(), false);
136 HexEncoding.decode(RTM_GETNEIGH_RESPONSE_HEX.replaceAll(" ", "").toCharArray(), false);
246 HexEncoding.decode(expectedNewNeighHex.toCharArray(), false); in testCreateRtmNewNeighMessage()
/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/compile/mclinker/lib/Target/
DELFAttributeData.cpp24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag()
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue()
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
DAsn1Decoder.java86 public static Collection<Asn1Object> decode(ByteBuffer data) throws DecodeException { in decode() method in Asn1Decoder
89 decode(0, root); in decode()
93 private static void decode(int level, Asn1Constructed parent) throws DecodeException { in decode() method in Asn1Decoder
112 decode(level + 1, root); in decode()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java56 return Integer.decode(value); in native_get_int()
67 return Long.decode(value); in native_get_long()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd51 the most appropriate decode method based on your image data source. These methods attempt to
53 exception. Each type of decode method has additional signatures that let you specify decoding
132 <p>To use this method, first decode with {@link
134 through and then decode again using the new {@link
143 // First decode with inJustDecodeBounds=true to check dimensions
166 <p>You can follow a similar process to decode bitmaps from other sources, by substituting the
169 BitmapFactory.decode*} method as needed.</p>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java54 byte[] b64 = Base64.decode(new String(data, StandardCharsets.ISO_8859_1), Base64.DEFAULT); in buildConfig()
67 byte[] wrappedContent = Base64.decode(mimeContainer.getText(), Base64.DEFAULT); in buildConfig()
97 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse()
109 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse()
122 byte[] octets = Base64.decode(subContainer.getText(), Base64.DEFAULT); in parse()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java112 return decode(); in doInBackground()
115 public ReusableBitmap decode() { in decode() method in DecodeTask
381 decodeResult = decode(fd, in); in decode()
389 decodeResult = decode(fd, in); in decode()
488 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) { in decode() method in DecodeTask
/frameworks/base/core/java/android/net/
DMailTo.java87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(Locale.ROOT), in parse()
88 nameval.length > 1 ? Uri.decode(nameval[1]) : null); in parse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany()
114 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() method in ComprehensionTlv
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java142 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); in createKey()
149 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT); in createCertificate()
182 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT)); in verifySignature()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java285 decode(null); in loadFileDescriptorFactory()
300 decode(factory); in fileDescriptorFactoryCreated()
314 protected void decode(final FileDescriptorFactory factory) { in decode() method in BasicBitmapDrawable
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java130 Collection<Asn1Object> pkcs7Content1 = Asn1Decoder.decode(octetBuffer); in execute()
206 Collection<Asn1Object> o = Asn1Decoder.decode(ByteBuffer.wrap(csrData)); in execute()
217 Collection<Asn1Object> pkcs7Content2 = Asn1Decoder.decode(octetBuffer); in execute()
236 Collection<Asn1Object> pkcs7Content = Asn1Decoder.decode(pkcs7); in unpackPkcs7()
321 Collection<Asn1Object> csrs = Asn1Decoder.decode(octetBuffer); in buildCSR()

123456