Home
last modified time | relevance | path

Searched refs:SoundPool (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp35 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { in MusterSoundPool()
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); in MusterSoundPool()
54 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_load_FD()
63 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_unload()
74 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_play()
83 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_pause()
92 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_resume()
101 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_autoPause()
110 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_autoResume()
119 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_stop()
[all …]
DSoundPool.cpp44 SoundPool::SoundPool(int maxChannels, const audio_attributes_t* pAttributes) in SoundPool() function in android::SoundPool
80 SoundPool::~SoundPool() in ~SoundPool()
99 void SoundPool::addToRestartList(SoundChannel* channel) in addToRestartList()
108 void SoundPool::addToStopList(SoundChannel* channel) in addToStopList()
117 int SoundPool::beginThread(void* arg) in beginThread()
119 SoundPool* p = (SoundPool*)arg; in beginThread()
123 int SoundPool::run() in run()
170 void SoundPool::quit() in quit()
180 bool SoundPool::startThreads() in startThreads()
188 sp<Sample> SoundPool::findSample(int sampleID) in findSample()
[all …]
DSoundPool.h35 class SoundPool; variable
49 typedef void SoundPoolCallback(SoundPoolEvent event, SoundPool* soundPool, void* user);
121 void init(SoundPool* soundPool);
149 SoundPool* mSoundPool;
164 class SoundPool {
168 SoundPool(int maxChannels, const audio_attributes_t* pAttributes);
169 ~SoundPool();
198 SoundPool() {} // no default constructor in SoundPool() function
DSoundPoolThread.h43 explicit SoundPoolThread(SoundPool* SoundPool);
60 SoundPool* mSoundPool;
DAndroid.bp6 "SoundPool.cpp",
DSoundPoolThread.cpp61 SoundPoolThread::SoundPoolThread(SoundPool* soundPool) : in SoundPoolThread()
/frameworks/base/media/java/android/media/
DSoundPool.java114 public class SoundPool extends PlayerBase { class
128 private SoundPool.OnLoadCompleteListener mOnLoadCompleteListener;
149 public SoundPool(int maxStreams, int streamType, int srcQuality) { in SoundPool() method in SoundPool
155 private SoundPool(int maxStreams, AudioAttributes attributes) { in SoundPool() method in SoundPool
159 if (native_setup(new WeakReference<SoundPool>(this), maxStreams, attributes) != 0) { in SoundPool()
487 public void onLoadComplete(SoundPool soundPool, int sampleId, int status); in onLoadComplete()
527 SoundPool soundPool = ((WeakReference<SoundPool>) ref).get(); in postEventFromNative()
549 mOnLoadCompleteListener.onLoadComplete(SoundPool.this, msg.arg1, msg.arg2); in handleMessage()
607 public SoundPool build() { in build()
612 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
DMediaActionSound.java20 import android.media.SoundPool;
47 private SoundPool mSoundPool;
124 mSoundPool = new SoundPool.Builder() in MediaActionSound()
242 private SoundPool.OnLoadCompleteListener mLoadCompleteListener =
243 new SoundPool.OnLoadCompleteListener() {
244 public void onLoadComplete(SoundPool soundPool,
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java29 import android.media.SoundPool;
30 import android.media.SoundPool.OnLoadCompleteListener;
69 private SoundPool mSoundPool = null;
81 android.media.SoundPool.OnLoadCompleteListener {
82 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete()
114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0); in initSoundPool()
/frameworks/base/config/
Dpreloaded-classes-extra8 android.media.SoundPool
Dboot-image-profile.txt9755 HSPLandroid/media/SoundPool$Builder;->build()Landroid/media/SoundPool;
9756 HSPLandroid/media/SoundPool$Builder;->setAudioAttributes(Landroid/media/AudioAttributes;)Landroid/m…
9757 HSPLandroid/media/SoundPool$EventHandler;->handleMessage(Landroid/os/Message;)V
9758 HSPLandroid/media/SoundPool;-><init>(ILandroid/media/AudioAttributes;)V
9759 HSPLandroid/media/SoundPool;->load(Ljava/lang/String;I)I
9760 HSPLandroid/media/SoundPool;->play(IFFIIF)I
9761 HSPLandroid/media/SoundPool;->playerSetAuxEffectSendLevel(ZF)I
9762 HSPLandroid/media/SoundPool;->playerSetVolume(ZFF)V
9763 HSPLandroid/media/SoundPool;->postEventFromNative(Ljava/lang/Object;IIILjava/lang/Object;)V
9764 HSPLandroid/media/SoundPool;->setOnLoadCompleteListener(Landroid/media/SoundPool$OnLoadCompleteList…
[all …]
Dhiddenapi-greylist-max-o.txt39477 Landroid/media/MediaActionSound;->mLoadCompleteListener:Landroid/media/SoundPool$OnLoadCompleteList…
39478 Landroid/media/MediaActionSound;->mSoundPool:Landroid/media/SoundPool;
43485 Landroid/media/SoundPool$Builder;->mAudioAttributes:Landroid/media/AudioAttributes;
43486 Landroid/media/SoundPool$Builder;->mMaxStreams:I
43487 Landroid/media/SoundPool$EventHandler;
43488 Landroid/media/SoundPool$EventHandler;-><init>(Landroid/os/Looper;)V
43489 Landroid/media/SoundPool;-><init>(ILandroid/media/AudioAttributes;)V
43490 Landroid/media/SoundPool;->DEBUG:Z
43491 Landroid/media/SoundPool;->mAttributes:Landroid/media/AudioAttributes;
43492 Landroid/media/SoundPool;->mEventHandler:Landroid/media/SoundPool$EventHandler;
[all …]
Dpreloaded-classes2373 android.media.SoundPool
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java44 import android.media.SoundPool;
312 private SoundPool mLockSounds;
728 mLockSounds = new SoundPool.Builder() in setupLocked()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java89 import android.media.SoundPool;
296 private SoundPool mSoundPool;
3557 android.media.SoundPool.OnLoadCompleteListener {
3575 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete()
5134 mSoundPool = new SoundPool.Builder() in onLoadSoundEffects()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15660 public class SoundPool {
15661 ctor public deprecated SoundPool(int, int, int);
15673 method public void setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener);
15681 public static class SoundPool.Builder {
15682 ctor public SoundPool.Builder();
15683 method public android.media.SoundPool build();
15684 …method public android.media.SoundPool.Builder setAudioAttributes(android.media.AudioAttributes) th…
15685 …method public android.media.SoundPool.Builder setMaxStreams(int) throws java.lang.IllegalArgumentE…
15688 public static abstract interface SoundPool.OnLoadCompleteListener {
15689 method public abstract void onLoadComplete(android.media.SoundPool, int, int);
/frameworks/base/api/
Dcurrent.txt26226 public class SoundPool {
26227 ctor @Deprecated public SoundPool(int, int, int);
26240 method public void setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener);
26248 public static class SoundPool.Builder {
26249 ctor public SoundPool.Builder();
26250 method public android.media.SoundPool build();
26251 …method public android.media.SoundPool.Builder setAudioAttributes(android.media.AudioAttributes) th…
26252 …method public android.media.SoundPool.Builder setMaxStreams(int) throws java.lang.IllegalArgumentE…
26255 public static interface SoundPool.OnLoadCompleteListener {
26256 method public void onLoadComplete(android.media.SoundPool, int, int);
/frameworks/base/services/
Dart-profile4181 …/android/server/audio/AudioService$SoundPoolCallback;->onLoadComplete(Landroid/media/SoundPool;II)V