/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/hostsidetests/securitybulletin/securityPatch/CVE-2019-2007/ |
D | poc.cpp | 24 #define NUM_FRAMES -9999999999 macro 30 fifoController.advanceReadIndex((android::fifo_frames_t)NUM_FRAMES); in main() 31 fifoController.advanceWriteIndex((android::fifo_frames_t)NUM_FRAMES); in main()
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_burst_sameness_manual.py | 43 NUM_FRAMES = BURST_LEN * NUM_BURSTS variable 86 imgs = np.empty([NUM_FRAMES, h, w, 3]) 106 for i in range(1, NUM_FRAMES): 111 frames = range(NUM_FRAMES)
|
/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/media/src/android/mediav2/cts/ |
D | CodecDecoderPauseTest.java | 45 private final int NUM_FRAMES = 8; field in CodecDecoderPauseTest 108 doWork(NUM_FRAMES); in testPause()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 369 static final int NUM_FRAMES = 50; field in AdaptivePlaybackTest 389 for (int i = NUM_FRAMES / 2; i > 0; --i, state >>= 1) { in addTests() 456 for (int i = NUM_FRAMES; i > 0; i--) { in addTests() 517 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests() 592 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests() 749 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) { 754 lastSequence = (segmentSize << 1) + 1 > NUM_FRAMES; 756 lastSequence = segmentSize >= NUM_FRAMES; 1505 private static final int NUM_FRAMES = AdaptivePlaybackTest.NUM_FRAMES; 1514 Media media = Media.read(mInpPrefix + resources[i], NUM_FRAMES); [all …]
|
D | EncodeDecodeTest.java | 74 private static final int NUM_FRAMES = 30; // two seconds of video field in EncodeDecodeTest 687 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 907 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromBuffer() 908 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromBuffer() 953 if (generateIndex == NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1101 if (checkIndex != NUM_FRAMES) { in doEncodeDecodeVideoFromSurfaceToSurface() 1102 fail("expected " + NUM_FRAMES + " frames, only decoded " + checkIndex); in doEncodeDecodeVideoFromSurfaceToSurface()
|
D | DecodeEditEncodeTest.java | 63 private static final int NUM_FRAMES = FRAME_RATE * 3; // three seconds of video field in DecodeEditEncodeTest 283 if (generateIndex == NUM_FRAMES) { in generateVideoData() 355 assertEquals("Frame count", NUM_FRAMES + 1, outputCount); in generateVideoData()
|
D | MediaRecorderTest.java | 130 private static final int NUM_FRAMES = 120; field in MediaRecorderTest 931 for (int i = 0; i < NUM_FRAMES; i++) { in testLevel()
|
/cts/apps/CameraITS/utils/ |
D | image_processing_utils.py | 45 NUM_FRAMES = 4 variable 763 reqs = [req] * NUM_FRAMES 767 done = (cap[NUM_FRAMES - 1]['metadata']['android.lens.state'] == 0) 773 return cap[NUM_FRAMES - 1]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 76 private static final int NUM_FRAMES = 4; field in AnimatedImageDrawableTest 78 private static final int DURATION = NUM_FRAMES * FRAME_DURATION; 323 for (int i = 1; i < NUM_FRAMES; i++) { in testLifeCycleSoftware()
|