Home
last modified time | relevance | path

Searched refs:Visualizer (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libmedia/
DVisualizer.cpp35 Visualizer::Visualizer (const String16& opPackageName, in Visualizer() function in android::Visualizer
52 Visualizer::~Visualizer() in ~Visualizer()
59 void Visualizer::release() in release()
72 status_t Visualizer::setEnabled(bool enabled) in setEnabled()
106 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, in setCaptureCallBack()
138 status_t Visualizer::setCaptureSize(uint32_t size) in setCaptureSize()
172 status_t Visualizer::setScalingMode(uint32_t mode) { in setScalingMode()
201 status_t Visualizer::setMeasurementMode(uint32_t mode) { in setMeasurementMode()
230 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements()
268 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm()
[all …]
DAndroid.bp259 "Visualizer.cpp",
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp233 static sp<Visualizer> getVisualizer(JNIEnv* env, jobject thiz) in getVisualizer()
236 Visualizer* const v = in getVisualizer()
237 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in getVisualizer()
238 return sp<Visualizer>(v); in getVisualizer()
241 static sp<Visualizer> setVisualizer(JNIEnv* env, jobject thiz, in setVisualizer()
242 const sp<Visualizer>& v) in setVisualizer()
245 sp<Visualizer> old = in setVisualizer()
246 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in setVisualizer()
357 sp<Visualizer> lpVisualizer; in android_media_visualizer_native_setup()
387 lpVisualizer = new Visualizer(String16(opPackageNameStr.c_str()), in android_media_visualizer_native_setup()
[all …]
/frameworks/av/media/libmedia/include/media/
DVisualizer.h55 class Visualizer: public AudioEffect {
68 Visualizer(const String16& opPackageName,
74 ~Visualizer();
150 CaptureThread(Visualizer* visualizer, uint32_t captureRate, bool bCanCallJava = false);
153 friend class Visualizer;
155 wp<Visualizer> mReceiver;
/frameworks/av/include/media/
DVisualizer.h55 class Visualizer: public AudioEffect {
68 Visualizer(const String16& opPackageName,
74 ~Visualizer();
150 CaptureThread(Visualizer* visualizer, uint32_t captureRate, bool bCanCallJava = false);
153 friend class Visualizer;
155 wp<Visualizer> mReceiver;
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java22 import android.media.audiofx.Visualizer;
50 private Visualizer mVisualizer;
60 private static HashMap<Integer, Visualizer> sInstances = new HashMap<Integer, Visualizer>(10);
124 if (mVisualizer.getWaveForm(data) == Visualizer.SUCCESS) { in handleMessage()
130 if (mVisualizer.getFft(data) == Visualizer.SUCCESS) { in handleMessage()
144 private class VisualizerListener implements Visualizer.OnDataCaptureListener {
148 … public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate) {
158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
257 mVisualizer = new Visualizer(session); in getEffect()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java69 public class Visualizer { class
206 public Visualizer(int audioSession) in Visualizer() method in Visualizer
213 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id, in Visualizer()
572 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture()
586 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture()
671 private Visualizer mVisualizer;
673 public NativeEventHandler(Visualizer v, Looper looper) { in NativeEventHandler()
780 Visualizer visu = (Visualizer)((WeakReference)effect_ref).get(); in postEventFromNative()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java25 import android.media.audiofx.Visualizer;
55 private Visualizer mVisualizer = null;
106 Visualizer visualizer = null; in test0_0ConstructorAndRelease()
108 visualizer = new Visualizer(0); in test0_0ConstructorAndRelease()
198 int res = mVisualizer.setScalingMode(Visualizer.SCALING_MODE_AS_PLAYED); in test1_2ScalingMode()
200 res, Visualizer.SUCCESS); in test1_2ScalingMode()
203 mode, Visualizer.SCALING_MODE_AS_PLAYED); in test1_2ScalingMode()
205 res = mVisualizer.setScalingMode(Visualizer.SCALING_MODE_NORMALIZED); in test1_2ScalingMode()
207 res, Visualizer.SUCCESS); in test1_2ScalingMode()
210 mode, Visualizer.SCALING_MODE_NORMALIZED); in test1_2ScalingMode()
[all …]
DMediaVirtualizerTest.java27 import android.media.audiofx.Visualizer;
DMediaBassBoostTest.java27 import android.media.audiofx.Visualizer;
DMediaEqualizerTest.java27 import android.media.audiofx.Visualizer;
DMediaPresetReverbTest.java27 import android.media.audiofx.Visualizer;
DMediaEnvReverbTest.java27 import android.media.audiofx.Visualizer;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DEnergyProbe.java19 import android.media.audiofx.Visualizer;
36 private Visualizer mVisualizer = null;
43 mVisualizer = new Visualizer(session); in EnergyProbe()
68 if (mVisualizer.getFft(mFft) == Visualizer.SUCCESS) { in capture()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...