/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 50 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/ |
D | SystemClockTest.java | 42 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/ |
D | Requirements.java.tmpl | 13 {{- 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/ |
D | PaintRunFlagTest.kt | 44 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 …]
|
D | SpannableStringBuilderSpanTest.java | 151 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 …]
|
D | AlteredCharSequenceTest.java | 69 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
|
D | TextRunAdvancesTest.java | 154 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()
|
D | HtmlTest.java | 73 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/ |
D | TSuper.smali | 27 .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/ |
D | TSuper.smali | 27 .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/ |
D | PocActivity.java | 55 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/ |
D | NativeMediaCommon.cpp | 172 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/ |
D | SampleDeviceReportLogTest.java | 107 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/ |
D | TSuper.smali | 27 .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/ |
D | TSuper.smali | 27 .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/ |
D | T_rsub_int_lit8_1.smali | 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_lit8_2.smali | 25 .end method 32 .end method 39 .end method 46 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/ |
D | T_rsub_int_1.smali | 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.smali | 25 .end method 32 .end method 39 .end method 46 .end method
|
/cts/tests/tests/graphics/src/android/graphics/cts/utils/ |
D | LeakTest.java | 62 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/ |
D | InputConnectionSplitter.java | 108 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/ |
D | glesLayer.cpp | 53 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/ |
D | BufferDebug.java | 94 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/ |
D | android_os_cts_NoExecutePermissionTest.cpp | 36 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/ |
D | InstallMultiple.java | 86 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()
|