| /cts/apps/CameraITS/tests/sensor_fusion/ |
| D | test_sensor_fusion.py | 47 _FRAME_DELTA_TOL = 1.5 # 50% margin over nominal FPS of captures 67 _NUM_FRAMES_MAX = 300 # fps*test_length should be < this for smooth captures. 70 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, log_path): argument 79 fps: frames per second capture rate. 137 req['android.control.aeTargetFpsRange'] = [fps, fps] 138 req['android.sensor.frameDuration'] = int(1 / _NSEC_TO_SEC / fps) 140 w, h, s, e/_MSEC_TO_NSEC, fps) 141 caps = cam.do_capture([req] * int(fps * test_length), fmt) 173 def _get_cam_times(cam_events, fps): argument 182 fps: float of frames per second value [all …]
|
| /cts/tests/tests/media/codec/src/android/media/codec/cts/ |
| D | VideoCodecTest.java | 67 private static final int FPS = 30; field in VideoCodecTest 170 FPS, in internalTestBasic() 203 decode(params.outputIvfFilename, null, codecMimeType, FPS, codecConfigs); in internalTestBasic() 232 FPS, in internalTestAsyncEncoding() 244 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, codecConfigs); in internalTestAsyncEncoding() 260 FPS, in internalTestAsyncEncoding() 272 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, codecConfigs); in internalTestAsyncEncoding() 308 FPS, in internalTestSyncFrame() 312 params.syncFrameInterval = encodeSeconds * FPS; in internalTestSyncFrame() 313 params.syncForceFrameInterval = FPS; in internalTestSyncFrame() [all …]
|
| /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | MediaPerfUtils.java | 80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 81 log.addValue("reported_high", reported.getUpper(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 90 * logcat. Returns the "final fps" value. 105 double fps = logPerformanceStats(log, timeAvgUsStats, "time_avg_stats", in addPerformanceStatsToLog() local 108 log.setSummary("fps", fps, ResultType.HIGHER_BETTER, ResultUnit.FPS); in addPerformanceStatsToLog() 109 return fps; in addPerformanceStatsToLog() 114 * Also prints the same into logcat using |message| as the base message. Returns the fps value
|
| /cts/hostsidetests/graphics/framerateoverride/app/src/com/android/cts/graphics/framerateoverride/ |
| D | FrameRateOverrideTestActivity.java | 287 float fps = 0; in observe() local 293 fps = totalBuffers / testDuration; in observe() 294 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe() 298 fps)); in observe() 307 + "expected: %.2f observed: %.2f", condition, expectedFrameRate, fps), in observe() 308 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe() 356 float fps = getFps(); in verifyFrameRate() local 360 fps)); in verifyFrameRate() 364 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate() 365 frameRatesMatchesOverride(mExpectedRefreshRate, fps)); in verifyFrameRate() [all …]
|
| /cts/tests/mediapc/src/android/mediapc/cts/ |
| D | MultiCodecPerfTestBase.java | 115 // All the multi-instance tests are limited to codecs that support at least 1280x720 @ 30fps in getHardwareCodecsForMime() 125 // Returns the max number of 30 fps instances that the given list of mimeCodecPairs 127 // required number of 30 fps instances. 175 // Calculate how many 30fps max instances it can support from it's mMaxFrameRate in checkAndGetMaxSupportedInstancesForCodecCombinations() 182 // Below T, VP9 requires 60 fps at 720p and minimum of 2 instances in getRequiredMinConcurrentInstances720p()
|
| D | FrameDropTest.java | 65 * at 30 fps for R perf class, for at least 30 seconds worth of frames or for 31 seconds of 88 * at 60 fps for S/T perf class, for at least 30 seconds worth of frames or for 31 seconds of
|
| D | CodecTranscoderTestBase.java | 357 * The following class transcodes the given testFile and returns the achieved fps for transcoding. 394 double fps = mEncOutputCount / ((end - start) / 1000.0); in doTranscode() local 396 mEncoderName + " Achieved fps: " + fps); in doTranscode() 397 return fps; in doTranscode()
|
| D | AdaptivePlaybackFrameDropTest.java | 74 * assets of 3 seconds duration each at 30 fps for R perf class, 99 * assets of 3 seconds duration each at 60 fps for S or T perf class,
|
| /cts/apps/CameraITS/tools/ |
| D | run_sensor_fusion.py | 115 fps = test_params_content['fps'] 152 logging.info('FPS: %d, img size: %s', fps, img_size)
|
| /cts/tests/tests/taskfpscallback/src/android/taskfpscallback/cts/ |
| D | TaskFpsCallbackCtsTest.java | 65 public void onFpsReported(float fps) { in testRegister() 84 public void onFpsReported(float fps) { in testRegisterWithoutPermission()
|
| /cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
| D | test_rolling_shutter_skew.py | 30 FPS = 30 variable 63 '-f', '--fps', 65 help='FPS to capture with during the test (defaults to 30)') 173 fps = args.fps if args.fps else FPS 191 req['android.control.aeTargetFpsRange'] = [fps, fps] 198 req["android.sensor.frameDuration"] = int(SEC_TO_NSEC / fps); 204 raw_caps = cam.do_capture([req]*fps*test_length, fmt)
|
| /cts/tests/tests/view/src/android/view/cts/ |
| D | DisplayRefreshRateTest.java | 129 // This tests the fps of the default display. in setup() 174 Log.d(TAG, "claimed " + claimedFps + " fps, " + in testRefreshRate() 175 "achieved " + achievedFps + " fps"); in testRefreshRate()
|
| D | DisplayRefreshRateCtsActivity.java | 35 public final synchronized void notifyResult(float fps) { in notifyResult() argument 37 mFps = fps; in notifyResult()
|
| /cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
| D | Utils.java | 156 // Latency tests need the following instances of codecs at 30 fps in meetsAvcCodecPreconditions() 166 double fps = 30 /* encoder for media recorder */ in meetsAvcCodecPreconditions() local 172 PerformancePoint pp1080p = new PerformancePoint(width, height, (int) fps); in meetsAvcCodecPreconditions() 201 Log.d(TAG, info.getName() + " supports required FPS : " + supportsRequiredRate in meetsAvcCodecPreconditions()
|
| D | PerformanceClassEvaluator.java | 441 * percent frame drop) for a 1080p 30 fps video session under load. Load is defined as a 467 * resolution change in a 30 fps video session under load. Load is defined as a 493 * 1080p 60 fps video session under load. Load is defined as a concurrent 1080p to 720p 521 * video resolution change in a 60 fps video session under load. Load is defined as a 615 // allowed tolerance in measured fps vs expected fps in percentage, i.e. codecs achieving 616 // fps that is greater than (FPS_TOLERANCE_FACTOR * expectedFps) will be considered as 760 * resolution@30 fps. 779 * resolution@30 fps. 832 * resolution@30 fps. 849 * resolution@30 fps. [all …]
|
| /cts/tests/tests/openglperf/src/android/openglperf/cts/ |
| D | GlPlanetsActivity.java | 28 * Activity which runs GL test and measure FPS with given parameters passed from 39 public static final String INTENT_RESULT_FPS = "fps";
|
| D | PlanetsRenderer.java | 73 // for total FPS measurement 243 float fps = ((float) mParam.mNumFrames) / ((float) timePassed) * 1000.0f; in onEglSwapBuffers() local 247 Log.i(TAG, "Final FPS " + fps + " Num triangles " + numTriangles + " start time " + in onEglSwapBuffers() 250 mListener.onRenderCompletion(fps, numTriangles, mFrameInterval, mRendererName); in onEglSwapBuffers() 268 // reset timer to remove delays added for FPS calculation. in onSurfaceChanged()
|
| D | PlanetsRenderingParam.java | 28 /** number of frames to render to calculate FPS and finish */
|
| /cts/suite/cts/utils/ |
| D | grapher.py | 58 y = r['details']['Fps Values'] 77 plt.ylabel('FPS')
|
| /cts/tests/camera/src/android/hardware/cts/ |
| D | CameraGLTest.java | 558 for (int[] fps: parameters.getSupportedPreviewFpsRange()) { 563 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + "," + 564 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "]"); 567 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX], 568 fps[Parameters.PREVIEW_FPS_MAX_INDEX]); 575 assertEquals(fps[Parameters.PREVIEW_FPS_MIN_INDEX], 577 assertEquals(fps[Parameters.PREVIEW_FPS_MAX_INDEX], 596 ")! (Size " + size.width + "x" + size.height + ", fps [" + 597 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + ", " + 598 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "])", [all …]
|
| /cts/tests/vr/src/android/vr/cts/ |
| D | VrDisplayTest.java | 72 double fps = NUM_FRAMES / (double)(endNanos - startNanos) * 1e9; in testRefreshRateIsAtLeast60Hz() local 73 assertTrue(fps >= 59.); in testRefreshRateIsAtLeast60Hz()
|
| /cts/tests/video/src/android/video/cts/ |
| D | CodecPerformanceTestBase.java | 49 // allowed tolerance in measured fps vs expected fps, i.e. codecs achieving fps 104 // fps tolerance factor is kept quite low for devices with Android R VNDK or lower 279 // TODO (b/193458026) Limit max expected fps
|
| D | CodecDecoderPerformanceTest.java | 129 Log.d(LOG_TAG, log + "act/exp fps: " + mAchievedFps + "/" + expectedFps); in testPerformanceOfHardwareVideoDecoders() 130 assertTrue("Unable to achieve the expected rate. " + log + "act/exp fps: " + mAchievedFps in testPerformanceOfHardwareVideoDecoders()
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
| D | SampleTestActivity.java | 83 ResultUnit.FPS); in recordMetricsExample() 88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS); in recordMetricsExample()
|
| /cts/tests/camera/src/android/hardware/camera2/cts/ |
| D | RecordingTest.java | 702 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in testAbandonedHighSpeedRequest() 710 // Skip the test if the highest recording FPS supported by CamcorderProfile in testAbandonedHighSpeedRequest() 712 Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in testAbandonedHighSpeedRequest() 790 * Test recording framerate accuracy when switching from low FPS to high FPS. 964 ") must be one of the camera device available FPS range!", in doRecordingWithDifferentPreviewSizes() 1027 // Allow external camera to use variable fps range in videoPreviewSurfaceSharingTestByCamera() 1042 assertTrue("Cannot find FPS range for maxFps " + VIDEO_FRAME_RATE, foundRange); in videoPreviewSurfaceSharingTestByCamera() 1122 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in slowMotionRecording() 1130 // Skip the test if the highest recording FPS supported by CamcorderProfile in slowMotionRecording() 1132 Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in slowMotionRecording() [all …]
|