/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | NativeAudioAnalyzer.cpp | 29 int32_t NativeAudioAnalyzer::readFormattedData(int32_t numFrames) { in readFormattedData() argument 33 numFrames, in readFormattedData() 37 numFrames, in readFormattedData() 65 int32_t numFrames in dataCallbackProc() argument 73 if (numFrames > mInputFramesMaximum) { in dataCallbackProc() 74 … ALOGE("%s() numFrames:%d > mInputFramesMaximum:%d", __func__, numFrames, mInputFramesMaximum); in dataCallbackProc() 79 if (numFrames > mMaxNumFrames) { in dataCallbackProc() 80 mMaxNumFrames = numFrames; in dataCallbackProc() 82 if (numFrames < mMinNumFrames) { in dataCallbackProc() 83 mMinNumFrames = numFrames; in dataCallbackProc() [all …]
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | NativeAudioSink.java | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSinkPtr, numFrames, numChans); in init() 44 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 45 pushN(mNativeSinkPtr, audioData, numFrames, numChans); in push() 48 private native void initN(long nativeSinkPtr, int numFrames, int numChans); in initN() argument 51 private native void pushN(long nativeSinkPtr, float[] audioData, int numFrames, int numChans); in pushN() argument
|
D | AudioSink.java | 24 public void init(int numFrames, int numChans) {} in init() argument 37 abstract public void push(final float[] audioData, int numFrames, int numChans); in push() argument
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | NativeAudioSource.java | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSourcePtr, numFrames, numChans); in init() 61 public int pull(float[] audioData, int numFrames, int numChans) { in pull() argument 62 return pullN(mNativeSourcePtr, audioData, numFrames, numChans); in pull() 65 private native void initN(long nativeSourcePtr, int numFrames, int numChans); in initN() argument 70 private native int pullN(long nativeSourcePtr, float[] audioData, int numFrames, int numChans); in pullN() argument
|
D | AudioSource.java | 26 public void init(int numFrames, int numChans) {} in init() argument 61 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
|
/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/jni/megaaudio/player/ |
D | BlipAudioSource.cpp | 36 int BlipAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 43 memset(buffer, 0, numFrames * numChans * sizeof(float)); in pull() 45 WaveTableSource::pull(buffer, numFrames, numChans); in pull() 46 mNumPendingPulseFrames -= numFrames; in pull() 48 return numFrames; in pull()
|
D | SilenceAudioSource.cpp | 20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 21 memset(buffer, 0, sizeof(float) * numFrames * numChans); in pull() 22 return numFrames; in pull()
|
D | NoiseAudioSource.cpp | 26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 27 int numSamples = numFrames * numChans; in pull() 32 return numFrames; in pull()
|
D | NativeAudioSource.cpp | 66 int numFrames = audioSource->pull(sAudioBuffer, num_frames, num_chans); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() local 69 env->SetFloatArrayRegion(audio_data, 0, numFrames * num_chans, sAudioBuffer); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() 71 return numFrames; in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN()
|
D | AudioSource.h | 44 virtual void init(int numFrames, int numChans) {} in init() argument 67 virtual int pull(float* buffer, int numFrames, int numChans) = 0;
|
D | JavaSourceProxy.cpp | 83 void JavaSourceProxy::init(int numFrames, int numChans) { in init() argument 86 mJavaBuffer = env->NewFloatArray(numFrames * numChans); in init() 110 int JavaSourceProxy::pull(float* buffer, int numFrames, int numChans) { in pull() argument 113 … int numFilledFrames = env->CallIntMethod(mSourceObj, sMidPull, mJavaBuffer, numFrames, numChans); in pull()
|
D | JavaSourceProxy.h | 34 virtual void init(int numFrames, int numChans); 41 virtual int pull(float* buffer, int numFrames, int numChans);
|
D | WaveTableSource.cpp | 59 int WaveTableSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 62 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull() 83 return numFrames; in pull()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/ |
D | BlipAudioSource.java | 54 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 58 super.pull(buffer, numFrames, numChans); in pull() 59 mNumPendingPulseFrames -= numFrames; in pull() 61 return numFrames; in pull()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | NoiseAudioSource.java | 38 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 39 for (int index = 0; index < numFrames * numChans; index++) { in pull() 43 return numFrames; in pull()
|
D | SparseChannelAudioSource.java | 54 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 57 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull() 82 return numFrames; in pull()
|
D | SilenceAudioSource.java | 31 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 34 return numFrames; in pull()
|
/cts/tests/tests/media/audio/jni/ |
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()
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | AppCallbackAudioSink.cpp | 32 void AppCallbackAudioSink::init(int numFrames, int numChannels) { in init() argument 40 mAudioDataArrayLength = numChannels * numFrames; in init() 67 void AppCallbackAudioSink::push(float* audioData, int numFrames, int numChannels) { in push() argument 77 env->SetFloatArrayRegion(mAudioDataArray, 0, numFrames * numChannels, audioData); in push() 78 env->CallVoidMethod(mCallbackObj, mMIDonDataReady, mAudioDataArray, numFrames); in push()
|
D | AudioSink.h | 24 virtual void init(int numFrames, int numChannels) {} in init() argument 28 virtual void push(float* audioData, int numFrames, int numChannels) = 0;
|
D | AppCallbackAudioSink.h | 28 virtual void init(int numFrames, int numChannels) override; 32 virtual void push(float* audioData, int numFrames, int numChannels) override;
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/sinks/ |
D | AppCallbackAudioSink.java | 30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 31 mCallback.onDataReady(audioData, numFrames); in push()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 108 public void setPCMFloatBuff(float[] smplFloatBuff, int numChans, int numFrames) { in setPCMFloatBuff() argument 112 mNumFrames = numFrames; in setPCMFloatBuff() 168 private void drawChannelFloat(Canvas cvs, float[] samples, int numFrames, int numChans, in drawChannelFloat() argument 190 for (int frame = 0; frame < numFrames; frame++) { in drawChannelFloat() 215 for (int frame = 0; frame < numFrames; frame++) { in drawChannelFloat() 232 for (int frame = 0; frame < numFrames; frame++) { in drawChannelFloat()
|