Home
last modified time | relevance | path

Searched refs:converter (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java93 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local
94 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
95 return converter.getShort(); in byteArrayToShort()
99 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
100 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
101 return converter.getInt(offset); in byteArrayToInt()
134 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
135 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
136 converter.putInt(value); in intToByteArray()
137 return converter.array(); in intToByteArray()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java569 Converter<String> converter = (Converter<String>) converterFactory.createInstance(); in convertToPlainText() local
572 textPositions[i] = converter.getPlainTextLength(); in convertToPlainText()
573 converter.addNode(nodes.get(i), i, ends.get(i)); in convertToPlainText()
577 textPositions[numNodes] = converter.getPlainTextLength(); in convertToPlainText()
579 plainText = converter.getObject(); in convertToPlainText()
618 Converter<Spanned> converter = (Converter<Spanned>) converterFactory.createInstance(); in convertToSpan() local
621 converter.addNode(nodes.get(i), i, ends.get(i)); in convertToSpan()
624 constructedSpan = converter.getObject(); in convertToSpan()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java157 String attrName, Function<PersistableBundle, E> converter) { in getObjectAttrFromPersistableBundle() argument
159 return attrBundle == null ? null : converter.apply(attrBundle); in getObjectAttrFromPersistableBundle()
163 String attrName, Function<String, E> converter) { in getStringAttrFromPersistableBundle() argument
165 return str == null ? null : converter.apply(str); in getStringAttrFromPersistableBundle()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallScreeningServiceHelper.java88 String packageName, ParcelableCallUtils.Converter converter, in CallScreeningServiceHelper() argument
92 mParcelableCallUtilsConverter = converter; in CallScreeningServiceHelper()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1429 @NonNull String[] strings, Function<String, T> converter, T[] emptyArray) { in convertStrings() argument
1434 convertedValue = converter.apply(configString); in convertStrings()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...