/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestResultPrinter.java | 60 public void printStatus(int numAttempts, int iteration, String cameraId) throws Exception { in printStatus() argument 62 numAttempts, iteration, cameraId)); in printStatus() 64 sendInstrumentationStatus(numAttempts, iteration, cameraId); in printStatus() 67 writeToFile(numAttempts, iteration, cameraId); in printStatus() 74 public void printStatus(int numAttempts, int iteration) throws Exception { in printStatus() argument 75 printStatus(numAttempts, iteration, ""); in printStatus() 81 private void sendInstrumentationStatus(int numAttempts, int iteration, String cameraId) in sendInstrumentationStatus() argument 85 output.putString(KEY_ITERATION, String.valueOf(iteration)); in sendInstrumentationStatus() 92 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile() argument 96 KEY_ITERATION, iteration); in writeToFile()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2SwitchPreviewTest.java | 126 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontCamera() 131 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackFrontCamera() 134 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontCamera() local 157 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontVideo() 162 Log.v(TAG, String.format("Preview for recording videos: %d/%d", iteration + 1, in testPreviewSwitchBackFrontVideo() 165 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontVideo() local 195 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackCameraVideo() 200 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackCameraVideo() 203 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackCameraVideo() local 206 Log.v(TAG, String.format("Preview for recording videos: %d/%d", iteration + 1, in testPreviewSwitchBackCameraVideo() [all …]
|
D | Camera2ReprocessCaptureTest.java | 113 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 …]
|
D | Camera2StillCaptureTest.java | 111 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
|
D | Camera2RecordingTest.java | 149 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in doBasicRecording() 150 Log.v(TAG, String.format("Recording video: %d/%d", iteration + 1, in doBasicRecording() 153 getResultPrinter().printStatus(getIterationCount(), iteration + 1, in doBasicRecording() local 214 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in constrainedHighSpeedRecording() 216 iteration + 1, getIterationCount())); in constrainedHighSpeedRecording() 265 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in constrainedHighSpeedRecording() local 489 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in videoSnapshotHelper() 490 Log.v(TAG, String.format("Video snapshot: %d/%d", iteration + 1, in videoSnapshotHelper() 493 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in videoSnapshotHelper() local
|
D | Camera2CaptureRequestTest.java | 103 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testAeModeAndLock() 104 Log.v(TAG, String.format("AE mode and lock: %d/%d", iteration + 1, in testAeModeAndLock() 112 … getResultPrinter().printStatus(getIterationCount(), iteration + 1, mCameraIds[i]); in testAeModeAndLock() local
|
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ |
D | ManagedProfileLifecycleStressTest.java | 59 int iteration = 0; in testCreateStartDelete() local 62 iteration++; in testCreateStartDelete() 63 CLog.w("Iteration N" + iteration); in testCreateStartDelete() 71 CLog.w("Completed " + iteration + " iterations."); in testCreateStartDelete() 82 int iteration = 0; in testCreateStartDeleteStable() local 85 iteration++; in testCreateStartDeleteStable() 86 CLog.w("Iteration N" + iteration); in testCreateStartDeleteStable() 101 CLog.w("Completed " + iteration + " iterations."); in testCreateStartDeleteStable()
|
/frameworks/base/tests/JankBench/scripts/ |
D | collect.py | 57 iteration = row[2] 66 if not iteration in scoremap[run_id][name]: 67 scoremap[run_id][name][iteration] = IterationResult() 69 scoremap[run_id][name][iteration].durations.append(float(total_duration)) 74 iteration = row[2] 78 …if run_id in scoremap.keys() and name in scoremap[run_id].keys() and iteration in scoremap[run_id]… 79 scoremap[run_id][name][iteration].jank_count = long(jank_count) 80 scoremap[run_id][name][iteration].total_count = long(total_count) 132 for iteration in iter(scoremap[run_id][test]): 133 res = scoremap[run_id][test][iteration] [all …]
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesAnimatorSet.cpp | 150 long iteration; in setCurrentPlayTime() local 153 iteration = mRepeatCount; in setCurrentPlayTime() 157 iteration = (playTime - mStartDelay) / mDuration; in setCurrentPlayTime() 160 setFraction(currentIterationFraction, iteration); in setCurrentPlayTime() 163 void PropertyAnimator::setFraction(float fraction, long iteration) { in setFraction() argument 164 double totalFraction = fraction + iteration; in setFraction() 175 if (iteration % 2 && mRepeatMode == RepeatMode::Reverse) { in setFraction()
|
/frameworks/av/media/module/codecs/amrnb/common/src/ |
D | div_s.cpp | 216 Word16 iteration; in div_s() local 238 for (iteration = 5; iteration > 0; iteration--) in div_s()
|
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/ |
D | mandelbrot.rscript | 29 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/tools/hoststubgen/hoststubgen/test-tiny-framework/tiny-test/src/com/android/hoststubgen/test/tinyframework/ |
D | TinyFrameworkBenchmark.java | 42 double iteration = 0; in doBenchmark() local 47 iteration += MINIMAL_ITERATION; in doBenchmark() 53 sFormatter.format((((double) realEnd - start)) / iteration))); in doBenchmark()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 784 double iteration = Math.floor(fraction); in getCurrentIteration() local 785 if (fraction == iteration && fraction > 0) { in getCurrentIteration() 786 iteration--; in getCurrentIteration() 788 return (int) iteration; in getCurrentIteration() 798 int iteration = getCurrentIteration(fraction); in getCurrentIterationFraction() local 799 float currentFraction = fraction - iteration; in getCurrentIterationFraction() 800 return shouldPlayBackward(iteration, inReverse) ? 1f - currentFraction : currentFraction; in getCurrentIterationFraction() 824 private boolean shouldPlayBackward(int iteration, boolean inReverse) { in shouldPlayBackward() argument 825 if (iteration > 0 && mRepeatMode == REVERSE && in shouldPlayBackward() 826 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward() [all …]
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | InternalWindowOperationPerfTest.java | 125 public void onStart(int iteration) { in onStart() argument 133 + "_MethodTracing_" + iteration + ".trace"); in onStart() 137 public void onFinished(int iteration) { in onFinished() argument 139 if (iteration >= getProfilingIterations() - 1) { in onFinished()
|
D | WindowAddRemovePerfTest.java | 67 public void onStart(int iteration) { in onStart() argument 69 + "_MethodTracing_" + iteration + ".trace"); in onStart() 73 public void onFinished(int iteration) { in onFinished() argument
|
D | RelayoutPerfTest.java | 107 public void onStart(int iteration) { in onStart() argument 109 + "_MethodTracing_" + iteration + ".trace"); in onStart() 113 public void onFinished(int iteration) { in onFinished() argument
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 99 Bundle iteration = mPerfCollector.addIteration("timing1"); in testAddIterationNoWriter() local 101 verifyIterationBundle(iteration, "timing1"); in testAddIterationNoWriter() 171 Bundle iteration = mPerfCollector.addIteration("timing5"); in testAddIteration() local 173 verifyIterationBundle(iteration, "timing5"); in testAddIteration() 485 private void verifyIterationBundle(Bundle iteration, String label) { in verifyIterationBundle() argument 486 assertEquals(3, iteration.size()); in verifyIterationBundle() 487 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle() 488 assertEquals(label, iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle() 489 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifyIterationBundle() 490 assertTrue(iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifyIterationBundle() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 78 public void storeRunResults(String testName, int runId, int iteration, in storeRunResults() argument 92 cv.put("iteration", iteration); in storeRunResults() 157 int iteration = cursor.getInt(cursor.getColumnIndexOrThrow("iteration")); in loadTestResults() local 179 if (resultList.size() == iteration) { in loadTestResults() 181 resultList.add(iteration, iterationResult); in loadTestResults() 183 iterationResult = resultList.get(iteration); in loadTestResults() 226 int iteration = cursor.getInt(cursor.getColumnIndexOrThrow("iteration")); in loadDetailedResults() local 256 if (resultList.size() == iteration) { in loadDetailedResults() 260 iterationResult = resultList.get(iteration); in loadDetailedResults()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerStressTestRunner.java | 82 int iteration = Integer.parseInt(reconnectStr); in onCreate() local 83 if (iteration > 0) { in onCreate() 84 mReconnectIterations = iteration; in onCreate()
|
/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 397 Bundle iteration = new Bundle(); in addIteration() local 398 iteration.putString(METRIC_KEY_LABEL, label); in addIteration() 399 iteration.putLong(METRIC_KEY_EXECUTION_TIME, mExecTime); in addIteration() 400 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime); in addIteration() 401 mPerfMeasurement.getParcelableArrayList(METRIC_KEY_ITERATIONS).add(iteration); in addIteration() 405 return iteration; in addIteration()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Automator.java | 92 AutomateCallback callback, String testName, int runId, int iteration) { in AutomatorHandler() argument 103 mIteration = iteration; in AutomatorHandler() 256 public Automator(String testName, int runId, int iteration, in Automator() argument 262 mIteration = iteration; in Automator()
|
/frameworks/av/media/module/codecs/amrwb/dec/src/ |
D | pvamrwb_math_op.cpp | 208 int16 iteration; in div_16by16() local 227 for (iteration = 5; iteration > 0; iteration--) in div_16by16()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | TextScrollActivity.java | 47 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate() local 57 mAutomator = new Automator(getName(), runId, iteration, getWindow(), in onCreate()
|
D | ListViewScrollActivity.java | 46 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate() local 53 mAutomator = new Automator(getName(), runId, iteration, getWindow(), in onCreate()
|
D | FullScreenOverdrawActivity.java | 82 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate() local 86 mAutomator = new Automator(name, runId, iteration, getWindow(), in onCreate()
|