| /cts/apps/CameraITS/tests/sensor_fusion/ |
| D | test_sensor_fusion.py | 47 _FRAME_DELTA_TOL = 1.5 # 50% margin over nominal FPS of captures 69 _NUM_FRAMES_MAX = 300 # fps*test_length should be < this for smooth captures. 72 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, argument 82 fps: frames per second capture rate. 155 req['android.control.aeTargetFpsRange'] = [fps, fps] 156 req['android.sensor.frameDuration'] = int(1 / _NSEC_TO_SEC / fps) 158 w, h, s, e/_MSEC_TO_NSEC, fps) 159 caps = cam.do_capture([req] * int(fps * test_length), fmt) 191 def _get_cam_times(cam_events, fps): argument 200 fps: float of frames per second value [all …]
|
| /cts/tests/tests/media/codec/src/android/media/codec/cts/ |
| D | VideoCodecTest.java | 65 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 | 82 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 83 log.addValue("reported_high", reported.getUpper(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 92 * logcat. Returns the "final fps" value. 107 double fps = logPerformanceStats(log, timeAvgUsStats, "time_avg_stats", in addPerformanceStatsToLog() local 110 log.setSummary("fps", fps, ResultType.HIGHER_BETTER, ResultUnit.FPS); in addPerformanceStatsToLog() 111 return fps; in addPerformanceStatsToLog() 116 * 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 | 290 float fps = 0; in observe() local 296 fps = totalBuffers / testDuration; in observe() 297 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe() 301 fps)); in observe() 310 + "expected: %.2f observed: %.2f", condition, expectedFrameRate, fps), in observe() 311 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe() 359 float fps = getFps(); in verifyFrameRate() local 363 fps)); in verifyFrameRate() 367 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate() 368 frameRatesMatchesOverride(mExpectedRefreshRate, fps)); in verifyFrameRate() [all …]
|
| /cts/tests/mediapc/src/android/mediapc/cts/ |
| D | MultiDecoderPerfTest.java | 81 * This test validates that the decoder can support at least 6 concurrent 720p 30fps 99 * 1080p 30fps decoder instances. Also ensures that all the concurrent sessions succeed in 120 * instances with 3 sessions at 1080p 30 fps and 3 sessions at 4k 30fps / 2 SDR secure 121 * concurrent instances at 4k 30 fps. Also ensures that all the concurrent sessions succeed 143 * at 4k 30 fps. Also ensures that all the concurrent sessions succeed in decoding with
|
| D | VideoCodecRequirementsTest.java | 206 * at 30fps and 1Mbps. 222 double fps = 0; in testAV1EncoderRequirements() local 232 fps = max(fps, pp.getMaxFrameRate()); in testAV1EncoderRequirements() 247 fps = reported.getLower(); in testAV1EncoderRequirements() 258 rAV1EncoderReq.setAv1EncFps(fps); in testAV1EncoderRequirements()
|
| D | MultiEncoderPerfTest.java | 81 * This test validates that the encoder can support at least 6 concurrent 720p 30fps 96 * This test validates that the encoder can support at least 6 concurrent 1080p 30fps 109 * with 4 sessions at 1080p 30 fps and 2 sessions at 4k 30 fps. Also ensures that all the
|
| D | FrameDropTest.java | 66 * at 30 fps for R perf class, for at least 30 seconds worth of frames or for 31 seconds of 92 * at 60 fps for S/T perf class, for at least 30 seconds worth of frames or for 31 seconds of 118 * at 60 fps for U perf class, for at least 30 seconds worth of frames or for 31 seconds of
|
| D | AdaptivePlaybackFrameDropTest.java | 69 * assets of 3 seconds duration each at 30 fps for R perf class, 97 * assets of 3 seconds duration each at 60 fps for S or T perf class, 125 * assets of 3 seconds duration each at 60 fps for U perf class,
|
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| D | FrameRateOverrideCtsActivity.java | 314 float fps = 0; in observe() local 320 fps = totalBuffers / testDuration; in observe() 321 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe() 325 fps)); in observe() 334 + "expected: %.2f observed: %.2f", condition, expectedFrameRate, fps), in observe() 335 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe() 383 float fps = getFps(); in verifyFrameRate() local 387 fps)); in verifyFrameRate() 391 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate() 392 frameRatesMatchesOverride(mExpectedRefreshRate, fps)); in verifyFrameRate()
|
| /cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
| D | DecoderRenderTest.java | 90 // TODO(b/290839444): The framework selects 30Hz refresh rate for 29.97fps, causing in onFrameRendered_indicatesAllFramesRendered_toDisplay_vp9() 91 // frame drops (and 24Hz for 25fps). Tell SurfaceFlinger that we prefer 60Hz. in onFrameRendered_indicatesAllFramesRendered_toDisplay_vp9() 106 // TODO(b/290839444): The framework selects 30Hz refresh rate for 29.97fps, causing in onFrameRendered_indicatesAllFramesRendered_toTexture_vp9() 107 // frame drops (and 24Hz for 25fps). Tell SurfaceFlinger that we prefer 60Hz. in onFrameRendered_indicatesAllFramesRendered_toTexture_vp9() 118 float fps) throws Exception { in onFrameRendered_indicatesAllFramesRendered() argument 120 surface.setFrameRate(fps, Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE); in onFrameRendered_indicatesAllFramesRendered()
|
| /cts/apps/CameraITS/tests/scene2_a/ |
| D | test_preview_min_frame_rate.py | 14 """Verifies that preview FPS reaches minimum under low light conditions.""" 43 recording's frame rate is at the minimum of the requested FPS range. 84 logging.debug('Testing preview recording FPS for size: %s', preview_size)
|
| /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/tests/mediapc/common/src/android/mediapc/cts/common/ |
| D | PerformanceClassEvaluator.java | 121 * or 1080p @ 240fps. 453 // allowed tolerance in measured fps vs expected fps in percentage, i.e. codecs achieving 454 // fps that is greater than (FPS_TOLERANCE_FACTOR * expectedFps) will be considered as 632 * resolution@30 fps. 653 * resolution@30 fps. 668 * at 1080p resolution@30 fps and 3 sessions at 4k(U) resolution@30fps. 737 * resolution@30 fps. 754 * resolution@30 fps. 770 * resolution@30 fps. 840 * at 720p(R,S) /1080p(T) /4k(U) @30fps resolution. [all …]
|
| D | Utils.java | 185 // Latency tests need the following instances of codecs at 30 fps in meetsAvcCodecPreconditions() 195 double fps = 30 /* encoder for media recorder */ in meetsAvcCodecPreconditions() local 201 PerformancePoint pp1080p = new PerformancePoint(width, height, (int) fps); in meetsAvcCodecPreconditions() 230 Log.d(TAG, info.getName() + " supports required FPS : " + supportsRequiredRate in meetsAvcCodecPreconditions()
|
| /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/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";
|
| /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/hostsidetests/statsdatom/src/android/cts/statsdatom/gamemanager/ |
| D | GameManagerStatsTests.java | 147 " mode=2,downscaleFactor=1.0,fps=90:mode=3,downscaleFactor=0.1,fps=30"); in testGameModeInfoIsPulled() 176 "mode=4:mode=2,downscaleFactor=0.7,fps=90:mode=3,downscaleFactor=0.1,fps=30"); in testGameModeConfigurationIsPulled()
|
| /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/apps/CameraITS/utils/ |
| D | camera_properties_utils.py | 466 """Returns the AE target FPS ranges supported by the camera device. 472 A list of AE target FPS ranges supported by the camera device. 474 ranges = [] # return empty list instead of Boolean if no FPS range in props 481 """Returns an AE target FPS range to test based on camera device properties. 484 fps_ranges: list of AE target FPS ranges supported by camera. 487 An AE target FPS range for testing. 491 logging.debug('AE target FPS ranges: %s', fps_ranges) 495 'available AE target FPS range %s.', 498 logging.debug('Accepted AE target FPS range: %s', widest_fps_range)
|