/cts/tests/tests/util/src/android/util/cts/ |
D | StringBuilderPrinterTest.java | 42 assertEquals(' ', str.charAt(5)); in testStringBuilderPrinter() 43 assertEquals('A', str.charAt(6)); in testStringBuilderPrinter() 44 assertEquals('n', str.charAt(7)); in testStringBuilderPrinter() 45 assertEquals('d', str.charAt(8)); in testStringBuilderPrinter() 46 assertEquals('r', str.charAt(9)); in testStringBuilderPrinter() 47 assertEquals('o', str.charAt(10)); in testStringBuilderPrinter() 48 assertEquals('i', str.charAt(11)); in testStringBuilderPrinter() 49 assertEquals('d', str.charAt(12)); in testStringBuilderPrinter()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SecurityPatchTest.java | 59 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(0))); in testSecurityPatchFormat() 60 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(1))); in testSecurityPatchFormat() 61 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(2))); in testSecurityPatchFormat() 62 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(3))); in testSecurityPatchFormat() 63 assertEquals(error, '-', buildSecurityPatch.charAt(4)); in testSecurityPatchFormat() 64 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(5))); in testSecurityPatchFormat() 65 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(6))); in testSecurityPatchFormat() 66 assertEquals(error, '-', buildSecurityPatch.charAt(7)); in testSecurityPatchFormat() 67 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(8))); in testSecurityPatchFormat() 68 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(9))); in testSecurityPatchFormat()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AlphabetIndexerTest.java | 60 assertEquals(ALPHABET.charAt(0), ((String[]) sections)[0].charAt(0)); in testAlphabetIndexer() 61 assertEquals(ALPHABET.charAt(1), ((String[]) sections)[1].charAt(0)); in testAlphabetIndexer() 62 assertEquals(ALPHABET.charAt(ALPHABET.length() - 2), in testAlphabetIndexer() 63 ((String[]) sections)[ALPHABET.length() - 2].charAt(0)); in testAlphabetIndexer() 64 assertEquals(ALPHABET.charAt(ALPHABET.length() - 1), in testAlphabetIndexer() 65 ((String[]) sections)[ALPHABET.length() - 1].charAt(0)); in testAlphabetIndexer()
|
D | MultiAutoCompleteTextViewTest.java | 226 while (i > 0 && (text.charAt(i - 1) == ' ' || text.charAt(i - 1) == ',')) { in findTokenStart() 230 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 234 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 246 if (text.charAt(i) == ',') { in findTokenEnd() 259 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 263 if (i > 0 && text.charAt(i - 1) == ',') { in terminateToken()
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | HexEncoding.java | 44 encoded.charAt(encodedCharOffset)); in decode() 49 ((getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)) << 4) in decode() 50 | getHexadecimalDigitValue(encoded.charAt(encodedCharOffset + 1))); in decode()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AlteredCharSequenceTest.java | 44 assertEquals('i', mAlteredCharSequence.charAt(0)); in testCharAt() 45 assertEquals('s', mAlteredCharSequence.charAt(1)); in testCharAt() 47 assertEquals('c', mAlteredCharSequence.charAt(2)); in testCharAt() 48 assertEquals('d', mAlteredCharSequence.charAt(3)); in testCharAt() 55 mAlteredCharSequence.charAt(-1); in testCharAtTooLow() 62 mAlteredCharSequence.charAt(mAlteredCharSequence.length() + 1); in testCharAtTooHigh() 175 public char charAt(int index) { in charAt() method in AlteredCharSequenceTest.MockSpanned
|
D | SpannedTest.java | 55 assertEquals('\uD83D', spanned.charAt(0)); in testCharAt() 56 assertEquals('\uDE00', spanned.charAt(1)); in testCharAt() 59 spanned.charAt(-1); in testCharAt() 65 spanned.charAt(spanned.length()); in testCharAt()
|
D | FontFileTestUtil.java | 115 otTag = (tag.charAt(0) << 24) | (tag.charAt(1) << 16) | (tag.charAt(2) << 8) in hasTable() 116 | tag.charAt(3); in hasTable()
|
D | PrecomputedTextTest.java | 249 assertEquals('H', s.charAt(0)); in testCharSequenceInteface() 250 assertEquals('e', s.charAt(1)); in testCharSequenceInteface() 251 assertEquals('l', s.charAt(2)); in testCharSequenceInteface() 252 assertEquals('l', s.charAt(3)); in testCharSequenceInteface() 253 assertEquals('o', s.charAt(4)); in testCharSequenceInteface() 254 assertEquals(',', s.charAt(5)); in testCharSequenceInteface() 259 assertEquals('H', s3.charAt(0)); in testCharSequenceInteface() 260 assertEquals('e', s3.charAt(1)); in testCharSequenceInteface() 261 assertEquals('l', s3.charAt(2)); in testCharSequenceInteface()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | HexEncoding.java | 71 result[resultOffset++] = (byte) getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)); in decode() 76 ((getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)) << 4) in decode() 77 | getHexadecimalDigitValue(encoded.charAt(encodedCharOffset + 1))); in decode()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 56 final Character c = formatString.charAt(i); in formatString() 65 builder.append(U1F427.charAt(0)); // High surrogate in formatString() 68 builder.append(U1F427.charAt(1)); // Low surrogate in formatString()
|
/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/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | IccUtils.java | 59 ret[i / 2] = (byte) ((hexCharToInt(s.charAt(i)) << 4) | hexCharToInt(s.charAt(i + 1))); in hexStringToBytes()
|
/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/telecom/src/android/telecom/cts/ |
D | InCallServiceFlagChecker.java | 105 while (i < n && s.charAt(i) != SPACE_CHAR) { in extractFlagsValue() 106 sb.append(s.charAt(i)); in extractFlagsValue()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | RawResourceTest.java | 67 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 69 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | MetaKeyKeyListenerTest.java | 62 assertEquals('0', content.charAt(0)); in testPressKey() 68 assertEquals('2', content.charAt(1)); in testPressKey() 74 assertEquals('3', content.charAt(3)); in testPressKey() 88 assertEquals(str.charAt(0), content.charAt(0)); in testReleaseKey() 94 assertEquals(str.charAt(1), content.charAt(1)); in testReleaseKey() 100 assertEquals(str.charAt(3), content.charAt(3)); in testReleaseKey() 456 public char charAt(int index) { in charAt() method in MetaKeyKeyListenerTest.MockSpannable
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0600/ |
D | PocActivity.java | 57 while ((Character.isWhitespace(seq.charAt(start))) && start < end) { in onCreate() 60 while ((Character.isWhitespace(seq.charAt(end))) && end > start) { in onCreate()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 168 if (value.charAt(0) == '\'' && value.charAt(len - 1) == '\'') { in loadFieldInfo() 554 if (str.charAt(start) == '"') { in unescapeFieldStringValue() 558 if (str.charAt(end - 1) == '"') { in unescapeFieldStringValue() 579 final char c = str.charAt(i); in unescapeFieldStringValue()
|
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/ |
D | MethodSignature.java | 121 return Character.isUpperCase(methodName.charAt(3)); in isGetterInternal() 124 return Character.isUpperCase(methodName.charAt(2)); in isGetterInternal()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | ClassUtils.java | 76 if (name.charAt(i) == TYPE_ARRAY) { in getCanonicalName() 84 final char firstChar = name.charAt(arrDimension); in getCanonicalName()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 52 if (nextLine == null && currentLine.charAt(currentLine.length() - 1) == '}') { in open()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | ProcessStatsDumpsysTest.java | 198 char s = tag.charAt(0); in checkTag() 204 char m = tag.charAt(1); in checkTag() 210 char p = tag.charAt(2); in checkTag()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiClass.java | 279 && type.charAt(0) >= 'A' in isGenericType() 280 && type.charAt(0) <= 'Z'; in isGenericType()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/ |
D | PassthroughTestHelper.java | 112 if (length > 0 && result.charAt(length - 1) == '\r') { in readAsciiLine()
|