/cts/tests/tests/util/src/android/util/cts/ |
D | StringBuilderPrinterTest.java | 31 assertEquals(' ', str.charAt(5)); in testStringBuilderPrinter() 32 assertEquals('A', str.charAt(6)); in testStringBuilderPrinter() 33 assertEquals('n', str.charAt(7)); in testStringBuilderPrinter() 34 assertEquals('d', str.charAt(8)); in testStringBuilderPrinter() 35 assertEquals('r', str.charAt(9)); in testStringBuilderPrinter() 36 assertEquals('o', str.charAt(10)); in testStringBuilderPrinter() 37 assertEquals('i', str.charAt(11)); in testStringBuilderPrinter() 38 assertEquals('d', str.charAt(12)); in testStringBuilderPrinter()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SecurityPatchTest.java | 67 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(0))); in testSecurityPatchFormat() 68 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(1))); in testSecurityPatchFormat() 69 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(2))); in testSecurityPatchFormat() 70 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(3))); in testSecurityPatchFormat() 71 assertEquals(error, '-', buildSecurityPatch.charAt(4)); in testSecurityPatchFormat() 72 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(5))); in testSecurityPatchFormat() 73 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(6))); in testSecurityPatchFormat() 74 assertEquals(error, '-', buildSecurityPatch.charAt(7)); in testSecurityPatchFormat() 75 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(8))); in testSecurityPatchFormat() 76 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(9))); in testSecurityPatchFormat()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AlphabetIndexerTest.java | 50 assertEquals(ALPHABET.charAt(0), ((String[]) sections)[0].charAt(0)); in testAlphabetIndexer() 51 assertEquals(ALPHABET.charAt(1), ((String[]) sections)[1].charAt(0)); in testAlphabetIndexer() 52 assertEquals(ALPHABET.charAt(ALPHABET.length() - 2), in testAlphabetIndexer() 53 ((String[]) sections)[ALPHABET.length() - 2].charAt(0)); in testAlphabetIndexer() 54 assertEquals(ALPHABET.charAt(ALPHABET.length() - 1), in testAlphabetIndexer() 55 ((String[]) sections)[ALPHABET.length() - 1].charAt(0)); in testAlphabetIndexer()
|
D | MultiAutoCompleteTextViewTest.java | 205 while (i > 0 && (text.charAt(i - 1) == ' ' || text.charAt(i - 1) == ',')) { in findTokenStart() 209 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 213 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 225 if (text.charAt(i) == ',') { in findTokenEnd() 238 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 242 if (i > 0 && text.charAt(i - 1) == ',') { in terminateToken()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AlteredCharSequenceTest.java | 34 assertEquals('i', mAlteredCharSequence.charAt(0)); in testCharAt() 35 assertEquals('s', mAlteredCharSequence.charAt(1)); in testCharAt() 37 assertEquals('c', mAlteredCharSequence.charAt(2)); in testCharAt() 38 assertEquals('d', mAlteredCharSequence.charAt(3)); in testCharAt() 41 mAlteredCharSequence.charAt(-1); in testCharAt() 48 mAlteredCharSequence.charAt(mAlteredCharSequence.length() + 1); in testCharAt() 159 public char charAt(int index) { in charAt() method in AlteredCharSequenceTest.MockSpanned
|
D | SpannableStringBuilderTest.java | 456 assertEquals('h', builder.charAt(0)); in testCharAt() 457 assertEquals('e', builder.charAt(1)); in testCharAt() 459 builder.charAt(10); in testCharAt() 466 builder.charAt(-1); in testCharAt()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 49 final Character c = formatString.charAt(i); in formatString() 58 builder.append(U1F427.charAt(0)); // High surrogate in formatString() 61 builder.append(U1F427.charAt(1)); // Low surrogate in formatString()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ListeningPortsTest.java | 361 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet() 362 + Character.digit(s.charAt(2*i + 7), 16)); in addrToInet() 363 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet() 364 + Character.digit(s.charAt(2*i + 5), 16)); in addrToInet() 365 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet() 366 + Character.digit(s.charAt(2*i + 3), 16)); in addrToInet() 367 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet() 368 + Character.digit(s.charAt(2*i + 1), 16)); in addrToInet()
|
/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/libs/vogar-expect/src/vogar/util/ |
D | MarkResetConsole.java | 40 if (text.charAt(i) == '\n') { in print() 44 rowContent.append(text.charAt(i)); in print()
|
D | Strings.java | 119 result.append(String.format("U+%04X", (int) cs.charAt(i))); in escapeCodePoint()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | RawResourceTest.java | 51 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 53 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | MetaKeyKeyListenerTest.java | 45 assertEquals('0', content.charAt(0)); in testPressKey() 51 assertEquals('2', content.charAt(1)); in testPressKey() 57 assertEquals('3', content.charAt(3)); in testPressKey() 70 assertEquals(str.charAt(0), content.charAt(0)); in testReleaseKey() 76 assertEquals(str.charAt(1), content.charAt(1)); in testReleaseKey() 82 assertEquals(str.charAt(3), content.charAt(3)); in testReleaseKey() 397 public char charAt(int index) { in charAt() method in MetaKeyKeyListenerTest.MockSpannable
|
/cts/tools/dasm/src/dasm/ |
D | Scanner.java | 62 char charAt(int idx) { in charAt() method in Scanner.CharBuffer 292 if (str.charAt(0) == '$') { in next_token() 297 switch (s.charAt(0)) { in next_token() 468 if (charBuf.charAt(0) != '.') // directive? in readNumber()
|
D | Utils.java | 102 if (signature.charAt(i) == '/') { in getClassMethodSignatureFromString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceUtils.java | 62 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in hexStringToBytes() 63 + Character.digit(s.charAt(i+1), 16)); in hexStringToBytes()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 128 assertTrue(ssid.charAt(0) == '"'); in testWifiInfoProperties() 129 assertTrue(ssid.charAt(ssid.length() - 1) == '"'); in testWifiInfoProperties()
|
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/ |
D | TestScanner.java | 57 if (line.charAt(0) == ' ') { in getTestNames()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiClass.java | 226 type.charAt(0) >= 'A' && in isGenericType() 227 type.charAt(0) <= 'Z'; in isGenericType()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 53 if (nextLine == null && currentLine.charAt(currentLine.length() - 1) == '}') { in open()
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
D | ReportLogHostInfoStore.java | 53 if (nextLine == null && currentLine.charAt(currentLine.length() - 1) == '}') { in open()
|
/cts/tools/dex-tools/src/dex/reader/ |
D | TypeFormatter.java | 47 switch (typeName.charAt(0)) { in format()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteStatementTest.java | 314 char c1 = src.charAt(i*2); in parseBlob() 315 char c2 = src.charAt(i*2+1); in parseBlob()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 267 int actualCheckDigit = Character.digit(deviceId.charAt(14), 10); in assertImeiCheckDigit() 291 int digit = Character.digit(deviceId.charAt(i), 10); in getLuhnCheckDigit()
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 106 if ('-' == nm.charAt(0)) { in convertValueToInt() 111 if ('0' == nm.charAt(index)) { in convertValueToInt() 116 char c = nm.charAt(index + 1); in convertValueToInt() 126 else if ('#' == nm.charAt(index)) in convertValueToInt() 151 if ('0' == value.charAt(index)) { in parseUnsignedIntAttribute() 156 char c = value.charAt(index + 1); in parseUnsignedIntAttribute() 165 } else if ('#' == value.charAt(index)) { in parseUnsignedIntAttribute()
|