Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 2070) sorted by relevance

12345678910>>...83

/cts/tests/tests/os/src/android/os/cts/
DSystemClockTest.java28 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/animation/src/android/animation/cts/
DEvaluatorTest.java50 float end = 1.0f; in testFloatEvaluator() local
54 float result = floatEvaluator.evaluate(0, start, end); in testFloatEvaluator()
57 result = floatEvaluator.evaluate(fraction, start, end); in testFloatEvaluator()
60 result = floatEvaluator.evaluate(1, start, end); in testFloatEvaluator()
61 assertEquals(end, result, EPSILON); in testFloatEvaluator()
76 float[] end = {.8f, 1.0f}; in floatArrayEvaluatorTestImpl() local
79 float[] result = evaluator.evaluate(0, start, end); in floatArrayEvaluatorTestImpl()
83 result = evaluator.evaluate(fraction, start, end); in floatArrayEvaluatorTestImpl()
87 result = evaluator.evaluate(1, start, end); in floatArrayEvaluatorTestImpl()
88 assertEquals(end[0], result[0], EPSILON); in floatArrayEvaluatorTestImpl()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java151 int end = spannable.getSpanEnd(span); in verifySpanPositions() local
159 start + "," + end + " | " + startStyle + " " + endStyle + in verifySpanPositions()
170 assertEquals(-1, end); in verifySpanPositions()
211 assertEquals(originalEnd, end); in verifySpanPositions()
219 assertEquals(replaceStart + replacementLength, end); in verifySpanPositions()
221 assertEquals(replaceStart, end); in verifySpanPositions()
228 assertEquals(replaceStart, end); in verifySpanPositions()
230 assertEquals(replaceStart + replacementLength, end); in verifySpanPositions()
239 assertEquals(originalEnd + delta, end); in verifySpanPositions()
243 if (start != originalStart || end != originalEnd) { in verifySpanPositions()
[all …]
DAlteredCharSequenceTest.java69 int end = 2; in testGetChars() local
74 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
77 for (int i = off; i < end - start + off; i++) { in testGetChars()
80 end = 0; in testGetChars()
84 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
85 for (int i = off; i < end - start + off; i++) { in testGetChars()
88 start = end + 1; in testGetChars()
90 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
167 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() argument
183 public CharSequence subSequence(int start, int end) { in subSequence() argument
DHtmlTest.java69 final int end = 100; in verifySingleTagOnWhileString() local
71 Object[] spans = spanned.getSpans(start, end, Object.class); in verifySingleTagOnWhileString()
89 final int end = 100; in verifyBadHtml() local
92 Object[] spans = spanned.getSpans(start, end, Object.class); in verifyBadHtml()
296 int end = s.length(); in testBlockquote() local
297 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote()
302 end = 7; in testBlockquote()
303 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote()
328 int end = s.length() - start; in testMarkup() local
329 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_range/d/
DTSuper.smali27 .end method
35 .end method
43 .end method
57 .end method
63 .end method
71 .end method
79 .end method
82 .end method
90 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DTSuper.smali27 .end method
35 .end method
43 .end method
57 .end method
63 .end method
71 .end method
79 .end method
82 .end method
90 .end method
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java103 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/
DTaskSequential.cpp57 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()
DTaskGeneric.cpp51 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()
DTaskSave.cpp87 std::list<TaskCase::BufferPair>::iterator end = buffersp->end(); in handleFile() local
88 for (; it != end; it++) { in handleFile()
125 std::list<TaskCase::ValuePair>::iterator end = values->end(); in handleReport() local
127 for (; it != end; it++) { in handleReport()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DTSuper.smali27 .end method
35 .end method
43 .end method
57 .end method
65 .end method
73 .end method
76 .end method
84 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DTSuper.smali27 .end method
35 .end method
43 .end method
57 .end method
65 .end method
73 .end method
76 .end method
84 .end method
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java147 int end = 2; in testSetSelectionStartEnd() local
148 mEditText1.setSelection(start, end); in testSetSelectionStartEnd()
150 assertEquals(end, mEditText1.getSelectionEnd()); in testSetSelectionStartEnd()
153 end = 0; in testSetSelectionStartEnd()
154 mEditText1.setSelection(start, end); in testSetSelectionStartEnd()
156 assertEquals(end, mEditText1.getSelectionEnd()); in testSetSelectionStartEnd()
159 end = 1; in testSetSelectionStartEnd()
160 mEditText1.setSelection(start, end); in testSetSelectionStartEnd()
162 assertEquals(end, mEditText1.getSelectionEnd()); in testSetSelectionStartEnd()
204 int end = 0; in testExtendSelection() local
[all …]
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DRegexUtils.java73 String substring = input.substring(matcher.start(), matcher.end()); in assertFind()
74 String context = getInputContext(input, matcher.start(), matcher.end(), in assertFind()
92 private static String getInputContext(String input, int start, int end, int before, int after) { in getInputContext() argument
94 end = Math.min(input.length(), end + after); in getInputContext()
95 return input.substring(start, end); in getInputContext()
127 public CharSequence subSequence(int start, int end) { in subSequence() argument
128 return new TimeoutCharSequence(chars.subSequence(start, end), in subSequence()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/
DT_rsub_int_1.smali25 .end method
32 .end method
39 .end method
46 .end method
53 .end method
60 .end method
67 .end method
DT_rsub_int_2.smali25 .end method
32 .end method
39 .end method
46 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/d/
DT_rsub_int_lit8_1.smali25 .end method
32 .end method
39 .end method
46 .end method
53 .end method
60 .end method
67 .end method
DT_rsub_int_lit8_2.smali25 .end method
32 .end method
39 .end method
46 .end method
/cts/hostsidetests/gputools/layers/jni/
DglesLayer.cpp53 if (funcMap.find("glCompileShader") == funcMap.end()) in glesLayer_glCompileShaderA()
66 if (funcMap.find("glCompileShader") == funcMap.end()) in glesLayer_glCompileShaderB()
79 if (funcMap.find("glDrawArraysInstanced") == funcMap.end()) in glesLayer_glDrawArraysInstanced()
92 if (funcMap.find("glBindBuffer") == funcMap.end()) in glesLayer_glBindBuffer()
105 if (funcMap.find("glGetString") == funcMap.end()) in glesLayer_glGetString()
118 if (funcMap.find("eglGetDisplay") == funcMap.end()) in glesLayer_eglGetDisplay()
132 if (funcMap.find("eglInitialize") == funcMap.end()) in glesLayer_eglInitialize()
148 if (funcMap.find("eglChooseConfig") == funcMap.end()) in glesLayer_eglChooseConfig()
164 if (funcMap.find("eglSwapBuffersWithDamageKHR") == funcMap.end()) in glesLayer_eglSwapBuffersWithDamageKHR()
180 if (funcMap.find("eglGetProcAddress") == funcMap.end()) in glesLayer_eglGetProcAddress()
/cts/tests/fragment/src/android/fragment/cts/
DPostponedTransitionTest.java800 private void assertForwardTransition(TransitionFragment start, TransitionFragment end) in assertForwardTransition() argument
803 end.waitForTransition(); in assertForwardTransition()
805 assertEquals(1, end.enterTransition.targets.size()); in assertForwardTransition()
808 assertEquals(0, end.reenterTransition.targets.size()); in assertForwardTransition()
811 assertEquals(0, end.returnTransition.targets.size()); in assertForwardTransition()
814 assertEquals(0, end.exitTransition.targets.size()); in assertForwardTransition()
817 assertEquals(2, end.sharedElementEnter.targets.size()); in assertForwardTransition()
820 assertEquals(0, end.sharedElementReturn.targets.size()); in assertForwardTransition()
822 final View blue = end.getView().findViewById(R.id.blueSquare); in assertForwardTransition()
823 assertTrue(end.sharedElementEnter.targets.contains(blue)); in assertForwardTransition()
[all …]
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp36 uintptr_t end; in isAddressExecutable() local
38 int scan = sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %9s ", &start, &end, permissions); in isAddressExecutable()
39 if ((scan == 3) && (start <= address) && (address < end)) { in isAddressExecutable()
/cts/suite/audio_quality/lib/src/
DReport.cpp91 std::list<StringPair>::const_iterator end, bool passed) in writeResult() argument
94 for (it = begin; it != end; it++) { in writeResult()
118 writeResult(mFailedCases.begin(), mFailedCases.end(), false); in writeReport()
119 writeResult(mPassedCases.begin(), mPassedCases.end(), true); in writeReport()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java87 final int end = result.lastIndexOf("]"); in run() local
90 if (start != -1 && end != -1 && start < end) { in run()
91 sessionId = Integer.parseInt(result.substring(start + 1, end)); in run()
/cts/tests/tests/sax/src/android/sax/cts/
DElementTest.java76 public void end(String body) { in testParse()
89 public void end() { in testParse()
102 public void end() { in testParse()
111 public void end(String body) { in testParse()

12345678910>>...83