/frameworks/base/media/jni/audioeffect/ |
D | Visualizer.cpp | 37 Visualizer::Visualizer (const String16& opPackageName, in Visualizer() function in android::Visualizer 54 Visualizer::~Visualizer() in ~Visualizer() 61 void Visualizer::release() in release() 74 status_t Visualizer::setEnabled(bool enabled) in setEnabled() 111 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, in setCaptureCallBack() 144 status_t Visualizer::setCaptureSize(uint32_t size) in setCaptureSize() 178 status_t Visualizer::setScalingMode(uint32_t mode) { in setScalingMode() 207 status_t Visualizer::setMeasurementMode(uint32_t mode) { in setMeasurementMode() 236 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements() 274 status_t Visualizer::getWaveForm(uint8_t *waveform) in getWaveForm() [all …]
|
D | android_media_Visualizer.cpp | 231 static sp<Visualizer> getVisualizer(JNIEnv* env, jobject thiz) in getVisualizer() 234 Visualizer* const v = in getVisualizer() 235 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in getVisualizer() 236 return sp<Visualizer>(v); in getVisualizer() 239 static sp<Visualizer> setVisualizer(JNIEnv* env, jobject thiz, in setVisualizer() 240 const sp<Visualizer>& v) in setVisualizer() 243 sp<Visualizer> old = in setVisualizer() 244 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in setVisualizer() 355 sp<Visualizer> lpVisualizer; in android_media_visualizer_native_setup() 385 lpVisualizer = new Visualizer(String16(opPackageNameStr.c_str()), in android_media_visualizer_native_setup() [all …]
|
D | Visualizer.h | 55 class Visualizer: public AudioEffect { 68 Visualizer(const String16& opPackageName, 74 ~Visualizer(); 151 CaptureThread(Visualizer* visualizer, uint32_t captureRate, bool bCanCallJava = false); 154 friend class Visualizer; 156 wp<Visualizer> mReceiver;
|
D | Android.bp | 9 "Visualizer.cpp",
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerInstanceSync.java | 19 import android.media.audiofx.Visualizer; 31 private final Visualizer mVisualizer; 38 mVisualizer = new Visualizer(session); in VisualizerInstanceSync() 126 if (mVisualizer.getWaveForm(data) == Visualizer.SUCCESS) { in handleMessage() 133 if (mVisualizer.getFft(data) == Visualizer.SUCCESS) { in handleMessage() 147 private class VisualizerListener implements Visualizer.OnDataCaptureListener { 149 public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, 161 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 25 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 …]
|
D | MediaBassBoostTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaVirtualizerTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaEqualizerTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaPresetReverbTest.java | 27 import android.media.audiofx.Visualizer;
|
D | MediaEnvReverbTest.java | 27 import android.media.audiofx.Visualizer;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | EnergyProbe.java | 19 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/media/java/android/media/audiofx/ |
D | Visualizer.java | 70 public class Visualizer { class 214 public Visualizer(int audioSession) in Visualizer() method in Visualizer 221 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id, in Visualizer() 582 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() 596 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() 742 final Visualizer visualizer = (Visualizer) ((WeakReference) effect_ref).get(); in postEventFromNative()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 34229 Landroid/media/audiofx/Visualizer$NativeEventHandler;->handleCaptureMessage(Landroid/os/Message;)V 34230 Landroid/media/audiofx/Visualizer$NativeEventHandler;->handleServerDiedMessage(Landroid/os/Message;… 34231 Landroid/media/audiofx/Visualizer$NativeEventHandler;->mVisualizer:Landroid/media/audiofx/Visualize… 34232 Landroid/media/audiofx/Visualizer$OnServerDiedListener;->onServerDied()V 34233 Landroid/media/audiofx/Visualizer;->mCaptureListener:Landroid/media/audiofx/Visualizer$OnDataCaptur… 34234 Landroid/media/audiofx/Visualizer;->mJniData:J 34235 Landroid/media/audiofx/Visualizer;->mListenerLock:Ljava/lang/Object; 34236 Landroid/media/audiofx/Visualizer;->mNativeEventHandler:Landroid/media/audiofx/Visualizer$NativeEve… 34237 Landroid/media/audiofx/Visualizer;->mNativeVisualizer:J 34238 Landroid/media/audiofx/Visualizer;->mServerDiedListener:Landroid/media/audiofx/Visualizer$OnServerD… [all …]
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16092 public class Visualizer { 16093 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 16100 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 16106 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 16127 public static final class Visualizer.MeasurementPeakRms { 16128 ctor public Visualizer.MeasurementPeakRms(); 16133 public static abstract interface Visualizer.OnDataCaptureListener { 16134 method public abstract void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 16135 … method public abstract void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 27085 public class Visualizer { 27086 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 27094 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 27100 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 27121 public static final class Visualizer.MeasurementPeakRms { 27122 ctor public Visualizer.MeasurementPeakRms(); 27127 public static interface Visualizer.OnDataCaptureListener { 27128 method public void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 27129 method public void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|
/frameworks/base/api/ |
D | current.txt | 27215 public class Visualizer { 27216 …ctor public Visualizer(int) throws java.lang.RuntimeException, java.lang.UnsupportedOperationExcep… 27224 method public int getMeasurementPeakRms(android.media.audiofx.Visualizer.MeasurementPeakRms); 27230 …method public int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener, i… 27251 public static final class Visualizer.MeasurementPeakRms { 27252 ctor public Visualizer.MeasurementPeakRms(); 27257 public static interface Visualizer.OnDataCaptureListener { 27258 method public void onFftDataCapture(android.media.audiofx.Visualizer, byte[], int); 27259 method public void onWaveFormDataCapture(android.media.audiofx.Visualizer, byte[], int);
|