Home
last modified time | relevance | path

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

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java57 int iterations = BluetoothTestRunner.sEnableIterations; in testEnable() local
58 if (iterations == 0) { in testEnable()
65 for (int i = 0; i < iterations; i++) { in testEnable()
66 mTestUtils.writeOutput("enable iteration " + (i + 1) + " of " + iterations); in testEnable()
76 int iterations = BluetoothTestRunner.sDiscoverableIterations; in testDiscoverable() local
77 if (iterations == 0) { in testDiscoverable()
86 for (int i = 0; i < iterations; i++) { in testDiscoverable()
87 mTestUtils.writeOutput("discoverable iteration " + (i + 1) + " of " + iterations); in testDiscoverable()
99 int iterations = BluetoothTestRunner.sScanIterations; in testScan() local
100 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/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.java96 public void setLoops(int iterations) { in setLoops() argument
97 if (iterations > 0) { in setLoops()
98 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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java51 private int iterations; field in WifiApStress
65 iterations = mRunner.mSoftapIterations; in setUp()
74 mOutputWriter.write(String.format("iteration %d out of %d\n", mLastIteration, iterations)); in tearDown()
93 for (i = 0; i < iterations; i++) { in testWifiHotSpot()
122 if (i == iterations) { in testWifiHotSpot()
123 mLastIteration = iterations; in testWifiHotSpot()
/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/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()
/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/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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java318 int iterations = MediaRecorderStressTestRunner.mIterations; in testStressRecordVideoAndPlayback() local
339 for (int i = 0; i < iterations; i++){ in testStressRecordVideoAndPlayback()
348 Log.v(TAG, "iterations : " + iterations); in testStressRecordVideoAndPlayback()
/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/calendarcommon/
DRecurrenceProcessorTest.java2459 for (int iterations = 0; iterations < 5; iterations++) { in performanceTextExpand()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java836 StateStress(String name, int pause, int iterations, Runnable[] tasks) { in StateStress() argument
840 mIteration = iterations; in StateStress()