Searched refs:encode (Results 1 - 25 of 93) 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));
H A DUriUtils.java89 return (segments.size() < 3) ? null : Uri.encode(segments.get(2));
/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/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
H A DUtility.java47 return encode(ASCII, s);
55 private static byte[] encode(Charset charset, String s) { method in class:Utility
59 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s));
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageEmail.java56 public byte[] encode() throws UnsupportedEncodingException { method in class:BluetoothMapbMessageEmail
H A DBluetoothMapMessageListing.java91 public byte[] encode(boolean includeThreadId, String version) method in class:BluetoothMapMessageListing
116 element.encode(xmlMsgElement, includeThreadId); // Append the list element
H A DBluetoothMapConvoListing.java92 public byte[] encode() throws UnsupportedEncodingException { method in class:BluetoothMapConvoListing
104 element.encode(xmlConvoElement); // Append the list element
H A DBluetoothMapbMessageSms.java78 public byte[] encode() throws UnsupportedEncodingException { method in class:BluetoothMapbMessageSms
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/contract/
H A DPhoneLookupHistoryContract.java43 .appendQueryParameter(NUMBER_QUERY_PARAM, Uri.encode(normalizedNumber))
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DTextBody.java37 out.write(Base64.encode(bytes, Base64.CRLF));
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DTextBody.java40 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));
/packages/apps/Dialer/java/com/android/dialer/util/
H A DUriUtils.java87 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/apps/Contacts/src/com/android/contacts/model/
H A DSimContact.java144 return "sim-n-" + Uri.encode(mName);
146 return "sim-p-" + Uri.encode(mPhone);
/packages/apps/Contacts/src/com/android/contacts/
H A DNfcHandler.java68 final String lookupKey = Uri.encode(mContactUri.getPathSegments().get(2));
/packages/apps/Dialer/java/com/android/dialer/interactions/
H A DUndemoteOutgoingCallReceiver.java82 final Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number));
/packages/apps/TV/src/com/android/tv/data/
H A DWatchedHistoryManager.java175 editor.putString(getSharedPreferencesKey(mLastIndex), encode(record));
204 .putString(getSharedPreferencesKey(mLastIndex), encode(record))
284 String encode(WatchedRecord record) { method in class:WatchedHistoryManager
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DShortcutUsageReporter.java118 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber));
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
H A DContactTestUtils.java36 Uri.encode(phone));
/packages/services/Car/tools/emulator/
H A Ddiagnostic_injector.py88 eventType = event['type'].encode('utf-8')
/packages/apps/Contacts/src/com/android/contacts/list/
H A DJoinContactListAdapter.java77 builder.appendEncodedPath(Uri.encode(filter));
89 .appendEncodedPath(Uri.encode(filter))
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
H A DTelecomUtils.java113 Uri.encode(number));
147 PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number));
257 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number));
/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),

Completed in 488 milliseconds

1234