Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 264) sorted by relevance

1234567891011

/cts/tests/tests/os/src/android/os/cts/
DSystemClockTest.java36 long start = SystemClock.currentThreadTimeMillis(); in testCurrentThreadTimeMillis() local
39 assertFalse(end - 100 >= start); in testCurrentThreadTimeMillis()
50 long start = SystemClock.elapsedRealtime(); in testElapsedRealtime() local
53 assertTrue(end - 100 >= start); in testElapsedRealtime()
64 long start = SystemClock.currentThreadTimeMillis(); in testSetCurrentTimeMillis() local
65 boolean actual = SystemClock.setCurrentTimeMillis(start + 10000); in testSetCurrentTimeMillis()
79 long start = SystemClock.currentThreadTimeMillis(); in testSleep() local
82 assertFalse(end - 100 >= start); in testSleep()
84 start = SystemClock.elapsedRealtime(); in testSleep()
87 assertTrue(end - 100 >= start); in testSleep()
[all …]
/cts/apps/CtsVerifier/jni/audioquality/
DOverflowCheck.cpp51 static void findEndpoints(short* data, int n, int step, int* start, int* end) { in findEndpoints() argument
53 *start = *end = 0; in findEndpoints()
62 if (! *start) { in findEndpoints()
64 *start = frame + size; in findEndpoints()
74 if ((*start > 0) && (! *end)) { in findEndpoints()
79 static void checkExcursions(short* data, int start, int end, int* numJumps, in checkExcursions() argument
83 if ((endm - start) < 3) { in checkExcursions()
87 *maxPeak = *minPeak = data[start]; in checkExcursions()
88 for (int i = start; i < endm; ++i) { in checkExcursions()
DCompareSpectra.cpp32 int* start, int* end) { in findEndpoints() argument
34 *start = *end = 0; in findEndpoints()
43 if (! *start) { in findEndpoints()
45 *start = frame + size; in findEndpoints()
58 if ((*start > 0) && (! *end)) { in findEndpoints()
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java70 final int start = -1; in assertSingleTagOnWhileString() local
73 Object[] spans = spanned.getSpans(start, end, Object.class); in assertSingleTagOnWhileString()
101 final int start = 0; in assertBadHtml() local
105 Object[] spans = spanned.getSpans(start, end, Object.class); in assertBadHtml()
144 final int start = 0; in testColor() local
150 colors = s.getSpans(start, end, type); in testColor()
156 colors = s.getSpans(start, end, type); in testColor()
162 colors = s.getSpans(start, end, type); in testColor()
191 final int start = 0; in testBlockquote() local
195 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); in testBlockquote()
[all …]
DAlteredCharSequenceTest.java72 int start = 0; in testGetChars() local
78 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
81 for (int i = off; i < end - start + off; i++) { in testGetChars()
88 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
89 for (int i = off; i < end - start + off; i++) { in testGetChars()
92 start = end + 1; in testGetChars()
94 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
186 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() argument
190 public int nextSpanTransition(int start, int limit, Class type) { in nextSpanTransition() argument
199 public CharSequence subSequence(int start, int end) { in subSequence() argument
/cts/tools/host/src/com/android/cts/
DCommandHistory.java77 int start = 0; in show() local
84 start = cmdSize - cmdCount; in show()
87 for (; start < cmdSize; start ++) { in show()
88 String cmdLine = mCmdRecords.get(start); in show()
89 CUIOutputStream.println(" " + Long.toString(start) + "\t" + cmdLine); in show()
DHostTimer.java117 public void start() { in start() method in HostTimer
130 start(); in restart()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java179 int start = 1; in testSetSelectionStartstop() local
181 editText.setSelection(start, end); in testSetSelectionStartstop()
182 assertEquals(start, editText.getSelectionStart()); in testSetSelectionStartstop()
185 start = 0; in testSetSelectionStartstop()
187 editText.setSelection(start, end); in testSetSelectionStartstop()
188 assertEquals(start, editText.getSelectionStart()); in testSetSelectionStartstop()
191 start = 7; in testSetSelectionStartstop()
193 editText.setSelection(start, end); in testSetSelectionStartstop()
194 assertEquals(start, editText.getSelectionStart()); in testSetSelectionStartstop()
248 int start = 0; in testExtendSelection() local
[all …]
/cts/tools/dx-tests/src/dxc/junit/opcodes/monitorenter/
DTest_monitorenter.java39 tr1.start(); in testN1()
40 tr2.start(); in testN1()
59 tr1.start(); in testN2()
60 tr2.start(); in testN2()
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokestatic/jm/
DT_invokestatic_12.java43 t1.start(); in execute()
44 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/ireturn/jm/
DT_ireturn_7.java44 t1.start(); in execute()
45 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/opc_return/jm/
DT_opc_return_2.java43 t1.start(); in execute()
44 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/dreturn/jm/
DT_dreturn_7.java44 t1.start(); in execute()
45 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokespecial/jm/
DT_invokespecial_22.java43 t1.start(); in execute()
44 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/freturn/jm/
DT_freturn_7.java44 t1.start(); in execute()
45 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokevirtual/jm/
DT_invokevirtual_2.java43 t1.start(); in execute()
44 t2.start(); in execute()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java39 tr1.start(); in testN1()
40 tr2.start(); in testN1()
59 tr1.start(); in testN2()
60 tr2.start(); in testN2()
/cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java39 tr1.start(); in testN1()
40 tr2.start(); in testN1()
59 tr1.start(); in testN2()
60 tr2.start(); in testN2()
/cts/tools/dx-tests/src/dxc/junit/opcodes/lreturn/jm/
DT_lreturn_7.java46 t1.start(); in execute()
47 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokeinterface/jm/
DT_invokeinterface_19.java54 t1.start(); in execute()
55 t2.start(); in execute()
/cts/tools/dx-tests/src/dxc/junit/opcodes/areturn/jm/
DT_areturn_7.java47 t1.start(); in execute()
48 t2.start(); in execute()
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/
DReferenceAppTestCase.java62 long start = System.currentTimeMillis(); in testActivityStartupTime() local
66 long startupTime = end - start; in testActivityStartupTime()
/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneStateListenerTest.java114 t.start(); in testOnServiceStateChanged()
161 t.start(); in testOnSignalStrengthChanged()
204 t.start(); in testOnMessageWaitingIndicatorChanged()
247 t.start(); in testOnCallForwardingIndicatorChanged()
289 t.start(); in testOnCellLocationChanged()
331 t.start(); in testOnCallStateChanged()
374 t.start(); in testOnDataConnectionStateChanged()
416 t.start(); in testOnDataActivity()
/cts/tests/src/android/app/cts/
DSearchManagerStubActivity.java90 }.start(); in testOnCancelListener()
127 }.start(); in testOnDismissListener()
150 }.start(); in testStopSearch()
202 public void start() { in start() method in SearchManagerStubActivity.TestStepHandler
/cts/tests/tests/text/src/android/text/style/cts/
DReplacementSpanTest.java59 public void draw(Canvas canvas, CharSequence text, int start, int end, in draw() argument
65 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize() argument

1234567891011