Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/util/
DHexEncoding.java43 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encodeToString() local
45 buf[0] = digits[(b >> 4) & 0xf]; in encodeToString()
46 buf[1] = digits[b & 0xf]; in encodeToString()
75 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encode() local
80 result[resultIndex] = (digits[(b >> 4) & 0x0f]); in encode()
81 result[resultIndex + 1] = (digits[b & 0x0f]); in encode()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java85 public static byte[] hexToByteArray(String digits) { in hexToByteArray() argument
86 final int bytes = digits.length() / 2; in hexToByteArray()
87 if (2 * bytes != digits.length()) { in hexToByteArray()
92 for (int i = 0; i < digits.length(); i += 2) { in hexToByteArray()
93 result[i / 2] = (byte) Integer.parseInt(digits.substring(i, i + 2), 16); in hexToByteArray()
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java202 private int adjstMinDigits (int digits) { in adjstMinDigits() argument
204 digits += 111; in adjstMinDigits()
205 digits = (digits % 10 == 0)?(digits - 10):digits; in adjstMinDigits()
206 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; in adjstMinDigits()
207 digits = ((digits / 100) % 10 == 0)?(digits - 1000):digits; in adjstMinDigits()
208 return digits; in adjstMinDigits()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java72 count = (byte) cdmaSmsMessage.address.digits.size(); in newCdmaSmsMessageFromRil()
76 data[index] = cdmaSmsMessage.address.digits.get(index); in newCdmaSmsMessageFromRil()
88 count = (byte) cdmaSmsMessage.subAddress.digits.size(); in newCdmaSmsMessageFromRil()
99 data[index] = cdmaSmsMessage.subAddress.digits.get(index); in newCdmaSmsMessageFromRil()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddress.java124 int digits = address.length(); in parseToDtmf() local
125 byte[] result = new byte[digits]; in parseToDtmf()
126 for (int i = 0; i < digits; i++) { in parseToDtmf()
DBearerData.java849 int digits = address.length(); in encodeDtmfSmsAddress() local
850 int dataBits = digits * 4; in encodeDtmfSmsAddress()
854 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/ml/nn/common/
DQuantUtils.h62 return integer_input ? __builtin_clz(integer_input) : std::numeric_limits<T>::digits; in CountLeadingZeros()
65 return std::numeric_limits<T>::digits; in CountLeadingZeros()
68 const T one_in_leading_positive = static_cast<T>(1) << (std::numeric_limits<T>::digits - 1); in CountLeadingZeros()
/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.java1086 final int digits = (int) (((long) id.hashCode()) & Integer.MAX_VALUE) % ID_SUFFIX_MOD; in experimentIdFromIdentifier() local
1087 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.java1060 CharSequence digits = null;
1112 digits = a.getText(attr);
1471 } else if (digits != null) {
1473 mEditor.mKeyListener = DigitsKeyListener.getInstance(digits.toString());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3489 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
3495 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/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt482 field public static final int digits = 16843110; // 0x1010166
30761 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
30816 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";
/frameworks/base/api/
Dcurrent.txt526 field public static final int digits = 16843110; // 0x1010166
50626 field public static final String ARG_DIGITS = "android.arg.digits";
50681 field public static final String TYPE_DIGITS = "android.type.digits";
/frameworks/base/config/
Dboot-image-profile.txt36770 HSPLjava/util/UUID;->digits(JI)Ljava/lang/String;