Searched refs:digit (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 271 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet() 272 + Character.digit(s.charAt(2*i + 7), 16)); in addrToInet() 273 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet() 274 + Character.digit(s.charAt(2*i + 5), 16)); in addrToInet() 275 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet() 276 + Character.digit(s.charAt(2*i + 3), 16)); in addrToInet() 277 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet() 278 + Character.digit(s.charAt(2*i + 1), 16)); in addrToInet()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceUtils.java | 65 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in hexStringToBytes() 66 + Character.digit(s.charAt(i+1), 16)); in hexStringToBytes()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | HkdfTest.java | 61 int hi = Character.digit(hex.charAt(2 * i), 16); in hexDecode() 62 int lo = Character.digit(hex.charAt(2 * i + 1), 16); in hexDecode()
|
/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/src/android/media/cts/ |
D | MediaCodecClearKeyPlayer.java | 138 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in hexStringToByteArray() 139 + Character.digit(s.charAt(i + 1), 16)); in hexStringToByteArray()
|
D | MediaPlayerDrmTestBase.java | 937 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) + in hexStringToByteArray() 938 Character.digit(s.charAt(i + 1), 16)); in hexStringToByteArray()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtilsTest.java | 638 int val1 = Character.digit(c1, 16); in parseBlob() 639 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/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 1125 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); in assertImeiCheckDigit() 1149 int digit = Character.digit(deviceId.charAt(i), 10); in getLuhnCheckDigit() local 1151 sum += digit; in getLuhnCheckDigit() 1153 sum += DOUBLE_DIGIT_SUM[digit]; in getLuhnCheckDigit()
|