Home
last modified time | relevance | path

Searched refs:iterations (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java59 int iterations = BluetoothTestRunner.sEnableIterations; in testEnable() local
60 if (iterations == 0) { in testEnable()
67 for (int i = 0; i < iterations; i++) { in testEnable()
68 mTestUtils.writeOutput("enable iteration " + (i + 1) + " of " + iterations); in testEnable()
78 int iterations = BluetoothTestRunner.sDiscoverableIterations; in testDiscoverable() local
79 if (iterations == 0) { in testDiscoverable()
88 for (int i = 0; i < iterations; i++) { in testDiscoverable()
89 mTestUtils.writeOutput("discoverable iteration " + (i + 1) + " of " + iterations); in testDiscoverable()
101 int iterations = BluetoothTestRunner.sScanIterations; in testScan() local
102 if (iterations == 0) { in testScan()
[all …]
/frameworks/base/tests/backup/
Dbackup_stress_test.sh17 iterations=150
47 echo "FAILED iteration $i of $iterations; $failures failures so far"
48 echo "FAILED iteration $i of $iterations; $failures failures so far" > /dev/stderr
50 printf "Iteration %d:\tPASS; remaining: %d\n" $i $(($iterations - $i - 1))
51 printf "Iteration %d:\tPASS; remaining: %d\n" $i $(($iterations - $i - 1)) > /dev/stderr
57 if [ $i -eq $iterations ]; then
58 echo "DONE: $iterations iterations with $failures failures."
59 echo "DONE: $iterations iterations with $failures failures." > /dev/stderr
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DBitwiseStreamsTest.java96 int iterations = 10000; in testFive() local
97 int[] sizeArr = new int[iterations]; in testFive()
98 int[] valueArr = new int[iterations]; in testFive()
99 BitwiseOutputStream outStream = new BitwiseOutputStream(iterations * 4); in testFive()
100 for (int i = 0; i < iterations; i++) { in testFive()
109 for (int i = 0; i < iterations; i++) { in testFive()
140 int iterations = 10000; in testExpandArray() local
141 int[] sizeArr = new int[iterations]; in testExpandArray()
142 int[] valueArr = new int[iterations]; in testExpandArray()
144 for (int i = 0; i < iterations; i++) { in testExpandArray()
[all …]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchTest.java36 private int iterations = 0; field in RsBenchTest
48 iterations = mRunner.iterations; in setUp()
49 Log.v(TAG, "Run benchmark for " + iterations + " iterations."); in setUp()
51 Uri data = Uri.fromParts("iterations", Integer.toString(iterations), null); in setUp()
DRsPerfTestRunner.java36 public int iterations = 10; field in RsPerfTestRunner
51 if (iterations > 0) { in onCreate()
52 iterations = intValue; in onCreate()
DRsBenchView.java78 public void setLoops(int iterations) { in setLoops() argument
79 if (iterations > 0) { in setLoops()
80 mLoops = iterations; in setLoops()
DRsBench.java52 int iterations = 0; in onCreate() local
59 iterations = Integer.parseInt(uri.getSchemeSpecificPart()); in onCreate()
66 mView.setLoops(iterations); in onCreate()
/frameworks/base/test-runner/src/android/test/
DTestRunner.java155 long itemTimeNS, int iterations, in performance() argument
197 int iterations, in performance() argument
203 iterations, in performance()
397 int iterations = 1; in runInPerformanceMode() local
419 iterations = perftestcase.startPerformance(this); in runInPerformanceMode()
420 if (iterations > 0) { in runInPerformanceMode()
423 iterations = 1; in runInPerformanceMode()
443 for (int i = 0; i < iterations; i++) { in runInPerformanceMode()
448 for (int i = 0; i < iterations; i++) { in runInPerformanceMode()
463 iterations *= 1000; in runInPerformanceMode()
[all …]
DTestPrinter.java61 long itemTimeNS, int iterations, in performance() argument
64 + iterations + " times)"); in performance()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java64 String iterations = (String) icicle.get("iterations"); in onCreate() local
74 if (iterations != null ) { in onCreate()
75 mIterations = Integer.parseInt(iterations); in onCreate()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java135 Bundle iterations = new Bundle(); in runMethod() local
136 iterations.putInt("currentiterations", runCount); in runMethod()
137 getInstrumentation().sendStatus(2, iterations); in runMethod()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java170 int iterations; in recordVideoAndPlayback() local
199 iterations = MediaRecorderStressTestRunner.mIterations; in recordVideoAndPlayback()
204 mOutput.write("Total number of loops: " + iterations + "\n"); in recordVideoAndPlayback()
208 for (int i = 0; i < iterations; i++) { in recordVideoAndPlayback()
220 Log.v(TAG, "iterations : " + iterations); in recordVideoAndPlayback()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DImageUtils.java254 int iterations = 0; // Number of halving operations to perform after the initial resize in scale() local
260 iterations++; in scale()
275 for (int iteration = iterations - 1; iteration >= 0; iteration--) { in scale()
288 iterations--; in scale()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java226 Bundle iterations = new Bundle(); in runMethod() local
227 iterations.putInt("currentiterations", runCount); in runMethod()
228 getInstrumentation().sendStatus(2, iterations); in runMethod()
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeProgressBar.java149 long iterations = (now - mStartTime) / ANIMATION_DURATION_MS; in draw() local
180 if (iterations == 0) { in draw()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java467 ArrayList<Parcelable> iterations = timing.getParcelableArrayList( in verifyTimingBundle() local
469 assertNotNull(iterations); in verifyTimingBundle()
470 assertEquals(labels.size(), iterations.size()); in verifyTimingBundle()
472 Bundle iteration = (Bundle)iterations.get(i); in verifyTimingBundle()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java2467 for (int iterations = 0; iterations < 5; iterations++) { in performanceTextExpand()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp123 uint32_t iterations = (pos / (mElementCapacity * mEntryCapacity)); in set() local
124 while (it != mTableEntryList.end() && iterations > 0) { in set()
126 --iterations; in set()
129 CHECK_EQ(iterations, 0); in set()
144 uint32_t iterations = (pos / (mElementCapacity * mEntryCapacity)); in get() local
145 while (it != mTableEntryList.end() && iterations > 0) { in get()
147 --iterations; in get()
150 CHECK_EQ(iterations, 0); in get()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java904 StateStress(String name, int pause, int iterations, Runnable[] tasks) { in StateStress() argument
908 mIteration = iterations; in StateStress()
/frameworks/base/docs/html/distribute/tools/
Dlocalization-checklist.jd505 iterations in the cost. You can find translation vendors online or use