/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 | 57 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(0))); in testSecurityPatchFormat() 58 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(1))); in testSecurityPatchFormat() 59 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(2))); in testSecurityPatchFormat() 60 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(3))); in testSecurityPatchFormat() 61 assertEquals(error, '-', buildSecurityPatch.charAt(4)); in testSecurityPatchFormat() 62 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(5))); in testSecurityPatchFormat() 63 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(6))); in testSecurityPatchFormat() 64 assertEquals(error, '-', buildSecurityPatch.charAt(7)); in testSecurityPatchFormat() 65 assertTrue(error, Character.isDigit(buildSecurityPatch.charAt(8))); in testSecurityPatchFormat() 66 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 | 217 while (i > 0 && (text.charAt(i - 1) == ' ' || text.charAt(i - 1) == ',')) { in findTokenStart() 221 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 225 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 237 if (text.charAt(i) == ',') { in findTokenEnd() 250 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 254 if (i > 0 && text.charAt(i - 1) == ',') { in terminateToken()
|
/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 | PrecomputedTextTest.java | 200 assertEquals('H', s.charAt(0)); in testCharSequenceInteface() 201 assertEquals('e', s.charAt(1)); in testCharSequenceInteface() 202 assertEquals('l', s.charAt(2)); in testCharSequenceInteface() 203 assertEquals('l', s.charAt(3)); in testCharSequenceInteface() 204 assertEquals('o', s.charAt(4)); in testCharSequenceInteface() 205 assertEquals(',', s.charAt(5)); in testCharSequenceInteface() 210 assertEquals('H', s3.charAt(0)); in testCharSequenceInteface() 211 assertEquals('e', s3.charAt(1)); in testCharSequenceInteface() 212 assertEquals('l', s3.charAt(2)); in testCharSequenceInteface()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 50 final Character c = formatString.charAt(i); in formatString() 59 builder.append(U1F427.charAt(0)); // High surrogate in formatString() 62 builder.append(U1F427.charAt(1)); // Low surrogate in formatString()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 265 retval[i] = (byte) ((Character.digit(s.charAt(2*i + 6), 16) << 4) in addrToInet() 266 + Character.digit(s.charAt(2*i + 7), 16)); in addrToInet() 267 retval[i + 1] = (byte) ((Character.digit(s.charAt(2*i + 4), 16) << 4) in addrToInet() 268 + Character.digit(s.charAt(2*i + 5), 16)); in addrToInet() 269 retval[i + 2] = (byte) ((Character.digit(s.charAt(2*i + 2), 16) << 4) in addrToInet() 270 + Character.digit(s.charAt(2*i + 3), 16)); in addrToInet() 271 retval[i + 3] = (byte) ((Character.digit(s.charAt(2*i), 16) << 4) in addrToInet() 272 + 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/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | IccUtils.java | 64 ret[i/2] = (byte) ((hexCharToInt(s.charAt(i)) << 4) | hexCharToInt(s.charAt(i+1))); in hexStringToBytes()
|
/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()
|
/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 | 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/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/hostsidetests/securitybulletin/src/android/security/cts/ |
D | RegexUtils.java | 113 public char charAt(int index) { in charAt() method in RegexUtils.TimeoutCharSequence 118 return chars.charAt(index); in charAt()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 137 assertTrue(ssid.charAt(0) == '"'); in testWifiInfoProperties() 138 assertTrue(ssid.charAt(ssid.length() - 1) == '"'); in testWifiInfoProperties()
|
/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/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiClass.java | 245 type.charAt(0) >= 'A' && in isGenericType() 246 type.charAt(0) <= 'Z'; in isGenericType()
|
/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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 52 if (nextLine == null && currentLine.charAt(currentLine.length() - 1) == '}') { in open()
|
/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/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()
|