Home
last modified time | relevance | path

Searched refs:iteration (Results 1 – 19 of 19) sorted by relevance

/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
Dmandelbrot.rs29 int iteration = 0;
30 while((t2.x + t2.y < 4.f) && (iteration < gMaxIteration)) {
34 iteration++;
38 if(iteration >= gMaxIteration) {
41 *v_out = (uchar4){iteration & 0xff, (iteration >> 6) & 0xff, 0x8f, 0xff};
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerStressTestRunner.java65 int iteration = Integer.parseInt(valueStr); in onCreate() local
66 if (iteration > 0) { in onCreate()
67 mSoftApIterations = iteration; in onCreate()
91 int iteration = Integer.parseInt(reconnectStr); in onCreate() local
92 if (iteration > 0) { in onCreate()
93 mReconnectIterations = iteration; in onCreate()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Ddiv_s.cpp216 register Word16 iteration; in div_s() local
238 for (iteration = 5; iteration > 0; iteration--) in div_s()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java80 Bundle iteration = mPerfCollector.addIteration("timing1"); in testAddIterationNoWriter() local
82 verifyIterationBundle(iteration, "timing1"); in testAddIterationNoWriter()
147 Bundle iteration = mPerfCollector.addIteration("timing5"); in testAddIteration() local
149 verifyIterationBundle(iteration, "timing5"); in testAddIteration()
454 private void verifyIterationBundle(Bundle iteration, String label) { in verifyIterationBundle() argument
455 assertEquals(3, iteration.size()); in verifyIterationBundle()
456 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle()
457 assertEquals(label, iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle()
458 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifyIterationBundle()
459 assertTrue(iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifyIterationBundle()
[all …]
/frameworks/base/core/java/android/os/
DPerformanceCollector.java391 Bundle iteration = new Bundle(); in addIteration() local
392 iteration.putString(METRIC_KEY_LABEL, label); in addIteration()
393 iteration.putLong(METRIC_KEY_EXECUTION_TIME, mExecTime); in addIteration()
394 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime); in addIteration()
395 mPerfMeasurement.getParcelableArrayList(METRIC_KEY_ITERATIONS).add(iteration); in addIteration()
399 return iteration; in addIteration()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwb_math_op.cpp208 register int16 iteration; in div_16by16() local
227 for (iteration = 5; iteration > 0; iteration--) in div_16by16()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc7 …DiagnosticEngine::Debug, "ICF converged after `%0' iteration(s).", "ICF converged after `%0' itera…
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasicop2.c1523 Word16 iteration; in div_s() local
1542 for (iteration = 0; iteration < 15; iteration++) in div_s()
Dbasic_op.h654 Word16 iteration; in div_s() local
668 for (iteration = 0; iteration < 15; iteration++) in div_s()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java214 int iteration = 0; in measureMemory() local
215 while (iteration < MAX_ITERATIONS) { in measureMemory()
224 if (iteration >= MIN_ITERATIONS && stabilized(pssData)) { in measureMemory()
228 iteration++; in measureMemory()
/frameworks/base/core/java/android/animation/
DValueAnimator.java575 int iteration = (int) fraction; in setCurrentFraction() local
577 iteration -= 1; in setCurrentFraction()
579 if (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE) { in setCurrentFraction()
581 mPlayingBackwards = (iteration % 2) != 0; in setCurrentFraction()
586 iteration -= 1; in setCurrentFraction()
591 mCurrentIteration = iteration; in setCurrentFraction()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h996 Word16 iteration; in div_s() local
1023 for (iteration = 0; iteration < 15; iteration++) in div_s()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DImageUtils.java275 for (int iteration = iterations - 1; iteration >= 0; iteration--) { in scale()
/frameworks/webview/chromium/tests/prebuilts/
Dandroid-janktesthelper.jar ... .String, int) String outputFile String testCaseName int iteration protected void waitForTrace () InterruptedException e protected boolean validateResults ...
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java896 Bundle iteration = (Bundle)p; in writeStopTiming() local
899 iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in writeStopTiming()
901 iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME)); in writeStopTiming()
903 iteration.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME)); in writeStopTiming()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp263 int32_t iteration = 0; in freeNode() local
267 if (++iteration > kMaxNumIterations) { in freeNode()
293 int32_t iteration = 0; in freeNode() local
297 if (++iteration > kMaxNumIterations) { in freeNode()
/frameworks/base/docs/html/training/articles/
Dperf-tips.jd230 the cost of getting the array length once for every iteration through the
243 hand-written counted loop for performance-critical {@link java.util.ArrayList} iteration.</p>
Dsmp.jd1654 the fact that, at the point where thread 2 was on iteration 166, it can see that
1655 thread 1 was on iteration 1536. If we look one step in the future, at thread
1656 1’s iteration 1537, we expect to see that thread 1 saw that thread 2 was at
1657 iteration 166 (or later). <code>BB[1537]</code> holds 167, so it appears things
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd199 …to have the animation reverse direction with each iteration or <code>"repeat"</code> to have the a…
272 …to have the animation reverse direction with each iteration or <code>"repeat"</code> to have the a…