/cts/tests/openglperf2/jni/reference/ |
D | GLReference.cpp | 26 JNIEnv* env, jclass /*clazz*/, jobject assetManager, jobject surface, jint numFrames, in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() argument 31 if (numFrames > (ReferenceRenderer::FRAMES_PER_SCENE * ReferenceRenderer::NUM_SCENES)) { in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 42 double updates[numFrames]; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 43 double renders[numFrames]; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 44 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 54 env->SetDoubleArrayRegion(updateTimes, 0, numFrames, updates); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 55 env->SetDoubleArrayRegion(renderTimes, 0, numFrames, renders); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 55 public void setPCM16Buff(short[] smpl16Buff, int numChans, int numFrames) { in setPCM16Buff() argument 60 mNumFrames = numFrames; in setPCM16Buff() 67 public void setPCMFloatBuff(float[] smplFloatBuff, int numChans, int numFrames) { in setPCMFloatBuff() argument 72 mNumFrames = numFrames; in setPCMFloatBuff() 116 private void drawChannel16(Canvas cvs, short[] samples, int numFrames, int numChans, in drawChannel16() argument 122 for (int frame = 0; frame < numFrames; frame++) { in drawChannel16() 145 private void drawChannelFloat(Canvas cvs, float[] samples, int numFrames, int numChans, in drawChannelFloat() argument 151 for (int frame = 0; frame < numFrames; frame++) { in drawChannelFloat()
|
D | WaveTableFloatFiller.java | 65 public int fill(float[] buffer, int numFrames, int numChans) { in fill() argument 68 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in fill() 87 return numFrames; in fill()
|
D | AudioFiller.java | 36 public int fill(float[] buffer, int numFrames, int numChans); in fill() argument
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_callback.cpp | 93 void updateFrameCount(int32_t numFrames) { in updateFrameCount() 94 if (numFrames != expectedFramesPerCallback) { in updateFrameCount() 96 actualFramesPerCallback = numFrames; in updateFrameCount() 99 actualFramesPerCallback = numFrames; in updateFrameCount() 133 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 137 AAudioStream* /*stream*/, void *userData, void* /*audioData*/, int32_t numFrames) { in MyDataCallbackProc() argument 139 myData->updateFrameCount(numFrames); in MyDataCallbackProc() 222 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 227 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames) { in MyDataCallbackProc() argument 229 int32_t numSamples = channelCount * numFrames; in MyDataCallbackProc() [all …]
|
/cts/tests/tests/media/libndkaudio/ |
D | WaveTableOscillator.cpp | 47 int WaveTableOscillator::getData(long time, float* outBuff, int numFrames, in getData() argument 60 for (int dstIndex = 0; dstIndex < numFrames; ++dstIndex) { in getData() 78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData() 99 return numFrames; in getData()
|
D | AudioSink.h | 27 virtual bool put(float * buff, int numFrames, int numChannels) =0;
|
D | AudioSource.h | 37 virtual int getData(long time, float * buff, int numFrames,
|
D | WaveTableOscillator.h | 34 int getData(long time, float* outBuff, int numFrames, int outChans);
|
/cts/tests/openglperf2/jni/primitive/ |
D | GLPrimitive.cpp | 43 JNIEnv* env, jclass /*clazz*/, jint workload, jint numFrames, jdoubleArray frameTimes) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark() argument 56 numFrames /= Renderer::OFFSCREEN_INNER_FRAMES; in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark() 60 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
|
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
D | GLPrimitiveBenchmark.java | 121 private void runBenchmark(BenchmarkName benchmark, boolean offscreen, int numFrames, in runBenchmark() argument 127 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, numFrames); in runBenchmark()
|
D | GLPrimitiveActivity.java | 108 private static native boolean startBenchmark(int workload, int numFrames, double[] frameTimes); in startBenchmark() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralRecordActivity.java | 61 int numFrames = smplFloatBuff.length / numChans; in connectWaveView() local 62 mWaveView.setPCMFloatBuff(smplFloatBuff, numChans, numFrames); in connectWaveView()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_encoder_jni.cpp | 293 int32_t numFrames, in runNativeEncoderTest() argument 323 hasDynamicSyncRequest ? numFrames / fps : 1 /*sec*/); in runNativeEncoderTest() 335 std::unique_ptr<RunConfig> runConfig = std::make_unique<RunConfig>(numFrames, config); in runNativeEncoderTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ReprocessCaptureTest.java | 1072 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() local 1076 numFrames); in testReprocessRequestKeys() 1077 setupReprocessableSession(/*previewSurface*/null, numFrames); in testReprocessRequestKeys() 1080 ArrayList<CaptureRequest> reprocessRequests = new ArrayList<>(numFrames); in testReprocessRequestKeys() 1082 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys() 1109 for (int i = 0; i < numFrames; i++) { in testReprocessRequestKeys()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 103 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument 105 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort() 106 final double rad = numCycles * 2.0 * Math.PI / numFrames; in createSineWavesShort()
|
D | AdaptivePlaybackTest.java | 1254 private Media(MediaFormat format, MediaFormat adaptiveFormat, int numFrames) { 1259 mFrames = new Frame[numFrames]; 1346 public static Media read(Context context, int video, int numFrames) 1354 extractor.getTrackFormat(0), extractor.getTrackFormat(0), numFrames); 1369 for (int ix = 0; ix < numFrames; ix++) {
|
D | MediaMuxerTest.java | 865 private void checkNumFramesTimestamp(long seekTimeUs, long offsetTimeUs, int numFrames, in checkNumFramesTimestamp() argument 871 while (numFrames-- > 0 ) { in checkNumFramesTimestamp()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLGameActivity.java | 93 int numFrames, in startBenchmark() argument
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 2463 int numFrames = 0; in doStagefrightTestRawBlob() local 2465 numFrames = frameSizes.length; in doStagefrightTestRawBlob() 2468 if (0 == numFrames) { in doStagefrightTestRawBlob() 2476 for (int j = 0; j < numFrames; j++) { in doStagefrightTestRawBlob() 2482 if(j == (numFrames - 1)) { in doStagefrightTestRawBlob()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 674 RunResult(int numFrames, double durationMs) { in RunResult() argument 675 mNumFrames = numFrames; in RunResult() 680 RunResult(int numFrames, double durationMs, double rmsError) { in RunResult() argument 681 mNumFrames = numFrames; in RunResult()
|