Home
last modified time | relevance | path

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

12345678910>>...91

/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/os/src/android/os/cts/
DSystemClockTest.java42 long end = SystemClock.currentThreadTimeMillis(); in testCurrentThreadTimeMillis() local
43 assertFalse(end - 100 >= start); in testCurrentThreadTimeMillis()
52 long end = SystemClock.elapsedRealtime(); in testElapsedRealtime() local
53 assertTrue(end - 100 >= start); in testElapsedRealtime()
73 long end = SystemClock.currentThreadTimeMillis(); in testSleep_currentThreadTimeMillis() local
74 assertFalse(end - 100 >= start); in testSleep_currentThreadTimeMillis()
81 long end = SystemClock.elapsedRealtime(); in testSleep_elapsedRealtime() local
82 assertTrue(end - 100 >= start); in testSleep_elapsedRealtime()
89 long end = SystemClock.uptimeMillis(); in testSleep_uptimeMillis() local
90 assertTrue(end - 100 >= start); in testSleep_uptimeMillis()
[all …]
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequirements.java.tmpl13 {{- end }}_
21 {{- end }}
22 {{- end -}}
35 {{- end }}
36 {{- end -}}
48 {{- end }}
49 {{- end -}}
63 {{- end }}
64 {{- end -}}
78 {{- end }}
[all …]
/cts/tests/tests/text/src/android/text/cts/
DPaintRunFlagTest.kt44 private fun assertSame_measureText_Result(text: String, start: Int, end: Int, paint: Paint) { in assertSame_measureText_Result()
51 val measureTextStringNoFlag = paint.measureText(text, start, end) in assertSame_measureText_Result()
52 val measureTextCharSequenceNoFlag = paint.measureText(SpannedString(text), start, end) in assertSame_measureText_Result()
53 val measureTextCharArrayNoFlag = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result()
58 val measureTextStringLeft = paint.measureText(text, start, end) in assertSame_measureText_Result()
59 val measureTextCharSequenceLeft = paint.measureText(SpannedString(text), start, end) in assertSame_measureText_Result()
60 val measureTextCharArrayLeft = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result()
65 val measureTextStringRight = paint.measureText(text, start, end) in assertSame_measureText_Result()
66 val measureTextCharSequenceRight = paint.measureText(SpannedString(text), start, end) in assertSame_measureText_Result()
67 val measureTextCharArrayRight = paint.measureText(charArray, start, end - start) in assertSame_measureText_Result()
[all …]
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
DTextRunAdvancesTest.java154 final int end = 2; in testGetRunCharacterAdvance_startOutOfBounds() local
158 paint.getRunCharacterAdvance(text, start, end, contextStart, contextEnd, true, in testGetRunCharacterAdvance_startOutOfBounds()
168 final int end = 4; in testGetRunCharacterAdvance_endOutOfBounds() local
172 paint.getRunCharacterAdvance(text, start, end, contextStart, contextEnd, true, in testGetRunCharacterAdvance_endOutOfBounds()
182 final int end = 2; in testGetRunCharacterAdvance_startLargerThanEnd() local
186 paint.getRunCharacterAdvance(text, start, end, contextStart, contextEnd, true, in testGetRunCharacterAdvance_startLargerThanEnd()
196 final int end = 3; in testGetRunCharacterAdvance_offsetOutOfBounds() local
200 paint.getRunCharacterAdvance(text, start, end, contextStart, contextEnd, true, in testGetRunCharacterAdvance_offsetOutOfBounds()
211 final int end = 4; in testGetRunCharacterAdvance_advancesNoEnoughSpace() local
215 paint.getRunCharacterAdvance(text, start, end, contextStart, contextEnd, true, in testGetRunCharacterAdvance_advancesNoEnoughSpace()
DHtmlTest.java73 final int end = 100; in verifySingleTagOnWhileString() local
75 Object[] spans = spanned.getSpans(start, end, Object.class); in verifySingleTagOnWhileString()
93 final int end = 100; in verifyBadHtml() local
96 Object[] spans = spanned.getSpans(start, end, Object.class); in verifyBadHtml()
354 int end = s.length(); in testBlockquote() local
355 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote()
360 end = 7; in testBlockquote()
361 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote()
386 int end = s.length() - start; in testMarkup() local
387 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/tests/security/src/android/security/cts/CVE_2021_0600/
DPocActivity.java55 int end = seq.length() - 1; in onCreate() local
57 while ((Character.isWhitespace(seq.charAt(start))) && start < end) { in onCreate()
60 while ((Character.isWhitespace(seq.charAt(end))) && end > start) { in onCreate()
61 --end; in onCreate()
65 assumeFalse(getString(R.string.cve_2021_0600_errorCreateCharSeq), start > end); in onCreate() local
69 seq.subSequence(start, end + 1)); in onCreate()
/cts/tests/media/jni/
DNativeMediaCommon.cpp172 auto end = fmtMsg.find(limiter); in deSerializeMediaFormat() local
174 for (; end != std::string::npos;) { in deSerializeMediaFormat()
176 keyStr = fmtMsg.substr(start, end - start); in deSerializeMediaFormat()
177 start = end + limiter.length(); in deSerializeMediaFormat()
178 end = fmtMsg.find(limiter, start); in deSerializeMediaFormat()
179 if (end == std::string::npos) { in deSerializeMediaFormat()
185 valueTypeStr = fmtMsg.substr(start, end - start); in deSerializeMediaFormat()
186 start = end + limiter.length(); in deSerializeMediaFormat()
187 end = fmtMsg.find(limiter, start); in deSerializeMediaFormat()
188 if (end == std::string::npos) { in deSerializeMediaFormat()
[all …]
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java107 int end; in countHelper() local
110 end = COUNT_END; in countHelper()
111 for (int i = start; i <= end;) { in countHelper()
116 end = COUNT_START; in countHelper()
117 for (int i = start; i >= end;) { in countHelper()
125 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
126 reportLog.setSummary(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
/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/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/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/tests/tests/graphics/src/android/graphics/cts/utils/
DLeakTest.java62 Debug.MemoryInfo start, Debug.MemoryInfo end) { in isMaybeLeaking() argument
63 Debug.getMemoryInfo(end); in isMaybeLeaking()
65 assertNotEquals(0, end.getTotalPss()); in isMaybeLeaking()
66 if (end.getTotalPss() - start.getTotalPss() > (byteLimit * .75)) { in isMaybeLeaking()
68 Debug.getMemoryInfo(end); in isMaybeLeaking()
69 return end.getTotalPss() - start.getTotalPss() > byteLimit; in isMaybeLeaking()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DInputConnectionSplitter.java108 public boolean setComposingRegion(int start, int end) { in setComposingRegion() argument
109 mForNotify.setComposingRegion(start, end); in setComposingRegion()
110 return super.setComposingRegion(start, end); in setComposingRegion()
114 public boolean setComposingRegion(int start, int end, TextAttribute textAttribute) { in setComposingRegion() argument
115 mForNotify.setComposingRegion(start, end, textAttribute); in setComposingRegion()
116 return super.setComposingRegion(start, end, textAttribute); in setComposingRegion()
151 public boolean setSelection(int start, int end) { in setSelection() argument
152 mForNotify.setSelection(start, end); in setSelection()
153 return super.setSelection(start, end); in setSelection()
/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/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DBufferDebug.java94 int end = start + len; in writeRow() local
98 padding = WIDTH - (end % WIDTH); in writeRow()
99 end = max; in writeRow()
103 for (int i = start; i < end; i++) { in writeRow()
117 for (int i = start; i < end; i++) { in writeRow()
/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/tests/tests/appenumeration/src/android/appenumeration/cts/
DInstallMultiple.java86 final int end = result.lastIndexOf("]"); in createSession() local
89 if (start != -1 && end != -1 && start < end) { in createSession()
90 sessionId = Integer.parseInt(result.substring(start + 1, end)); in createSession()

12345678910>>...91