Searched refs:decode (Results 1 - 25 of 60) sorted by relevance

123

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
H A Dprobability_entry_test.cpp33 ProbabilityEntry::decode(encodedEntry, false /* hasHistoricalInfo */);
50 ProbabilityEntry::decode(encodedEntry, true /* hasHistoricalInfo */);
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
H A DUtility.java52 return decode(ASCII, b);
65 private static String decode(Charset charset, byte[] b) { method in class:Utility
69 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b));
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastOtherChannelsManager.java100 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim());
101 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim());
104 mStartId = mEndId = Integer.decode(channelRange);
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DPictureDecoder.java33 public static Bitmap decode( method in class:PictureDecoder
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriSource.java50 String uri = URLDecoder.decode(segment[1], CHARSET_UTF_8);
51 String type = URLDecoder.decode(segment[2], CHARSET_UTF_8);
H A DDecodeUtils.java60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { method in class:DecodeUtils
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) { method in class:DecodeUtils
78 return decode(jc, bytes, 0, bytes.length, options);
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset, method in class:DecodeUtils
257 Bitmap bitmap = decode(jc, data, offset, length, options);
266 Log.w(TAG, "decode fail with a given bitmap, try decode to a new bitmap");
269 return decode(jc, data, offset, length, options);
284 Bitmap bitmap = DecodeUtils.decode(jc, fileDescriptor, options);
293 Log.w(TAG, "decode fai
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DQueryParameterUtils.java71 return Uri.decode(value);
/packages/apps/TV/src/com/android/tv/data/
H A DWatchedHistoryManager.java65 WatchedRecord record = decode(
119 decode(mSharedPreferences.getString(getSharedPreferencesKey(i),
127 WatchedRecord record = decode(mSharedPreferences.getString(
262 return decode(mSharedPreferences.getString(getSharedPreferencesKey(index), null));
309 WatchedRecord decode(String encodedString) { method in class:WatchedHistoryManager
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content.cpp72 ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo);
128 return ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo);
181 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo);
340 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo);
438 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo);
H A Dprobability_entry.h116 static ProbabilityEntry decode(const uint64_t encodedEntry, const bool hasHistoricalInfo) { function in class:latinime::ProbabilityEntry
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
H A DClassScanner.java56 loadClassFromDirectory(new File(URLDecoder.decode(url.getPath(), "UTF-8")),
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DJarUtils.java48 return new JarFile(URLDecoder.decode(jarPath, "UTF-8"));
/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java454 propId = Integer.decode(property);
455 zoneId = Integer.decode(zone);
476 propId = Integer.decode(property);
477 eventValue = Integer.decode(value);
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DAbstractAvatarDrawable.java199 decode();
203 private void decode() { method in class:AbstractAvatarDrawable
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dencodingstest.cpp266 static unsigned inline decode(unsigned* state, unsigned* codep, unsigned byte) { function
281 // decode(&state, &codepoint, *s++);
301 if (!decode(&state, &decodedCodepoint, (unsigned char)*s)) {
358 if (!decode(&state, &decodedCodepoint, (unsigned char)*s))
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DLaunchConversationActivity.java114 return URLDecoder.decode(p.substring(5), "UTF-8");
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBuglePrefsImpl.java77 return byteValue == null ? null : Base64.decode(byteValue, Base64.DEFAULT);
/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DWatchedHistoryManagerTest.java128 WatchedRecord sameRecord = mWatchedHistoryManager.decode(
/packages/services/Car/TrustAgent/src/com/android/car/trust/
H A DPhoneUnlockController.java108 byte[] token = Base64.decode(prefs.getString(mEscrowTokenKey, null), Base64.DEFAULT);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DAnalyticsTests.java225 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
280 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
340 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
358 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeUtility.java65 public static String decode(String s) { method in class:MimeUtility
73 return decode(unfold(s));
175 * but if other code assumes that behavior, fix the code. TODO: Need to decode %-escaped strings,
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeUtility.java68 public static String decode(String s) { method in class:MimeUtility
76 return decode(unfold(s));
185 * TODO: Need to decode %-escaped strings, as in: filename="ab%22d".
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DMimeUtilityTest.java68 /** strings that use supplemental characters and really stress encode/decode */
130 * Test that decode/unfold is efficient when it can be
134 String result2 = MimeUtility.decode(SHORT_PLAIN);
145 * Test that decode is working for simple strings
148 String result1 = MimeUtility.decode(SHORT_UNICODE_ENCODED);
152 // TODO: tests for decode(String s)
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropView.java274 private int decode(int movingEdges, float rotation) { method in class:CropView
374 mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation));
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageCrop.java216 private int decode(int movingEdges, float rotation) { method in class:ImageCrop
321 decode(mCropObj.getSelectState(), mGeometry.rotation.value()));

Completed in 922 milliseconds

123