/cts/tools/host/src/com/android/cts/ |
H A D | MultiplexingLogListener.java | 50 public void newData(byte[] data, int offset, int length) { argument 52 listener.newData(data, offset, length);
|
/cts/tests/jni/ |
H A D | android_net_cts_NetlinkSocket.cpp | 45 uint32_t length = (uint32_t)e->GetArrayLength(packet); local 47 struct iovec iov = {bytes, length};
|
/cts/tests/tests/database/src/android/database/cts/ |
H A D | CursorWindowTest.java | 85 int colsize = colNames.length; 532 assertEquals(DEFAULT_ARRAY_LENGTH, charArrayBuffer.data.length); 545 assertEquals(70, expectedString.length()); 546 assertEquals(expectedString.length(), charArrayBuffer.data.length); 660 private void fillCursorTestContents(CursorWindow cursorWindow, int length) { argument 664 for (int i = 0; i < length; i++) {
|
/cts/tests/tests/text/src/android/text/cts/ |
H A D | AlteredCharSequenceTest.java | 41 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 57 mAlteredCharSequence.charAt(mAlteredCharSequence.length() + 1); 76 mAlteredCharSequence = AlteredCharSequence.make(SOURCE_STR, sub, 0, sub.length); 103 method = "length", 112 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 113 assertEquals(source.length(), mAlteredCharSequence.length()); 127 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 133 mAlteredCharSequence = AlteredCharSequence.make(spanned, sub, 0, sub.length); 135 assertEquals(0, mAlteredCharSequence.length()); 196 public int length() { method in class:AlteredCharSequenceTest.MockSpanned [all...] |
H A D | TextUtilsTest.java | 174 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 176 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 181 Object spans[] = strResult.getSpans(0, strResult.length(), Object.class); 182 assertEquals(2, spans.length); 188 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); 189 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); 190 assertEquals(strResult.length() - 1, strResult.getSpanEnd(bgColorSpan)); 216 int midPos = source1.length() / 2; 222 source1.length() 954 public int length() { method in class:TextUtilsTest.MockGetChars 984 public int length() { method in class:TextUtilsTest.MockCharSequence [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
H A D | MetaKeyKeyListenerTest.java | 112 int len = str.length(); // for one line less than 100 121 len = str.length(); // for one line less than 100 130 len = str.length(); // for one line less than 100 165 text.setSpan(Selection.SELECTION_END, str.length(), str.length(), Spanned.SPAN_POINT_POINT); 173 text.setSpan(Selection.SELECTION_END, str.length(), str.length(), Spanned.SPAN_POINT_POINT); 181 text.setSpan(Selection.SELECTION_END, str.length(), str.length(), Spanned.SPAN_POINT_POINT); 338 text.setSpan(Selection.SELECTION_END, str.length(), st 494 public int length() { method in class:MetaKeyKeyListenerTest.MockSpannable [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
H A D | XmlEncodingTest.java | 72 private static final String STR_LENGTH_TAG = "length:"; 225 public void characters(char[] ch, int start, int length) throws SAXException { argument 228 mVec.add(STR_LENGTH_TAG + length); 246 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { argument 249 mVec.add(STR_LENGTH_TAG + length); 289 if (actual.length() != 0) {
|
H A D | XmlTest.java | 85 private static final String STR_LENGTH_TAG = "length:"; 144 public void characters(char[] ch, int start, int length) throws SAXException { argument 147 mVec.add(STR_LENGTH_TAG + length); 165 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { argument 168 mVec.add(STR_LENGTH_TAG + length); 216 for (int i = 0; i < sourceStr.length(); i++) { 487 if (actual.length() != 0) {
|
/cts/libs/json/src/com/android/json/stream/ |
H A D | JsonReader.java | 207 * and length in the buffer. 580 /* In lenient mode, a 0-length literal means 'null' */ 700 while ((total = in.read(buffer, limit, buffer.length - limit)) != -1) { 786 for (; pos + toFind.length() < limit || fillBuffer(toFind.length()); pos++) { 787 for (int c = 0; c < toFind.length(); c++) { 888 if (i < buffer.length) { 1036 private JsonToken decodeNumber(char[] chars, int offset, int length) { argument 1077 if (i == offset + length) {
|
/cts/tests/tests/jni/libjnitest/ |
H A D | android_jni_cts_InstanceNonce.c | 228 jsize length; local 236 length = (*env)->GetStringUTFLength(env, v6); 238 if (length != 3) { 240 "bad string length"); 253 length = (*env)->GetArrayLength(env, v9); 254 if (length != 2) { 256 "bad array length");
|
H A D | android_jni_cts_StaticNonce.c | 243 jsize length; local 251 length = (*env)->GetStringUTFLength(env, v6); 253 if (length != 3) { 255 "bad string length"); 268 length = (*env)->GetArrayLength(env, v9); 269 if (length != 2) { 271 "bad array length");
|
/cts/tools/signature-tools/lib/ |
H A D | antlr-2.7.7.jar | META-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement.java package antlr ... |
H A D | stringtemplate.jar | META-INF/ META-INF/MANIFEST.MF org/antlr/stringtemplate/AttributeRenderer.class AttributeRenderer.java package ... |