Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java58 public void printStatus(int numAttempts, int iteration, String cameraId) throws Exception { in printStatus() argument
60 numAttempts, iteration, cameraId)); in printStatus()
62 sendInstrumentationStatus(numAttempts, iteration, cameraId); in printStatus()
65 writeToFile(numAttempts, iteration, cameraId); in printStatus()
72 public void printStatus(int numAttempts, int iteration) throws Exception { in printStatus() argument
73 printStatus(numAttempts, iteration, ""); in printStatus()
79 private void sendInstrumentationStatus(int numAttempts, int iteration, String cameraId) in sendInstrumentationStatus() argument
83 output.putString(KEY_ITERATION, String.valueOf(iteration)); in sendInstrumentationStatus()
90 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile() argument
94 KEY_ITERATION, iteration); in writeToFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java162 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontCamera()
167 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackFrontCamera()
170 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontCamera() local
193 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontVideo()
198 Log.v(TAG, String.format("Preview for recording videos: %d/%d", iteration + 1, in testPreviewSwitchBackFrontVideo()
201 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontVideo() local
231 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackCameraVideo()
236 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackCameraVideo()
239 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackCameraVideo() local
242 Log.v(TAG, String.format("Preview for recording videos: %d/%d", iteration + 1, in testPreviewSwitchBackCameraVideo()
[all …]
DCamera2ReprocessCaptureTest.java113 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testBasicYuvToJpegReprocessing()
114 Log.v(TAG, String.format("Reprocessing YUV to JPEG: %d/%d", iteration + 1, in testBasicYuvToJpegReprocessing()
118 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testBasicYuvToJpegReprocessing() local
134 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testBasicOpaqueToJpegReprocessing()
135 Log.v(TAG, String.format("Reprocessing OPAQUE to JPEG: %d/%d", iteration + 1, in testBasicOpaqueToJpegReprocessing()
139 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testBasicOpaqueToJpegReprocessing() local
160 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testReprocessingSizeFormatWithPreview()
162 iteration + 1, getIterationCount())); in testReprocessingSizeFormatWithPreview()
165 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testReprocessingSizeFormatWithPreview() local
188 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testMixedBurstReprocessing()
[all …]
DCamera2StillCaptureTest.java111 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testTakePicture()
112 Log.v(TAG, String.format("Taking pictures: %d/%d", iteration + 1, in testTakePicture()
116 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testTakePicture() local
147 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testFullRawCapture()
148 Log.v(TAG, String.format("Taking full RAW pictures: %d/%d", iteration + 1, in testFullRawCapture()
151 getResultPrinter().printStatus(getIterationCount(), iteration + 1, in testFullRawCapture() local
DCamera2RecordingTest.java145 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in doBasicRecording()
146 Log.v(TAG, String.format("Recording video: %d/%d", iteration + 1, in doBasicRecording()
149 getResultPrinter().printStatus(getIterationCount(), iteration + 1, in doBasicRecording() local
210 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in constrainedHighSpeedRecording()
212 iteration + 1, getIterationCount())); in constrainedHighSpeedRecording()
261 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in constrainedHighSpeedRecording() local
485 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in videoSnapshotHelper()
486 Log.v(TAG, String.format("Video snapshot: %d/%d", iteration + 1, in videoSnapshotHelper()
489 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in videoSnapshotHelper() local
DCamera2CaptureRequestTest.java102 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testAeModeAndLock()
103 Log.v(TAG, String.format("AE mode and lock: %d/%d", iteration + 1, in testAeModeAndLock()
111 … getResultPrinter().printStatus(getIterationCount(), iteration + 1, mCameraIds[i]); in testAeModeAndLock() local
/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 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/animation/
DValueAnimator.java625 double iteration = Math.floor(fraction); in getCurrentIteration() local
626 if (fraction == iteration && fraction > 0) { in getCurrentIteration()
627 iteration--; in getCurrentIteration()
629 return (int) iteration; in getCurrentIteration()
639 int iteration = getCurrentIteration(fraction); in getCurrentIterationFraction() local
640 float currentFraction = fraction - iteration; in getCurrentIterationFraction()
641 return shouldPlayBackward(iteration) ? 1f - currentFraction : currentFraction; in getCurrentIterationFraction()
665 private boolean shouldPlayBackward(int iteration) { in shouldPlayBackward() argument
666 if (iteration > 0 && mRepeatMode == REVERSE && in shouldPlayBackward()
667 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward()
[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 int16 iteration; in div_16by16() local
227 for (iteration = 5; iteration > 0; iteration--) in div_16by16()
/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.h651 Word16 iteration; in div_s() local
665 for (iteration = 0; iteration < 15; iteration++) in div_s()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc29 "ICF converged after `%0' iteration(s).",
30 "ICF converged after `%0' iteration(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/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h1002 Word16 iteration; in div_s() local
1029 for (iteration = 0; iteration < 15; iteration++) in div_s()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DImageUtils.java279 for (int iteration = iterations - 1; iteration >= 0; iteration--) { in scale()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java901 Bundle iteration = (Bundle)p; in writeStopTiming() local
904 iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in writeStopTiming()
906 iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME)); in writeStopTiming()
908 iteration.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME)); in writeStopTiming()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
Dpixel_format_f32.rsh18 // layer processing for the next iteration.
/frameworks/rs/api/
Drs_for_each.spec75 summary: Cell iteration information
77 This structure is used to provide iteration information to a rsForEach call.
/frameworks/rs/scriptc/
Drs_for_each.rsh65 * rs_script_call_t: Cell iteration information
67 * This structure is used to provide iteration information to a rsForEach call.
76 …rategy_t strategy; // Currently ignored. In the future, will be suggested cell iteration strategy.
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp280 int32_t iteration = 0; in freeNode() local
284 if (++iteration > kMaxNumIterations) { in freeNode()
310 int32_t iteration = 0; in freeNode() local
314 if (++iteration > kMaxNumIterations) { in freeNode()
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_for_each.jd38 Cell iteration information
225 <span class='normal'>: Cell iteration information</span>
230 …ategy</th><td>Currently ignored. In the future, will be suggested cell iteration strategy.</td></…
246 <p> This structure is used to provide iteration information to a rsForEach call.

12