Home
last modified time | relevance | path

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

12

/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/util/
DHexEncoding.java47 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encodeToString() local
49 buf[0] = digits[(b >> 4) & 0xf]; in encodeToString()
50 buf[1] = digits[b & 0xf]; in encodeToString()
98 char[] digits = upperCase ? UPPER_CASE_DIGITS : LOWER_CASE_DIGITS; in encode() local
103 result[resultIndex] = (digits[(b >> 4) & 0x0f]); in encode()
104 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.java126 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in toHexString() local
133 buf[bufIndex++] = digits[(b >>> 4) & 0x0F]; in toHexString()
134 buf[bufIndex++] = digits[b & 0x0F]; in toHexString()
189 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in appendByteAsHex() local
190 sb.append(digits[(b >> 4) & 0xf]); in appendByteAsHex()
191 sb.append(digits[b & 0xf]); in appendByteAsHex()
/frameworks/native/include/ftl/details/
Dcast.h26 constexpr int max_exponent = std::is_floating_point_v<T> ? L::max_exponent : L::digits;
45 constexpr int kShift = Base::digits - Float::digits; in max()
/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.java868 int digits = address.length(); in encodeDtmfSmsAddress() local
869 int dataBits = digits * 4; in encodeDtmfSmsAddress()
873 for (int i = 0; i < digits; i++) { in encodeDtmfSmsAddress()
/frameworks/native/libs/ftl/
Dstring_test.cpp102 std::ostringstream digits; in operator ()() local
104 digits << (u & 1); in operator ()()
107 const auto str = digits.str(); in operator ()()
/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/opt/telephony/src/java/com/android/internal/telephony/d2d/
DDtmfTransport.java256 char[] digits = getMessageDigits(msg); in sendMessages() local
257 if (digits == null) continue; in sendMessages()
258 Log.i(this, "sendMessages: queueing message: %s", String.valueOf(digits)); in sendMessages()
260 mPendingMessages.offer(digits); in sendMessages()
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java412 private int decodeImsiDigits(int digits, int length) { in decodeImsiDigits() argument
415 digits += denominator; in decodeImsiDigits()
416 if ((digits / denominator) % 10 == 0) { in decodeImsiDigits()
417 digits = digits - (10 * denominator); in decodeImsiDigits()
421 return digits; in decodeImsiDigits()
/frameworks/native/include/ftl/
Dstring.h34 static constexpr std::size_t value = std::numeric_limits<std::make_unsigned_t<T>>::digits + 3;
Denum.h151 static constexpr E value{std::numeric_limits<U>::digits};
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py259 sign, digits, exp = d.as_tuple()
264 for digit in digits:
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/
Dintrinsics_float.h155 static constexpr int digits = std::numeric_limits<BaseType>::digits; variable
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinInputDisplay.kt370 fun setDigits(digits: List<Digit>) { in setDigits()
372 entries.addAll(digits.map { PinInputEntry(it, shapeAnimations) }) in setDigits()
/frameworks/native/libs/math/include/math/
Dhalf.h186 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/telephony/src/java/com/android/internal/telephony/
DRILUtils.java659 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in convertToHalCdmaSmsMessage()
665 msg.subAddress.digits.add(dis.readByte()); //subaddr_orig_bytes[i] in convertToHalCdmaSmsMessage()
704 byte[] digits = new byte[addrNbrOfDigits]; in convertToHalCdmaSmsMessageAidl()
706 digits[i] = dis.readByte(); // address_orig_bytes[i] in convertToHalCdmaSmsMessageAidl()
708 msg.address.digits = digits; in convertToHalCdmaSmsMessageAidl()
712 digits = new byte[subaddrNbrOfDigits]; in convertToHalCdmaSmsMessageAidl()
714 digits[i] = dis.readByte(); //subaddr_orig_bytes[i] in convertToHalCdmaSmsMessageAidl()
716 msg.subAddress.digits = digits; in convertToHalCdmaSmsMessageAidl()
767 count = (byte) cdmaSmsMessage.address.digits.size(); in convertHalCdmaSmsMessage()
771 data[index] = cdmaSmsMessage.address.digits.get(index); in convertHalCdmaSmsMessage()
[all …]
/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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java969 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
975 msg.subAddress.digits.add(dis.readByte()); //subaddr_orig_bytes[i] in constructCdmaSendSmsRilRequest()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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/core/api/
Dcurrent.txt714 field public static final int digits = 16843110; // 0x1010166
49060 field public static final String ARG_DIGITS = "android.arg.digits";
49115 field public static final String TYPE_DIGITS = "android.type.digits";
/frameworks/base/config/
Dboot-image-profile.txt28804 HSPLjava/util/UUID;->digits(JI)Ljava/lang/String;

12