Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 91) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { in decode() method in DecodeUtils
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) { in decode() method in DecodeUtils
78 return decode(jc, bytes, 0, bytes.length, options); in decode()
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset, in decode() method in DecodeUtils
257 Bitmap bitmap = decode(jc, data, offset, length, options); in decodeUsingPool()
269 return decode(jc, data, offset, length, options); in decodeUsingPool()
284 Bitmap bitmap = DecodeUtils.decode(jc, fileDescriptor, options); in decodeUsingPool()
296 return decode(jc, fileDescriptor, options); in decodeUsingPool()
DUriSource.java50 String uri = URLDecoder.decode(segment[1], CHARSET_UTF_8); in createMediaObject()
51 String type = URLDecoder.decode(segment[2], CHARSET_UTF_8); in createMediaObject()
/packages/apps/TV/src/com/android/tv/data/
DWatchedHistoryManager.java80 decode(
148 decode(mSharedPreferences.getString(getSharedPreferencesKey(i), null)); in loadWatchedHistory()
156 decode(mSharedPreferences.getString(getSharedPreferencesKey(i), null)); in loadWatchedHistory()
237 return decode(mSharedPreferences.getString(getSharedPreferencesKey(index), null)); in getRecordFromSharedPreferences()
288 WatchedRecord decode(String encodedString) { in decode() method in WatchedHistoryManager
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
DUtility.java52 return decode(ASCII, b); in fromAscii()
65 private static String decode(Charset charset, byte[] b) { in decode() method in Utility
69 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b)); in decode()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DEMmcWearInformationProvider.java93 lifetimeA = Integer.decode(lifetimes[0]); in load()
94 lifetimeB = Integer.decode(lifetimes[1]); in load()
95 eol = Integer.decode("0x" + eolData); in load()
DUfsWearInformationProvider.java89 eol = Optional.of(Integer.decode(value)); in load()
92 lifetimeA = Optional.of(Integer.decode(value)); in load()
95 lifetimeB = Optional.of(Integer.decode(value)); in load()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java107 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)))); in query()
146 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in insert()
192 String number = Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in delete()
252 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in update()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java131 mRSACertOne = Base64.decode(SELF_SIGNED_RSA_CERT_1_B64, Base64.DEFAULT); in setUp()
132 mRSACertTwo = Base64.decode(SELF_SIGNED_RSA_CERT_2_B64, Base64.DEFAULT); in setUp()
133 mECCertOne = Base64.decode(SELF_SIGNED_EC_CERT_1_B64, Base64.DEFAULT); in setUp()
134 mECCertTwo = Base64.decode(SELF_SIGNED_EC_CERT_2_B64, Base64.DEFAULT); in setUp()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp72 ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo); in getWordAttributes()
128 return ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo); in getNgramProbabilityEntry()
181 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo); in exportAllNgramEntriesRelatedToWordInner()
340 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo); in updateAllProbabilityEntriesForGCInner()
438 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo); in getEntryInfo()
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DBerTlv.java70 public static BerTlv decode(byte[] data, int startIndex) throws ParserException { in decode() method in BerTlv
71 return BerTlv.decode(data, startIndex, true); in decode()
75 public static BerTlv decode(byte[] data, int startIndex, boolean containsAllData) in decode() method in BerTlv
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodingstest.cpp266 static unsigned inline decode(unsigned* state, unsigned* codep, unsigned byte) { in decode() function
301 if (!decode(&state, &decodedCodepoint, (unsigned char)*s)) { in TEST()
358 if (!decode(&state, &decodedCodepoint, (unsigned char)*s)) in TEST()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java600 int propId = Integer.decode(property); in injectVhalEvent()
601 int zoneId = Integer.decode(zone); in injectVhalEvent()
614 v.value.int32Values.add(Integer.decode(s)); in injectVhalEvent()
642 int propId = Integer.decode(property); in injectOnPropertySetError()
643 int zoneId = Integer.decode(zone); in injectOnPropertySetError()
644 int errorId = Integer.decode(errorCode); in injectOnPropertySetError()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dprobability_entry_test.cpp33 ProbabilityEntry::decode(encodedEntry, false /* hasHistoricalInfo */); in TEST()
50 ProbabilityEntry::decode(encodedEntry, true /* hasHistoricalInfo */); in TEST()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java182 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in CellBroadcastChannelRange()
183 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in CellBroadcastChannelRange()
186 mStartId = mEndId = Integer.decode(channelRange); in CellBroadcastChannelRange()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java258 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsVideo()
316 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsDumpToProto()
418 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
437 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java303 private static String decode(Charset charset, byte[] b) { in decode() method in Utility
307 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b)); in decode()
318 return decode(UTF_8, b); in fromUtf8()
328 return decode(ASCII, b); in fromAscii()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAbstractAvatarDrawable.java199 decode(); in setImage()
203 private void decode() { in decode() method in AbstractAvatarDrawable
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java112 int areaId = Integer.decode(mAreaId.getSelectedItem().toString()); in onCreateView()
140 int areaId = Integer.decode(mAreaId.getSelectedItem().toString()); in onCreateView()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java65 public static String decode(String s) { in decode() method in MimeUtility
73 return decode(unfold(s)); in unfoldAndDecode()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java68 public static String decode(String s) { in decode() method in MimeUtility
76 return decode(unfold(s)); in unfoldAndDecode()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java262 byte[] encryptedKey = Base64.decode(values[0], Base64.DEFAULT); in getEncryptionKey()
263 byte[] ivSpec = Base64.decode(values[1], Base64.DEFAULT); in getEncryptionKey()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java216 private int decode(int movingEdges, float rotation) { in decode() method in ImageCrop
321 decode(mCropObj.getSelectState(), mGeometry.rotation.value())); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java274 private int decode(int movingEdges, float rotation) { in decode() method in CropView
374 … mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation)); in onDraw()
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileInhibitManager.java143 public static BluetoothConnection decode(String flattenedParams) { in decode() method in BluetoothProfileInhibitManager.BluetoothConnection
248 BluetoothConnection params = BluetoothConnection.decode(paramsStr); in load()
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester.py411 content = file.content.decode('ascii', 'ignore')
417 lines = file.content.decode('ascii', 'ignore').split('\n')

1234