Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java332 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet()
333 + Character.digit(s.charAt(2*i + 7), 16)); in addrToInet()
334 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet()
335 + Character.digit(s.charAt(2*i + 5), 16)); in addrToInet()
336 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet()
337 + Character.digit(s.charAt(2*i + 3), 16)); in addrToInet()
338 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet()
339 + Character.digit(s.charAt(2*i + 1), 16)); in addrToInet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java29 ((Character.digit(s.charAt(i), 16) << 4) in hexStringToBytes()
30 + Character.digit(s.charAt(i + 1), 16)); in hexStringToBytes()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java316 int val1 = Character.digit(c1, 16); in parseBlob()
317 int val2 = Character.digit(c2, 16); in parseBlob()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecClearKeyPlayer.java137 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in hexStringToByteArray()
138 + Character.digit(s.charAt(i + 1), 16)); in hexStringToByteArray()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java767 int val1 = Character.digit(c1, 16); in parseBlob()
768 int val2 = Character.digit(c2, 16); in parseBlob()
/cts/hostsidetests/hdmicec/
Dcec_adapter.md174 where all of the above parameters should be filled in with a single HEX digit
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java941 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) + in hexStringToByteArray()
942 Character.digit(s.charAt(i + 1), 16)); in hexStringToByteArray()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java1593 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); in assertImeiCheckDigit()
1617 int digit = Character.digit(deviceId.charAt(i), 10); in getLuhnCheckDigit() local
1619 sum += digit; in getLuhnCheckDigit()
1621 sum += DOUBLE_DIGIT_SUM[digit]; in getLuhnCheckDigit()