/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 38 float end = 1.0f; in testFloatEvaluator() local 42 float result = floatEvaluator.evaluate(0, start, end); in testFloatEvaluator() 45 result = floatEvaluator.evaluate(fraction, start, end); in testFloatEvaluator() 48 result = floatEvaluator.evaluate(1, start, end); in testFloatEvaluator() 49 assertEquals(end, result, .001f); in testFloatEvaluator() 54 float[] end = {.8f, 1.0f}; in testFloatArrayEvaluator() local 58 float[] result = evaluator.evaluate(0, start, end); in testFloatArrayEvaluator() 62 result = evaluator.evaluate(fraction, start, end); in testFloatArrayEvaluator() 66 result = evaluator.evaluate(1, start, end); in testFloatArrayEvaluator() 67 assertEquals(end[0], result[0], .001f); in testFloatArrayEvaluator() [all …]
|
/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 | SpannableStringBuilderSpanTest.java | 137 int end = spannable.getSpanEnd(span); in checkSpanPositions() local 145 start + "," + end + " | " + startStyle + " " + endStyle + in checkSpanPositions() 156 assertEquals(-1, end); in checkSpanPositions() 197 assertEquals(originalEnd, end); in checkSpanPositions() 205 assertEquals(replaceStart + replacementLength, end); in checkSpanPositions() 207 assertEquals(replaceStart, end); in checkSpanPositions() 214 assertEquals(replaceStart, end); in checkSpanPositions() 216 assertEquals(replaceStart + replacementLength, end); in checkSpanPositions() 225 assertEquals(originalEnd + delta, end); in checkSpanPositions() 229 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
|
D | HtmlTest.java | 62 final int end = 100; in assertSingleTagOnWhileString() local 64 Object[] spans = spanned.getSpans(start, end, Object.class); in assertSingleTagOnWhileString() 81 final int end = 100; in assertBadHtml() local 84 Object[] spans = spanned.getSpans(start, end, Object.class); in assertBadHtml() 264 int end = s.length(); in testBlockquote() local 265 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote() 270 end = 7; in testBlockquote() 271 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote() 294 int end = s.length() - start; in testMarkup() local 295 s.setSpan(new StyleSpan(Typeface.BOLD), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() [all …]
|
/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/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/tests/tests/widget/src/android/widget/cts/ |
D | EditTextTest.java | 127 int end = 2; in testSetSelectionStartstop() local 128 editText.setSelection(start, end); in testSetSelectionStartstop() 130 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 133 end = 0; in testSetSelectionStartstop() 134 editText.setSelection(start, end); in testSetSelectionStartstop() 136 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 139 end = 1; in testSetSelectionStartstop() 140 editText.setSelection(start, end); in testSetSelectionStartstop() 142 assertEquals(end, editText.getSelectionEnd()); in testSetSelectionStartstop() 184 int end = 0; in testExtendSelection() local [all …]
|
/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/tests/sample/src/android/sample/cts/ |
D | SampleDeviceReportLogTest.java | 103 int end; in countHelper() local 106 end = COUNT_END; in countHelper() 107 for (int i = start; i <= end;) { in countHelper() 112 end = COUNT_START; in countHelper() 113 for (int i = start; i >= end;) { in countHelper() 121 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper() 122 reportLog.setSummary(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
|
/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
|
/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/dram/jni/ |
D | MemoryNativeJni.cpp | 47 double end = currentTimeMillis(); in Java_android_dram_cts_MemoryNative_runMemcpy() local 50 return end - start; in Java_android_dram_cts_MemoryNative_runMemcpy() 67 double end = currentTimeMillis(); in Java_android_dram_cts_MemoryNative_runMemset() local 69 return end - start; in Java_android_dram_cts_MemoryNative_runMemset()
|
/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_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
|
/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_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_interface/d/ |
D | T_invoke_interface_24.d | 21 .end method 29 .end method 37 .end method 51 .end method 57 .end method
|