Searched refs:encode (Results 1 - 25 of 86) sorted by relevance

1234

/packages/apps/Contacts/src/com/android/contacts/util/
H A DStructuredPostalUtils.java31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress));
39 return Uri.parse("https://maps.google.com/maps?daddr=" + Uri.encode(postalAddress));
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
H A Dprobability_entry_test.cpp31 const uint64_t encodedEntry = entry.encode(false /* hasHistoricalInfo */);
47 const uint64_t encodedEntry = entry.encode(true /* hasHistoricalInfo */);
/packages/services/Telephony/src/com/android/phone/common/mail/utils/
H A DUtility.java51 return encode(ASCII, s);
59 private static byte[] encode(Charset charset, String s) { method in class:Utility
63 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s));
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DTextBody.java40 out.write(Base64.encode(bytes, Base64.CRLF));
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
H A DTextBody.java39 out.write(Base64.encode(bytes, Base64.CRLF));
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriSource.java86 + URLEncoder.encode(uri.toString(), CHARSET_UTF_8)
87 + "/" +URLEncoder.encode(type, CHARSET_UTF_8));
H A DClusterAlbumSet.java108 childPath = mPath.getChild(Uri.encode(childName));
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListing.java91 public byte[] encode(boolean includeThreadId, String version) throws UnsupportedEncodingException { method in class:BluetoothMapMessageListing
102 element.encode(xmlMsgElement, includeThreadId); // Append the list element
H A DBluetoothMapbMessageEmail.java63 public byte[] encode() throws UnsupportedEncodingException method in class:BluetoothMapbMessageEmail
H A DBluetoothMapConvoListing.java94 public byte[] encode() throws UnsupportedEncodingException { method in class:BluetoothMapConvoListing
106 element.encode(xmlConvoElement); // Append the list element
H A DBluetoothMapbMessageSms.java71 public byte[] encode() throws UnsupportedEncodingException method in class:BluetoothMapbMessageSms
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DUriUtils.java89 return (segments.size() < 3) ? null : Uri.encode(segments.get(2));
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DLicensesActivity.java58 // encode the license string for display as HTML in the webview
59 licenseHTML = URLEncoder.encode(license, "UTF-8").replace("+", "%20");
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
H A DEncoderUtil.java117 * display-name to encode.
143 * the local part to encode
185 * text to encode.
253 * The charset to encode the specified text into a byte array and the
260 * text to encode.
277 * The charset to encode the specified text into a byte array and the
281 * text to encode.
302 * text to encode.
309 * the Java charset that should be used to encode the specified
336 byte[] bytes = encode(tex
584 private static byte[] encode(String text, Charset charset) { method in class:EncoderUtil
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/codec/
H A DEncoderUtil.java117 * display-name to encode.
143 * the local part to encode
185 * text to encode.
253 * The charset to encode the specified text into a byte array and the
260 * text to encode.
277 * The charset to encode the specified text into a byte array and the
281 * text to encode.
302 * text to encode.
309 * the Java charset that should be used to encode the specified
336 byte[] bytes = encode(tex
584 private static byte[] encode(String text, Charset charset) { method in class:EncoderUtil
[all...]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapbMessageTest.java105 encoded = new String(msg.encode());
207 byte[] encodedBytes = msg.encode();
277 byte[] encodedBytes = msg.encode();
283 newMsg.encode();
370 byte[] encoded = msg.encode();
512 encoded = new String(msg.encode());
/packages/apps/Contacts/src/com/android/contacts/
H A DNfcHandler.java68 final String lookupKey = Uri.encode(mContactUri.getPathSegments().get(2));
/packages/apps/Dialer/src/com/android/dialer/interactions/
H A DUndemoteOutgoingCallReceiver.java86 Uri.encode(number));
/packages/apps/TV/src/com/android/tv/data/
H A DWatchedHistoryManager.java148 editor.putString(getSharedPreferencesKey(mLastIndex), encode(record));
180 .putString(getSharedPreferencesKey(mLastIndex), encode(record))
304 String encode(WatchedRecord record) { method in class:WatchedHistoryManager
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/
H A DContactTestUtils.java36 Uri.encode(phone));
/packages/apps/Contacts/src/com/android/contacts/list/
H A DJoinContactListAdapter.java80 builder.appendEncodedPath(Uri.encode(filter));
92 .appendEncodedPath(Uri.encode(filter))
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content.cpp140 return mTrieMap.put(wordId, probabilityEntry->encode(mHasHistoricalInfo), bitmapEntryIndex);
305 if (!mTrieMap.put(wordId, ProbabilityEntry().encode(mHasHistoricalInfo),
372 if (!mTrieMap.put(entry.key(), updatedEntry.encode(mHasHistoricalInfo),
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCallLogInteractionsLoader.java116 Uri.encode(normalizedNumber));
/packages/apps/Email/src/com/android/email/activity/
H A DContactStatusLoader.java105 Uri uri = Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(emailAddress));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCursorBackedSuggestionCursor.java224 data = data + "/" + Uri.encode(id);

Completed in 1070 milliseconds

1234