Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DHexDump.java124 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in toHexString() local
131 buf[bufIndex++] = digits[(b >>> 4) & 0x0F]; in toHexString()
132 buf[bufIndex++] = digits[b & 0x0F]; in toHexString()
187 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in appendByteAsHex() local
188 sb.append(digits[(b >> 4) & 0xf]); in appendByteAsHex()
189 sb.append(digits[b & 0xf]); in appendByteAsHex()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java87 public static byte[] hexToByteArray(String digits) { in hexToByteArray() argument
88 final int bytes = digits.length() / 2; in hexToByteArray()
89 if (2 * bytes != digits.length()) { in hexToByteArray()
94 for (int i = 0; i < digits.length(); i += 2) { in hexToByteArray()
95 result[i / 2] = (byte) Integer.parseInt(digits.substring(i, i + 2), 16); in hexToByteArray()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.h615 char digits[kFastToBufferSize]; member
621 : piece_data_(digits), in AlphaNum()
622 piece_size_(FastInt32ToBufferLeft(i32, digits) - &digits[0]) {} in AlphaNum()
624 : piece_data_(digits), in AlphaNum()
625 piece_size_(FastUInt32ToBufferLeft(u32, digits) - &digits[0]) {} in AlphaNum()
627 : piece_data_(digits), in AlphaNum()
628 piece_size_(FastInt64ToBufferLeft(i64, digits) - &digits[0]) {} in AlphaNum()
630 : piece_data_(digits), in AlphaNum()
631 piece_size_(FastUInt64ToBufferLeft(u64, digits) - &digits[0]) {} in AlphaNum()
634 : piece_data_(digits), piece_size_(strlen(FloatToBuffer(f, digits))) {} in AlphaNum()
[all …]
Dstrutil.cc969 int digits; in FastUInt32ToBufferLeft() local
978 digits = u / 100000000; // 100,000,000 in FastUInt32ToBufferLeft()
979 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft()
984 u -= digits * 100000000; // 100,000,000 in FastUInt32ToBufferLeft()
986 digits = u / 1000000; // 1,000,000 in FastUInt32ToBufferLeft()
987 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft()
992 u -= digits * 1000000; // 1,000,000 in FastUInt32ToBufferLeft()
994 digits = u / 10000; // 10,000 in FastUInt32ToBufferLeft()
995 ASCII_digits = two_ASCII_digits[digits]; in FastUInt32ToBufferLeft()
1000 u -= digits * 10000; // 10,000 in FastUInt32ToBufferLeft()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java212 private int adjstMinDigits (int digits) { in adjstMinDigits() argument
214 digits += 111; in adjstMinDigits()
215 digits = (digits % 10 == 0)?(digits - 10):digits; in adjstMinDigits()
216 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; in adjstMinDigits()
217 digits = ((digits / 100) % 10 == 0)?(digits - 1000):digits; in adjstMinDigits()
218 return digits; in adjstMinDigits()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java101 count = (byte) cdmaSmsMessage.address.digits.size(); in newCdmaSmsMessageFromRil()
105 data[index] = cdmaSmsMessage.address.digits.get(index); in newCdmaSmsMessageFromRil()
117 count = (byte) cdmaSmsMessage.subAddress.digits.size(); in newCdmaSmsMessageFromRil()
128 data[index] = cdmaSmsMessage.subAddress.digits.get(index); in newCdmaSmsMessageFromRil()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSmsAddress.java119 int digits = address.length(); in parseToDtmf() local
120 byte[] result = new byte[digits]; in parseToDtmf()
121 for (int i = 0; i < digits; i++) { in parseToDtmf()
DBearerData.java783 int digits = address.length(); in encodeDtmfSmsAddress() local
784 int dataBits = digits * 4; in encodeDtmfSmsAddress()
788 for (int i = 0; i < digits; i++) { in encodeDtmfSmsAddress()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java157 final String[] digits = DecimalFormatSymbols.getInstance(locale).getDigitStrings(); in addDigits() local
159 if (digits[i].length() > 1) { // multi-codeunit digits. Not supported. in addDigits()
162 collection.add(Character.valueOf(digits[i].charAt(0))); in addDigits()
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1442 public DigitsBuilder(String digits) { in DigitsBuilder() argument
1444 setDigits(digits); in DigitsBuilder()
1452 public DigitsBuilder setDigits(String digits) { in setDigits() argument
1453 return setStringArgument(TtsSpan.ARG_DIGITS, digits); in setDigits()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py259 sign, digits, exp = d.as_tuple()
264 for digit in digits:
/frameworks/opt/telephony/proto/src/
DcarrierId.proto59 // decimal format. Some digits can be replaced with "x" symbols matching any digit.
/frameworks/native/libs/math/include/math/
Dhalf.h184 static constexpr const int digits = 11;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java955 final int digits = (int) (((long) id.hashCode()) & Integer.MAX_VALUE) % ID_SUFFIX_MOD; in experimentIdFromIdentifier() local
956 return ID_PREFIX * ID_SUFFIX_MOD + digits; in experimentIdFromIdentifier()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java335 final String[] digits = DecimalFormatSymbols.getInstance(mLocale).getDigitStrings(); in updateHourFormat() local
338 maxCharLength = Math.max(maxCharLength, digits[i].length()); in updateHourFormat()
DTextView.java1035 CharSequence digits = null;
1087 digits = a.getText(attr);
1445 } else if (digits != null) {
1447 mEditor.mKeyListener = DigitsKeyListener.getInstance(digits.toString());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java2997 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
3003 msg.subAddress.digits.add(dis.readByte()); //subaddr_orig_bytes[i] in constructCdmaSendSmsRilRequest()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...