Home
last modified time | relevance | path

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

/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.java123 int digits = address.length(); in parseToDtmf() local
124 byte[] result = new byte[digits]; in parseToDtmf()
125 for (int i = 0; i < digits; i++) { in parseToDtmf()
DBearerData.java867 int digits = address.length(); in encodeDtmfSmsAddress() local
868 int dataBits = digits * 4; in encodeDtmfSmsAddress()
872 for (int i = 0; i < digits; i++) { in encodeDtmfSmsAddress()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java155 final String[] digits = DecimalFormatSymbols.getInstance(locale).getDigitStrings(); in addDigits() local
157 if (digits[i].length() > 1) { // multi-codeunit digits. Not supported. in addDigits()
160 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/native/libs/math/include/math/
Dhalf.h184 static constexpr const int digits = 11;
/frameworks/opt/telephony/proto/src/
DcarrierId.proto59 // decimal format. Some digits can be replaced with "x" symbols matching any digit.
/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.java1040 CharSequence digits = null;
1092 digits = a.getText(attr);
1450 } else if (digits != null) {
1452 mEditor.mKeyListener = DigitsKeyListener.getInstance(digits.toString());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3490 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
3496 msg.subAddress.digits.add(dis.readByte()); //subaddr_orig_bytes[i] in constructCdmaSendSmsRilRequest()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt26908 Landroid/icu/math/MathContext;->digits:I
28168 Landroid/icu/text/DecimalFormatSymbols$CacheData;->digits:[Ljava/lang/String;
28195 Landroid/icu/text/DecimalFormatSymbols;->digits:[C
28522 Landroid/icu/text/DigitList_Android;->digits:[B
90137 Lcom/android/internal/R$attr;->digits:I
103900 Ljava/lang/Integer;->digits:[C
104895 Ljava/math/BigInteger;->digits:[I
110987 Ljava/util/Scanner;->digits:Ljava/lang/String;
111871 Ljava/util/UUID;->digits(JI)Ljava/lang/String;
/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/non-updatable-api/
Dcurrent.txt515 field public static final int digits = 16843110; // 0x1010166
48381 field public static final String ARG_DIGITS = "android.arg.digits";
48436 field public static final String TYPE_DIGITS = "android.type.digits";
/frameworks/base/api/
Dcurrent.txt515 field public static final int digits = 16843110; // 0x1010166
48525 field public static final String ARG_DIGITS = "android.arg.digits";
48580 field public static final String TYPE_DIGITS = "android.type.digits";