Searched refs:digit (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 332 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/ |
D | HceUtils.java | 29 ((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/ |
D | SQLiteStatementTest.java | 316 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/ |
D | MediaCodecClearKeyPlayer.java | 137 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/ |
D | DatabaseUtilsTest.java | 767 int val1 = Character.digit(c1, 16); in parseBlob() 768 int val2 = Character.digit(c2, 16); in parseBlob()
|
/cts/hostsidetests/hdmicec/ |
D | cec_adapter.md | 174 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/ |
D | MediaPlayerDrmTestBase.java | 941 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/ |
D | TelephonyManagerTest.java | 1593 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()
|