/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
D | GLPrimitiveBenchmark.java | 29 private static final int NUM_FRAMES = 100; field in GLPrimitiveBenchmark 42 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testFullPipelineOffscreen() 50 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testFullPipelineOnscreen() 58 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testPixelOutputOffscreen() 66 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testPixelOutputOnscreen() 74 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testShaderPerfOffscreen() 82 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testShaderPerfOnscreen() 90 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testContextSwitchOffscreen() 98 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT); in testContextSwitchOnscreen()
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
D | GLReferenceBenchmark.java | 32 private static final int NUM_FRAMES = NUM_FRAMES_PER_SCENE * NUM_SCENES; field in GLReferenceBenchmark 45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, NUM_FRAMES); in testReferenceBenchmark() 61 for (int i = 0; i < NUM_FRAMES - 1; i++) { in testReferenceBenchmark() 65 double updateAverage = updateSum / NUM_FRAMES; in testReferenceBenchmark() 66 double renderAverage = renderSum / NUM_FRAMES; in testReferenceBenchmark()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 324 static final int NUM_FRAMES = 50; field in AdaptivePlaybackTest 344 for (int i = NUM_FRAMES / 2; i > 0; --i, state >>= 1) { in addTests() 411 for (int i = NUM_FRAMES; i > 0; i--) { in addTests() 466 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests() 541 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests() 694 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) { 699 lastSequence = (segmentSize << 1) + 1 > NUM_FRAMES; 701 lastSequence = segmentSize >= NUM_FRAMES; 1380 private static final int NUM_FRAMES = AdaptivePlaybackTest.NUM_FRAMES; 1388 Media media = Media.read(context, resources[i], NUM_FRAMES); [all …]
|
D | EncodeDecodeTest.java | 63 private static final int NUM_FRAMES = 30; // two seconds of video field in EncodeDecodeTest 606 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 813 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 814 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromBuffer() 859 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1007 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1008 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()
|