/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/ |
D | SimpleDrawFrameTests.java | 73 int[] frames = new int[50]; in testDrawJankyFrames() local 76 frames[indx] = DrawFramesActivity.FRAME_JANK_RECORD_DRAW; in testDrawJankyFrames() 77 frames[indx + 1] = DrawFramesActivity.FRAME_JANK_ANIMATION; in testDrawJankyFrames() 78 frames[indx + 2] = DrawFramesActivity.FRAME_JANK_LAYOUT; in testDrawJankyFrames() 79 frames[indx + 3] = DrawFramesActivity.FRAME_JANK_MISS_VSYNC; in testDrawJankyFrames() 81 runTest(frames); in testDrawJankyFrames() 86 int[] frames = new int[40]; in testDrawDaveyFrames() local 89 frames[indx] = DrawFramesActivity.FRAME_JANK_DAVEY; in testDrawDaveyFrames() 90 frames[indx + 2] = DrawFramesActivity.FRAME_JANK_DAVEY_JR; in testDrawDaveyFrames() 92 runTest(frames); in testDrawDaveyFrames()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 184 frames = [] 187 frames.append(img) 190 return events, frames 292 def _get_cam_rotations(frames, facing, h, log_path): argument 314 for frame in frames: 345 cv2.circle(frames[j], (x, y), 3, (100, 255, 255), -1) 347 frames[j], f'{file_name_stem}_features{j+_START_FRAME:03d}.png') 371 frame = frames[j] 452 frames = [] 456 frames.append(np.array(img).reshape((h, w, 3)) / 255) [all …]
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_burst_sameness_manual.py | 111 frames = range(NUM_FRAMES) 114 pylab.plot(frames, r_means, '-ro') 115 pylab.plot(frames, g_means, '-go') 116 pylab.plot(frames, b_means, '-bo')
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GLProducerThread.java | 54 int frames, int delayMs, Semaphore semaphore) { in GLProducerThread() argument 56 mFrames = frames; in GLProducerThread() 63 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument 65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio.cpp | 148 const int32_t frames = actual().sampleRate; in testTimestamp() local 161 processData(frames, timeoutNanos); in testTimestamp() 189 virtual void processData(const int32_t frames, const int64_t timeoutNanos) = 0; 203 void processData(const int32_t frames, const int64_t timeoutNanos) override; 228 void AAudioInputStreamTest::processData(const int32_t frames, const int64_t timeoutNanos) { in processData() argument 232 for (int32_t framesLeft = frames; framesLeft > 0; ) { in processData() 234 stream(), getDataBuffer(), std::min(frames, mFramesPerRead), timeoutNanos); in processData() 352 void processData(const int32_t frames, const int64_t timeoutNanos) override; 369 void AAudioOutputStreamTest::processData(const int32_t frames, const int64_t timeoutNanos) { in processData() argument 370 for (int32_t framesLeft = frames; framesLeft > 0;) { in processData()
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 130 frames = [its.image.convert_capture_to_rgb_image(c) for c in raw_caps] 133 frames, reported_skew = load_data(args.read_dir) 136 (frame_h, _, _) = frames[0].shape 143 for i, img in enumerate(frames): 149 frames, args.led_time, debug_dir) 227 frames = [] 229 frames.append(its.image.load_rgb_image(frame_file)) 232 return frames, reported_skew 235 def find_average_shutter_skew(frames, led_time, debug_dir=None): argument 255 for i, frame in enumerate(frames):
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 447 int frames = 0; in computePsnr() local 490 minimumPSNRFrameIndex = frames; in computePsnr() 494 frames, curYPSNR, curUPSNR, curVPSNR); in computePsnr() 497 frames++; in computePsnr() 500 averageYPSNR /= frames; in computePsnr() 501 averageUPSNR /= frames; in computePsnr() 502 averageVPSNR /= frames; in computePsnr() 505 Log.d(TAG, "PSNR statistics for " + frames + " frames."); in computePsnr()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 604 int frames = mDecoder.queueInputBufferRange( in addTests() 614 if (lastSequence && frames >= 0) { in addTests() 615 warn("did not receive EOS, received " + frames + " frames"); in addTests() 616 } else if (!lastSequence && frames < 0) { in addTests() 617 warn("received EOS, received " + (-frames) + " frames"); in addTests() 622 mDecodedFrames += Math.abs(frames); in addTests() 762 int frames = mDecoder.queueInputBufferRange( 770 if (lastSequence && frames >= 0) { 771 warn("did not receive EOS, received " + frames + " frames"); 772 } else if (!lastSequence && frames < 0) { [all …]
|
D | AudioHelper.java | 378 final long frames = ts.framePosition; in add() local 384 final long deltaFrames = frames - mLastFrames; in add() 393 Log.d(mTag, "frames(" + frames in add() 422 mLastFrames = frames; in add()
|
D | VideoCodecTestBase.java | 1884 int frames = 0; in computeEncodingStatistics() local 1907 frames++; in computeEncodingStatistics() 1950 Log.d(TAG, " Frames: " + frames + ". Duration: " + duration + in computeEncodingStatistics() 2042 int frames = 0; in computeDecodingStatistics() local 2089 minimumPSNRFrameIndex = frames; in computeDecodingStatistics() 2093 frames, curYPSNR, curUPSNR, curVPSNR); in computeDecodingStatistics() 2096 frames++; in computeDecodingStatistics() 2099 averageYPSNR /= frames; in computeDecodingStatistics() 2100 averageUPSNR /= frames; in computeDecodingStatistics() 2101 averageVPSNR /= frames; in computeDecodingStatistics() [all …]
|
D | AudioTrackTest.java | 1795 final int frames = AudioHelper.frameCountFromMsec(500 /* ms */, format); in playOnceStreamData() local 1796 final int sourceSamples = channelCount * frames; in playOnceStreamData() 3020 AudioTrack track, int frames) throws Exception { in validateWriteStartsStream() argument 3022 final short[] data = new short[frames]; in validateWriteStartsStream() 3028 validateSetStartThresholdInFrames(track, frames); in validateWriteStartsStream() 3035 final int PARTIAL_WRITE_IN_FRAMES = frames - 1; in validateWriteStartsStream() 3047 expectedFrames += frames; in validateWriteStartsStream() 3048 Thread.sleep(frames * 1000L / track.getSampleRate()); // accommodate for #frames. in validateWriteStartsStream() 3063 AudioTrack track, int frames) throws Exception { in validateSetStartThresholdStartsStream() argument 3064 assertTrue(track.getStartThresholdInFrames() > frames); in validateSetStartThresholdStartsStream() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 47 virtual binder::Status framesProcessed(int32_t frames __unused) override { in framesProcessed()
|