/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 87 final int frameCount = stats.getFrameCount(); in testWindowContentFrameStats() local 88 assertTrue(frameCount > 0); in testWindowContentFrameStats() 95 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowContentFrameStats() 192 final int frameCount = stats.getFrameCount(); in testWindowAnimationFrameStats() local 193 assertTrue(frameCount > 0); in testWindowAnimationFrameStats() 200 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowAnimationFrameStats() 245 final int frameCount = stats.getFrameCount(); in assertWindowContentTimestampsInAscendingOrder() local 246 for (int i = 0; i < frameCount; i++) { in assertWindowContentTimestampsInAscendingOrder() 272 final int frameCount = stats.getFrameCount(); in assertWindowAnimationTimestampsInAscendingOrder() local 273 for (int i = 0; i < frameCount; i++) { in assertWindowAnimationTimestampsInAscendingOrder()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | jni_sles.c | 25 (JNIEnv *env __unused, jobject obj __unused, jint samplingRate, jint frameCount, jint micSource) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() argument 29 if (slesInit(&pSles, samplingRate, frameCount, micSource) != SLES_FAIL) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit()
|
D | sles.h | 79 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource); 87 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource);
|
D | sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource) { in slesInit() argument 48 frameCount); in slesInit() 49 status = slesCreateServer(pSles, samplingRate, frameCount, micSource); in slesInit() 202 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource) { in slesCreateServer() argument 249 pSles->bufSizeInFrames = frameCount;//240; // -f# in slesCreateServer()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | BurstCaptureTest.java | 171 int frameCount = 0; in yuvBurstTestByCamera() local 186 frameCount++; in yuvBurstTestByCamera() 189 frameCount < MAX_CONVERGENCE_FRAMES); in yuvBurstTestByCamera() 201 frameCount = 0; in yuvBurstTestByCamera() 214 frameCount++; in yuvBurstTestByCamera() 217 frameCount < MAX_CONVERGENCE_FRAMES); in yuvBurstTestByCamera()
|
D | SurfaceViewPreviewTest.java | 308 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval() argument 312 int measurementCount = frameCount - ((prevTimestamp > 0) ? 0 : 1); in measureMeanFrameInterval() 314 for (int i = 0; i < frameCount; i++) { in measureMeanFrameInterval()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 110 private static byte[] makeIvfHeader(int frameCount, int width, int height, int scale, int rate){ in makeIvfHeader() argument 126 lay32Bits(ivfHeader, 24, frameCount); in makeIvfHeader()
|
D | Vp8CodecTestBase.java | 203 int frameCount; field in Vp8CodecTestBase.EncoderOutputStreamParameters 264 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList() 522 int frameCount = ivf.getFrameCount(); in decode() local 527 assertTrue(frameCount > 0); in decode() 576 if (inputFrameIndex == frameCount - 1) { in decode() 737 if (mStreamParams.frameCount == 0 in getInputFrame() 738 || (mStreamParams.frameCount > 0 in getInputFrame() 739 && mInputFrameIndex >= mStreamParams.frameCount)) { in getInputFrame() 1332 if (streamParams.frameCount > 0 && inputFrameIndex >= streamParams.frameCount) { in encode() 1338 if (streamParams.frameCount == 0) { in encode() [all …]
|
D | MediaMuxerTest.java | 204 int frameCount = 0; in cloneMediaUsingMuxer() local 252 frameCount++; in cloneMediaUsingMuxer() 254 Log.d(TAG, "Frame (" + frameCount + ") " + in cloneMediaUsingMuxer()
|
D | AudioTrackTest.java | 1386 int frameCount = 2 * minBuffSize; in testAudioTrackProperties() local 1388 frameCount /= 2; in testAudioTrackProperties() 1391 frameCount /= 2; in testAudioTrackProperties() 1393 assertTrue(TEST_NAME, track.getNativeFrameCount() >= frameCount); in testAudioTrackProperties() 1810 final int frameCount = in testPlayChannelIndexStreamBuffer() local 1812 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer() 1813 final int bufferSamples = frameCount * format.getChannelCount(); in testPlayChannelIndexStreamBuffer() 1854 final long maxDuration = frameCount * 1000 / TEST_SR + 1000; in testPlayChannelIndexStreamBuffer() 1875 final int remainingTimeMs = (int)((double)(frameCount - position) in testPlayChannelIndexStreamBuffer() 2042 final int frameCount = bufferSizeInBytes / bytesPerFrame; in testVariableRatePlayback() local [all …]
|
D | MediaSyncTest.java | 649 final int frameCount = APPLICATION_AUDIO_PERIOD_MS * sampleRateInHz / 1000; in getAudioTrack() local 654 * Math.max(minBufferSizeInBytes, frameCount * frameSizeInBytes); in getAudioTrack()
|
D | AudioRecordTest.java | 481 final int frameCount = AudioHelper.frameCountFromMsec(PLAYBACK_TIME_IN_MS, format); in testSynchronizedRecord() local 485 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord() 489 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 710 MediaCodec codec, ByteBuffer buffer, int index, int frameCount, int flags) { in queueInputBufferEncoder() argument 713 Point origin = getOrigin(frameCount); in queueInputBufferEncoder() 742 long ptsUsec = computePresentationTime(frameCount); in queueInputBufferEncoder() 745 if (VERBOSE && (frameCount == 0)) { in queueInputBufferEncoder() 870 MediaCodec codec, Image image, int index, int frameCount, int flags) { in queueInputImageEncoder() argument 874 Point origin = getOrigin(frameCount); in queueInputImageEncoder() 887 long ptsUsec = computePresentationTime(frameCount); in queueInputImageEncoder() 890 if (VERBOSE && (frameCount == 0)) { in queueInputImageEncoder() 1075 private Point getOrigin(int frameCount) { in getOrigin() argument 1076 if (frameCount < 100) { in getOrigin() [all …]
|
/cts/tests/tests/hardware/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 89 public native long slesInit(int samplingRate, int frameCount, int micSource); in slesInit() argument
|