Home
last modified time | relevance | path

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

1234

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java336 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/
DUtility.java47 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/
DWatchedHistoryManager.java159 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/
DStructuredPostalUtils.java31 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/
Dprobability_entry_test.cpp31 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/
DBluetoothMapMessageListing.java90 …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()
DBluetoothMapbMessage.java209 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()
DBluetoothMapConvoListing.java94 public byte[] encode() throws UnsupportedEncodingException { in encode() method in BluetoothMapConvoListing
106 element.encode(xmlConvoElement); // Append the list element in encode()
DBluetoothMapbMessageMime.java78 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
DBluetoothMapConvoListingElement.java245 public void encode(XmlSerializer xmlConvoElement) in encode() method in BluetoothMapConvoListingElement
273 contact.encode(xmlConvoElement); in encode()
DBluetoothMapbMessageEmail.java52 public byte[] encode() throws UnsupportedEncodingException in encode() method in BluetoothMapbMessageEmail
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriSource.java86 + 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/
DTelecomUtils.java110 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/
DUtility.java293 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/
Dlanguage_model_dict_content.cpp140 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/
DJoinContactListAdapter.java77 builder.appendEncodedPath(Uri.encode(filter)); in configureLoader()
89 .appendEncodedPath(Uri.encode(filter)) in configureLoader()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java144 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/
DTelecomUtils.java166 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/
DSmtpSender.java314 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/
DTrackBrowserActivity.java993 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/
DEnterprisePolicyGuardTest.java67 + 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/
DTelecomUtils.java186 Uri.encode(number)); in getContactIdFromNumber()
257 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getContactNameFromNumber()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java455 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/
DContactHeaderWidget.java558 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/
DMmsHttpClient.java513 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP); in getNai()
515 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP); in getNai()

1234