/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
D | EncoderUtil.java | 336 byte[] bytes = encode(text, charset); in encodeEncodedWord() 524 byte[] bytes1 = encode(part1, charset); in encodeB() 529 byte[] bytes2 = encode(part2, charset); in encodeB() 552 byte[] bytes1 = encode(part1, charset); in encodeQ() 557 byte[] bytes2 = encode(part2, charset); in encodeQ() 584 private static byte[] encode(String text, Charset charset) { in encode() method in EncoderUtil 585 ByteBuffer buffer = charset.encode(text); in encode()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | Utility.java | 47 return encode(ASCII, s); in toAscii() 55 private static byte[] encode(Charset charset, String s) { in encode() method in Utility 59 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s)); in encode()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | WatchedHistoryManager.java | 159 editor.putString(getSharedPreferencesKey(mLastIndex), encode(record)); in onLoadFinished() 189 .putString(getSharedPreferencesKey(mLastIndex), encode(record)) in logChannelViewStop() 267 String encode(WatchedRecord record) { in encode() method in WatchedHistoryManager
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StructuredPostalUtils.java | 31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress)); in getPostalAddressUri() 39 return Uri.parse("https://maps.google.com/maps?daddr=" + Uri.encode(postalAddress)); in getPostalAddressDirectionsUri()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | probability_entry_test.cpp | 31 const uint64_t encodedEntry = entry.encode(false /* hasHistoricalInfo */); in TEST() 47 const uint64_t encodedEntry = entry.encode(true /* hasHistoricalInfo */); in TEST()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListing.java | 90 …public byte[] encode(boolean includeThreadId, String version) throws UnsupportedEncodingException { in encode() method in BluetoothMapMessageListing 101 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
|
D | BluetoothMapbMessage.java | 209 public void encode(StringBuilder sb) in encode() method in BluetoothMapbMessage.vCard 783 public abstract byte[] encode() throws UnsupportedEncodingException; in encode() method in BluetoothMapbMessage 970 element.encode(sb); in encodeGeneric() 980 element.encode(sb); in encodeGeneric()
|
D | BluetoothMapConvoListing.java | 94 public byte[] encode() throws UnsupportedEncodingException { in encode() method in BluetoothMapConvoListing 106 element.encode(xmlConvoElement); // Append the list element in encode()
|
D | BluetoothMapbMessageMime.java | 78 public void encode(StringBuilder sb, String boundaryTag, boolean last) in encode() method in BluetoothMapbMessageMime.MimePart 465 part.encode(sb, getBoundary(), (count == parts.size())); in encodeMime() 741 public byte[] encode() throws UnsupportedEncodingException { in encode() method in BluetoothMapbMessageMime
|
D | BluetoothMapConvoListingElement.java | 245 public void encode(XmlSerializer xmlConvoElement) in encode() method in BluetoothMapConvoListingElement 273 contact.encode(xmlConvoElement); in encode()
|
D | BluetoothMapbMessageEmail.java | 52 public byte[] encode() throws UnsupportedEncodingException in encode() method in BluetoothMapbMessageEmail
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriSource.java | 86 + URLEncoder.encode(uri.toString(), CHARSET_UTF_8) in findPathByUri() 87 + "/" +URLEncoder.encode(type, CHARSET_UTF_8)); in findPathByUri()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | TelecomUtils.java | 110 Uri.encode(number)); in getContactIdFromNumber() 144 PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getTypeFromNumber() 254 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getContactNameFromNumber()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 293 private static byte[] encode(Charset charset, String s) { in encode() method in Utility 297 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s)); in encode() 313 return encode(UTF_8, s); in toUtf8() 323 return encode(ASCII, s); in toAscii()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 140 return mTrieMap.put(wordId, probabilityEntry->encode(mHasHistoricalInfo), bitmapEntryIndex); in setNgramProbabilityEntry() 305 if (!mTrieMap.put(wordId, ProbabilityEntry().encode(mHasHistoricalInfo), in createAndGetBitmapEntryIndex() 372 if (!mTrieMap.put(entry.key(), updatedEntry.encode(mHasHistoricalInfo), in updateAllProbabilityEntriesForGCInner()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 77 builder.appendEncodedPath(Uri.encode(filter)); in configureLoader() 89 .appendEncodedPath(Uri.encode(filter)) in configureLoader()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimContact.java | 144 return "sim-n-" + Uri.encode(mName); in getLookupKey() 146 return "sim-p-" + Uri.encode(mPhone); in getLookupKey()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | TelecomUtils.java | 166 Uri.encode(number)); in getContactIdFromNumber() 277 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getContactNameFromNumber()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 314 data = Base64.encode(data, Base64.NO_WRAP); in saslAuthPlain() 342 byte[] data = Base64.encode(authPhrase.getBytes(), Base64.NO_WRAP); in saslAuthOAuth()
|
/packages/apps/Music/src/com/android/music/ |
D | TrackBrowserActivity.java | 993 uri = uri.buildUpon().appendQueryParameter("filter", Uri.encode(filter)).build(); 1012 .appendQueryParameter("filter", Uri.encode(filter)) 1022 .appendQueryParameter("filter", Uri.encode(filter)) 1035 .appendQueryParameter("filter", Uri.encode(filter)) 1053 uri = uri.buildUpon().appendQueryParameter("filter", Uri.encode(filter)).build();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 67 + Uri.encode(CONTACT_EMAIL)); 69 "content://com.android.contacts/phone_lookup/" + Uri.encode(CONTACT_PHONE));
|
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/ |
D | TelecomUtils.java | 186 Uri.encode(number)); in getContactIdFromNumber() 257 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getContactNameFromNumber()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 455 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getEncodedNai() 457 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getEncodedNai()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 558 Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(emailAddress)), in bindFromEmail() 574 Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)), in bindFromPhoneNumber()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 513 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getNai() 515 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getNai()
|