/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 | 163 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontCamera() 168 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackFrontCamera() 171 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontCamera() local 194 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackFrontVideo() 199 Log.v(TAG, String.format("Preview for recording videos: %d/%d", iteration + 1, in testPreviewSwitchBackFrontVideo() 202 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackFrontVideo() local 232 for (int iteration = 0; iteration < getIterationCount(); ++iteration) { in testPreviewSwitchBackCameraVideo() 237 Log.v(TAG, String.format("Preview pictures: %d/%d", iteration + 1, in testPreviewSwitchBackCameraVideo() 240 getResultPrinter().printStatus(getIterationCount(), iteration + 1, id); in testPreviewSwitchBackCameraVideo() local 243 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/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/core/java/android/animation/ |
D | ValueAnimator.java | 705 double iteration = Math.floor(fraction); in getCurrentIteration() local 706 if (fraction == iteration && fraction > 0) { in getCurrentIteration() 707 iteration--; in getCurrentIteration() 709 return (int) iteration; in getCurrentIteration() 719 int iteration = getCurrentIteration(fraction); in getCurrentIterationFraction() local 720 float currentFraction = fraction - iteration; in getCurrentIterationFraction() 721 return shouldPlayBackward(iteration, inReverse) ? 1f - currentFraction : currentFraction; in getCurrentIterationFraction() 745 private boolean shouldPlayBackward(int iteration, boolean inReverse) { in shouldPlayBackward() argument 746 if (iteration > 0 && mRepeatMode == REVERSE && in shouldPlayBackward() 747 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 81 Bundle iteration = mPerfCollector.addIteration("timing1"); in testAddIterationNoWriter() local 83 verifyIterationBundle(iteration, "timing1"); in testAddIterationNoWriter() 148 Bundle iteration = mPerfCollector.addIteration("timing5"); in testAddIteration() local 150 verifyIterationBundle(iteration, "timing5"); in testAddIteration() 455 private void verifyIterationBundle(Bundle iteration, String label) { in verifyIterationBundle() argument 456 assertEquals(3, iteration.size()); in verifyIterationBundle() 457 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle() 458 assertEquals(label, iteration.getString(PerformanceCollector.METRIC_KEY_LABEL)); in verifyIterationBundle() 459 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifyIterationBundle() 460 assertTrue(iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifyIterationBundle() [all …]
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | InternalWindowOperationPerfTest.java | 126 public void onStart(int iteration) { in onStart() argument 134 + "_MethodTracing_" + iteration + ".trace"); in onStart() 138 public void onFinished(int iteration) { in onFinished() argument 140 if (iteration >= getProfilingIterations() - 1) { in onFinished()
|
D | WindowAddRemovePerfTest.java | 65 public void onStart(int iteration) { in onStart() argument 67 + "_MethodTracing_" + iteration + ".trace"); in onStart() 71 public void onFinished(int iteration) { in onFinished() argument
|
D | RelayoutPerfTest.java | 104 public void onStart(int iteration) { in onStart() argument 106 + "_MethodTracing_" + iteration + ".trace"); in onStart() 110 public void onFinished(int iteration) { in onFinished() argument
|
/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/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()
|
D | ShadowGridActivity.java | 45 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate() local 57 mAutomator = new Automator(testName, runId, iteration, getWindow(), in onCreate()
|