/cts/tests/tests/os/src/android/os/cts/ |
D | SystemClockTest.java | 28 long end = SystemClock.currentThreadTimeMillis(); in testCurrentThreadTimeMillis() local 29 assertFalse(end - 100 >= start); in testCurrentThreadTimeMillis() 37 long end = SystemClock.elapsedRealtime(); in testElapsedRealtime() local 38 assertTrue(end - 100 >= start); in testElapsedRealtime() 55 long end = SystemClock.currentThreadTimeMillis(); in testSleep() local 56 assertFalse(end - 100 >= start); in testSleep() 60 end = SystemClock.elapsedRealtime(); in testSleep() 61 assertTrue(end - 100 >= start); in testSleep() 65 end = SystemClock.uptimeMillis(); in testSleep() 66 assertTrue(end - 100 >= start); in testSleep() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 54 final int end = 100; in assertSingleTagOnWhileString() local 56 Object[] spans = spanned.getSpans(start, end, Object.class); in assertSingleTagOnWhileString() 73 final int end = 100; in assertBadHtml() local 76 Object[] spans = spanned.getSpans(start, end, Object.class); in assertBadHtml() 96 int end = s.length(); in testColor() local 97 colors = s.getSpans(start, end, type); in testColor() 102 end = s.length(); in testColor() 103 colors = s.getSpans(start, end, type); in testColor() 108 end = s.length(); in testColor() 109 colors = s.getSpans(start, end, type); in testColor() [all …]
|
D | SpannableStringBuilderSpanTest.java | 132 int end = spannable.getSpanEnd(span); in checkSpanPositions() local 140 start + "," + end + " | " + startStyle + " " + endStyle + in checkSpanPositions() 151 assertEquals(-1, end); in checkSpanPositions() 192 assertEquals(originalEnd, end); in checkSpanPositions() 200 assertEquals(replaceStart + replacementLength, end); in checkSpanPositions() 202 assertEquals(replaceStart, end); in checkSpanPositions() 209 assertEquals(replaceStart, end); in checkSpanPositions() 211 assertEquals(replaceStart + replacementLength, end); in checkSpanPositions() 220 assertEquals(originalEnd + delta, end); in checkSpanPositions() 224 if (start != originalStart || end != originalEnd) { in checkSpanPositions() [all …]
|
D | AlteredCharSequenceTest.java | 59 int end = 2; in testGetChars() local 64 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars() 67 for (int i = off; i < end - start + off; i++) { in testGetChars() 70 end = 0; in testGetChars() 74 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars() 75 for (int i = off; i < end - start + off; i++) { in testGetChars() 78 start = end + 1; in testGetChars() 80 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars() 152 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() argument 165 public CharSequence subSequence(int start, int end) { in subSequence() argument
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | EditTextTest.java | 126 int end = 2; in testSetSelectionStartstop() local 127 editText.setSelection(start, end); in testSetSelectionStartstop() 129 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 132 end = 0; in testSetSelectionStartstop() 133 editText.setSelection(start, end); in testSetSelectionStartstop() 135 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 138 end = 1; in testSetSelectionStartstop() 139 editText.setSelection(start, end); in testSetSelectionStartstop() 141 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 183 int end = 0; in testExtendSelection() local [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | TSuper.d | 24 .end method 30 .end method 36 .end method 39 .end method 45 .end method 51 .end method 57 .end method 65 .end method 70 .end method
|
D | T_invoke_super_range_24.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | TSuper.d | 24 .end method 30 .end method 36 .end method 39 .end method 45 .end method 51 .end method 57 .end method 65 .end method 70 .end method
|
D | T_invoke_super_24.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | WordIteratorTest.java | 29 private void checkIsWordWithSurrogate(int beginning, int end, int surrogateIndex) { in checkIsWordWithSurrogate() argument 30 for (int i = beginning; i <= end; i++) { in checkIsWordWithSurrogate() 33 assertEquals(end, wi.getEnd(i)); in checkIsWordWithSurrogate() 41 private void checkIsWord(int beginning, int end) { in checkIsWord() argument 42 checkIsWordWithSurrogate(beginning, end, -1); in checkIsWord() 45 private void checkIsNotWord(int beginning, int end) { in checkIsNotWord() argument 46 for (int i = beginning; i <= end; i++) { in checkIsNotWord()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
D | TSuper.d | 24 .end method 32 .end method 38 .end method 41 .end method 47 .end method 53 .end method 59 .end method 67 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | TSuper.d | 24 .end method 32 .end method 38 .end method 41 .end method 47 .end method 53 .end method 59 .end method 67 .end method
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSequential.cpp | 57 std::list<TaskGeneric*>::iterator end = getChildren().end(); in run() local 58 for (; i != end; i++) { in run() 95 it = std::find(mAsyncTasks.begin(), mAsyncTasks.end(), task); in queueAsyncTask() 96 if (it != mAsyncTasks.end()) { // already queued in queueAsyncTask() 106 std::list<TaskAsync*>::iterator end = mAsyncTasks.end(); in runAsyncTasksQueued() local 109 for (; i != end; i++) { in runAsyncTasksQueued()
|
D | TaskGeneric.cpp | 51 std::list<TaskGeneric*>::iterator end = mChildren.end(); in forEachChild() local 52 for (; i != end; i++) { in forEachChild() 128 if (it == mAllowedStringAttributes.end()) { in addStringAttribute() 138 if (it == mStringAttributes.end()) { in findStringAttribute()
|
D | TaskSave.cpp | 86 std::list<TaskCase::BufferPair>::iterator end = buffersp->end(); in handleFile() local 87 for (; it != end; it++) { in handleFile() 124 std::list<TaskCase::ValuePair>::iterator end = values->end(); in handleReport() local 126 for (; it != end; it++) { in handleReport()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/ |
D | T_rsub_int_1.d | 25 .end method 32 .end method 39 .end method 46 .end method 53 .end method 60 .end method 67 .end method
|
D | T_rsub_int_2.d | 25 .end method 32 .end method 39 .end method 46 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/d/ |
D | T_rsub_int_lit8_1.d | 25 .end method 32 .end method 39 .end method 46 .end method 53 .end method 60 .end method 67 .end method
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | FloatEvaluatorTest.java | 25 float end = 1.0f; in testEvaluate() local 28 float result = floatEvaluator.evaluate(fraction, start, end); in testEvaluate() 30 assertTrue(result <= (fraction*end)); in testEvaluate()
|
D | IntEvaluatorTest.java | 25 final int end = 100; in testEvaluate() local 31 result = intEvaluator.evaluate(fraction, start, end); in testEvaluate() 39 assertTrue(result <= (fraction*end)); in testEvaluate()
|
/cts/suite/cts/deviceTests/dram/jni/ |
D | MemoryNativeJni.cpp | 47 double end = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemcpy() local 50 return end - start; in Java_com_android_cts_dram_MemoryNative_runMemcpy() 67 double end = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemset() local 69 return end - start; in Java_com_android_cts_dram_MemoryNative_runMemset()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/ |
D | T_invoke_direct_26.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/ |
D | T_invoke_static_24.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/ |
D | T_invoke_static_range_24.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/ |
D | T_invoke_direct_range_26.d | 19 .end method 33 .end method 37 .end method 51 .end method 58 .end method
|