/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
D | GLPrimitiveBenchmark.java | 29 private static final int NUM_FRAMES = 100; field in GLPrimitiveBenchmark 43 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOffscreen() 52 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOnscreen() 61 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOffscreen() 70 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOnscreen() 79 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOffscreen() 88 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOnscreen() 97 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOffscreen() 106 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOnscreen()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceBenchmark.java | 31 private static final int NUM_FRAMES = NUM_FRAMES_PER_SCENE * NUM_SCENES; field in GLReferenceBenchmark 44 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, NUM_FRAMES); in testReferenceBenchmark() 60 for (int i = 0; i < NUM_FRAMES - 1; i++) { in testReferenceBenchmark() 64 double updateAverage = updateSum / NUM_FRAMES; in testReferenceBenchmark() 65 double renderAverage = renderSum / NUM_FRAMES; in testReferenceBenchmark()
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrDisplayTest.java | 56 final int NUM_FRAMES = 200; in testRefreshRateIsAtLeast60Hz() local 58 mActivity = getGlEsActivity(NUM_FRAMES + 1, OpenGLESActivity.RENDERER_REFRESHRATE); in testRefreshRateIsAtLeast60Hz() 72 double fps = NUM_FRAMES / (double)(endNanos - startNanos) * 1e9; in testRefreshRateIsAtLeast60Hz()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 326 static final int NUM_FRAMES = 50; field in AdaptivePlaybackTest 346 for (int i = NUM_FRAMES / 2; i > 0; --i, state >>= 1) { in addTests() 413 for (int i = NUM_FRAMES; i > 0; i--) { in addTests() 468 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests() 543 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests() 696 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) { 701 lastSequence = (segmentSize << 1) + 1 > NUM_FRAMES; 703 lastSequence = segmentSize >= NUM_FRAMES; 1386 private static final int NUM_FRAMES = AdaptivePlaybackTest.NUM_FRAMES; 1394 Media media = Media.read(context, resources[i], NUM_FRAMES); [all …]
|
D | EncodeDecodeTest.java | 67 private static final int NUM_FRAMES = 30; // two seconds of video field in EncodeDecodeTest 674 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 894 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 895 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromBuffer() 940 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1088 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1089 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromSurfaceToSurface()
|
D | DecodeEditEncodeTest.java | 62 private static final int NUM_FRAMES = 30; // two seconds of video field in DecodeEditEncodeTest 270 if (generateIndex == NUM_FRAMES) { in generateVideoData() 342 assertEquals("Frame count", NUM_FRAMES + 1, outputCount); in generateVideoData()
|
D | MediaRecorderTest.java | 120 private static final int NUM_FRAMES = 120; field in MediaRecorderTest 889 for (int i = 0; i < NUM_FRAMES; i++) { in testLevel()
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 46 NUM_FRAMES = 4 variable 859 reqs = [req] * NUM_FRAMES 863 done = (cap[NUM_FRAMES-1]['metadata']['android.lens.state'] == 0) 868 return cap[NUM_FRAMES-1]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 68 private static final int NUM_FRAMES = 4; field in AnimatedImageDrawableTest 70 private static final int DURATION = NUM_FRAMES * FRAME_DURATION; 310 for (int i = 1; i < NUM_FRAMES; i++) { in testLifeCycleSoftware()
|