Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapbMessageTest.java93 String encoded; in testSmsEncodeText() local
105 encoded = new String(msg.encode()); in testSmsEncodeText()
106 if(D) Log.d(TAG, encoded); in testSmsEncodeText()
107 assertTrue(str1.equals(encoded)); in testSmsEncodeText()
196 String encoded; in testSmsEncodeNativeDeliverPdu() local
209 encoded = new String(encodedBytes); in testSmsEncodeNativeDeliverPdu()
213 if(D) Log.d(TAG, "\nEncoded: \n" + encoded); in testSmsEncodeNativeDeliverPdu()
215 assertTrue(expected.equalsIgnoreCase(encoded)); in testSmsEncodeNativeDeliverPdu()
266 String encoded; in testSmsEncodeDecodeNativeSubmitPdu() local
279 encoded = new String(encodedBytes); in testSmsEncodeDecodeNativeSubmitPdu()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java76 String encoded = info.encodeToString(); in addToInstallQueue() local
77 if (encoded != null) { in addToInstallQueue()
84 strings.add(encoded); in addToInstallQueue()
106 String encoded = newStringsIter.next(); in removeFromInstallQueue() local
107 PendingInstallShortcutInfo info = decode(encoded, context); in removeFromInstallQueue()
128 for (String encoded : strings) { in getAndClearInstallQueue()
129 PendingInstallShortcutInfo info = decode(encoded, context); in getAndClearInstallQueue()
371 private static PendingInstallShortcutInfo decode(String encoded, Context context) { in decode() argument
373 JSONObject object = (JSONObject) new JSONTokener(encoded).nextValue(); in decode()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java536 final byte[] encoded = recodeImage(attempts); in resizeStaticImage()
539 if (encoded != null && encoded.length <= mByteLimit) { in resizeStaticImage()
540 return encoded; in resizeStaticImage()
542 final int currentSize = (encoded == null ? 0 : encoded.length); in resizeStaticImage()
673 byte[] encoded = null; in recodeImage()
735 encoded = ImageUtils.bitmapToBytes(mScaled, mQuality); in recodeImage()
736 if (encoded != null && logv) { in recodeImage()
738 "getResizedImageData: Encoded down to " + encoded.length + "@" in recodeImage()
748 return encoded; in recodeImage()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java453 byte[] encoded = null; in getEncodedNai()
455 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getEncodedNai()
457 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getEncodedNai()
460 return new String(encoded, "UTF-8"); in getEncodedNai()
462 return new String(encoded); in getEncodedNai()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java500 byte[] encoded = null; in getNai()
502 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getNai()
504 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getNai()
507 nai = new String(encoded, "UTF-8"); in getNai()
509 nai = new String(encoded); in getNai()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md9 > (in §3) JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.
80 …cter (code point). As mentioned in previous section, a code point may be encoded to 1–4 code units…
94 …can represent unicode characters in escaped sequence `\uXXXX`, JSON can always be encoded in ASCII.
Dstream.md132 …e encoded streams can be applied to streams other than file. For example, you may have a file in m…
Dpointer.md190 … always has a `#` (pound sign) in the beginning, and some characters are encoded by percent-encodi…
Ddom.md230 …ing is decoded to into Unicode code points, and then the code points are encoded in the target for…
Dinternals.md338 First, the parsing table is encoded in a state machine in RapidJSON.
Dfaq.md211 …d UTF-16 surrogate pair. For example, the Emoji character U+1F602 can be encoded as `\uD83D\uDE02`…
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java104 String encoded = EncoderUtil.encodeIfNecessary(s, EncoderUtil.Usage.TEXT_TOKEN, in foldAndEncode2() local
107 return fold(encoded, usedCharacters); in foldAndEncode2()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeUtility.java103 String encoded = EncoderUtil.encodeIfNecessary(s, EncoderUtil.Usage.TEXT_TOKEN, in foldAndEncode2() local
106 return fold(encoded, usedCharacters); in foldAndEncode2()
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
DAddressUnitTests.java84 String encoded = padEncoded(base64Encoded[i]); in testBase64Decode() local
85 String decoded = DecoderUtil.decodeEncodedWords(encoded); in testBase64Decode()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz