/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
D | fifo.c | 28 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize, in audio_utils_fifo_init() argument 32 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL); in audio_utils_fifo_init() 33 fifo->mFrameCount = frameCount; in audio_utils_fifo_init() 34 fifo->mFrameCountP2 = roundup(frameCount); in audio_utils_fifo_init()
|
D | fifo.h | 54 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 233 final int frameCount = stats.getFrameCount(); in testWindowContentFrameStats() local 234 assertTrue(frameCount > 0); in testWindowContentFrameStats() 241 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowContentFrameStats() 350 final int frameCount = stats.getFrameCount(); in testWindowAnimationFrameStats() local 351 assertTrue(frameCount > 0); in testWindowAnimationFrameStats() 358 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowAnimationFrameStats() 616 final int frameCount = stats.getFrameCount(); in assertWindowContentTimestampsInAscendingOrder() local 617 for (int i = 0; i < frameCount; i++) { in assertWindowContentTimestampsInAscendingOrder() 643 final int frameCount = stats.getFrameCount(); in assertWindowAnimationTimestampsInAscendingOrder() local 644 for (int i = 0; i < frameCount; i++) { in assertWindowAnimationTimestampsInAscendingOrder()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.h | 80 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, 89 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource, int numFram…
|
D | jni_sles.c | 25 (JNIEnv *env __unused, jobject obj __unused, jint samplingRate, jint frameCount, in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() argument 30 if (slesInit(&pSles, samplingRate, frameCount, micSource, numFramesToIgnore) != SLES_FAIL) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit()
|
D | sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, in slesInit() argument 49 frameCount); in slesInit() 50 status = slesCreateServer(pSles, samplingRate, frameCount, micSource, in slesInit() 215 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, in slesCreateServer() argument 263 pSles->bufSizeInFrames = frameCount;//240; // -f# in slesCreateServer()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureTest.java | 172 int frameCount = 0; in burstTestByCamera() local 187 frameCount++; in burstTestByCamera() 190 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera() 202 frameCount = 0; in burstTestByCamera() 215 frameCount++; in burstTestByCamera() 218 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera()
|
D | SurfaceViewPreviewTest.java | 666 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval() argument 670 int measurementCount = frameCount - ((prevTimestamp > 0) ? 0 : 1); in measureMeanFrameInterval() 672 for (int i = 0; i < frameCount; i++) { in measureMeanFrameInterval()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 117 int frameCount, int width, int height, int scale, int rate, String mimeType) { in makeIvfHeader() argument 133 lay32Bits(ivfHeader, 24, frameCount); in makeIvfHeader()
|
D | AudioTrackTest.java | 1500 int frameCount = 2 * minBuffSize; in testAudioTrackProperties() local 1502 frameCount /= 2; in testAudioTrackProperties() 1505 frameCount /= 2; in testAudioTrackProperties() 1507 assertTrue(TEST_NAME, track.getNativeFrameCount() >= frameCount); in testAudioTrackProperties() 2002 final int frameCount = in testPlayChannelIndexStreamBuffer() local 2004 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer() 2005 final int bufferSamples = frameCount * format.getChannelCount(); in testPlayChannelIndexStreamBuffer() 2046 final long maxDuration = frameCount * 1000 / TEST_SR + 1000; in testPlayChannelIndexStreamBuffer() 2067 final int remainingTimeMs = (int)((double)(frameCount - position) in testPlayChannelIndexStreamBuffer() 2165 final int frameCount = in doTestTimestamp() local [all …]
|
D | VpxCodecTestBase.java | 200 int frameCount; field in VpxCodecTestBase.EncoderOutputStreamParameters 266 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList() 530 int frameCount = ivf.getFrameCount(); in decode() local 539 assertTrue(frameCount > 0); in decode() 588 if (inputFrameIndex == frameCount - 1) { in decode() 771 if (mStreamParams.frameCount == 0 in getInputFrame() 772 || (mStreamParams.frameCount > 0 in getInputFrame() 773 && mInputFrameIndex >= mStreamParams.frameCount)) { in getInputFrame() 1371 if (streamParams.frameCount > 0 && inputFrameIndex >= streamParams.frameCount) { in encode() 1377 if (streamParams.frameCount == 0) { in encode() [all …]
|
D | MediaSyncTest.java | 712 final int frameCount = APPLICATION_AUDIO_PERIOD_MS * sampleRateInHz / 1000; in getAudioTrack() local 717 * Math.max(minBufferSizeInBytes, frameCount * frameSizeInBytes); in getAudioTrack()
|
D | VolumeShaperTest.java | 177 final int frameCount = AudioHelper.frameCountFromMsec(100 /*ms*/, format); in createSineAudioTrack() local 182 .setBufferSizeInBytes(frameCount * frameSize) in createSineAudioTrack() 186 final int sampleCount = frameCount * format.getChannelCount(); in createSineAudioTrack() 192 audioTrack.setLoopPoints(0, frameCount, -1 /* loopCount */); in createSineAudioTrack()
|
D | MediaMuxerTest.java | 507 int frameCount = 0; in cloneMediaUsingMuxer() local 558 frameCount++; in cloneMediaUsingMuxer() 560 Log.d(TAG, "Frame (" + frameCount + ") " + in cloneMediaUsingMuxer()
|
D | AudioRecordTest.java | 713 final int frameCount = AudioHelper.frameCountFromMsec(PLAYBACK_TIME_IN_MS, format); in testSynchronizedRecord() local 717 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord() 721 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 372 long frameCount = result.getFrameNumber(); in createCaptureListener() local 373 if (frameCount <= mLatestFrameCount) return; in createCaptureListener() 374 mLatestFrameCount = frameCount; in createCaptureListener()
|
/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/ |
D | DrawFramesActivity.java | 146 public void drawFrames(final int frameCount) throws InterruptedException, TimeoutException { in drawFrames() argument 147 drawFrames(new int[frameCount]); in drawFrames()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.h | 152 int32_t frameCount() const { in frameCount() function 177 int32_t frameCount() const { in frameCount() function
|
D | native_media_utils.cpp | 160 int32_t avgBitrate = stats.getBitrateAverage(0, config.frameCount() - 1); in checkOverallBitrate() 206 if (iInterval >= stats.frameCount()) { in checkIntraPeriod() 208 iInterval, stats.frameCount()); in checkIntraPeriod()
|
D | native_media_encoder_jni.cpp | 170 int32_t encodedFrames = mStats.frameCount(); in validate() 171 int32_t inputFrames = mRunConfig->frameCount(); in validate() 210 int32_t framesToEncode = mRunConfig->frameCount(); in run()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1042 MediaCodec codec, ByteBuffer buffer, int index, int frameCount, int flags, int runId) { in queueInputBufferEncoder() argument 1045 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() 1079 long ptsUsec = computePresentationTime(frameCount); in queueInputBufferEncoder() 1082 if (VERBOSE && (frameCount == 0)) { in queueInputBufferEncoder() 1095 MediaCodec codec, Image image, int index, int frameCount, int flags, int runId) { in queueInputImageEncoder() argument 1099 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() 1112 long ptsUsec = computePresentationTime(frameCount); in queueInputImageEncoder() 1115 if (VERBOSE && (frameCount == 0)) { in queueInputImageEncoder() 1303 private Point getOrigin(int frameCount, int runId) { in getOrigin() argument 1309 double x = (1 - Math.sin(frameCount / (7. + (runId % 2)))) * 0.1 + frameCount * 0.005; in getOrigin() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 189 private boolean waitWhilePumpingFrames(int frameCount, final View view, long timeout) in waitWhilePumpingFrames() argument 191 final CountDownLatch frameLatch = new CountDownLatch(frameCount); in waitWhilePumpingFrames()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 92 public native long slesInit(int samplingRate, int frameCount, int micSource, in slesInit() argument
|