Home
last modified time | relevance | path

Searched refs:SoundPool (Results 1 – 20 of 20) 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.cpp47 SoundPool::SoundPool(int maxChannels, const audio_attributes_t* pAttributes) in SoundPool() function in android::SoundPool
82 SoundPool::~SoundPool() in ~SoundPool()
101 void SoundPool::addToRestartList(SoundChannel* channel) in addToRestartList()
110 void SoundPool::addToStopList(SoundChannel* channel) in addToStopList()
119 int SoundPool::beginThread(void* arg) in beginThread()
121 SoundPool* p = (SoundPool*)arg; in beginThread()
125 int SoundPool::run() in run()
172 void SoundPool::quit() in quit()
182 bool SoundPool::startThreads() in startThreads()
190 SoundChannel* SoundPool::findChannel(int channelID) in findChannel()
[all …]
DSoundPool.h35 class SoundPool; variable
49 typedef void SoundPoolCallback(SoundPoolEvent event, SoundPool* soundPool, void* user);
119 void init(SoundPool* soundPool);
146 SoundPool* mSoundPool;
160 class SoundPool {
164 SoundPool(int maxChannels, const audio_attributes_t* pAttributes);
165 ~SoundPool();
192 SoundPool() {} // no default constructor in SoundPool() function
DSoundPoolThread.h43 SoundPoolThread(SoundPool* SoundPool);
60 SoundPool* mSoundPool;
DAndroid.mk6 SoundPool.cpp \
DSoundPoolThread.cpp61 SoundPoolThread::SoundPoolThread(SoundPool* soundPool) : in SoundPoolThread()
/frameworks/base/media/java/android/media/
DMediaActionSound.java20 import android.media.SoundPool;
47 private SoundPool mSoundPool;
99 mSoundPool = new SoundPool(NUM_MEDIA_SOUND_STREAMS, in MediaActionSound()
175 private SoundPool.OnLoadCompleteListener mLoadCompleteListener =
176 new SoundPool.OnLoadCompleteListener() {
177 public void onLoadComplete(SoundPool soundPool,
DSoundPool.java114 public class SoundPool { class
128 private SoundPool.OnLoadCompleteListener mOnLoadCompleteListener;
151 public SoundPool(int maxStreams, int streamType, int srcQuality) { in SoundPool() method in SoundPool
156 private SoundPool(int maxStreams, AudioAttributes attributes) { in SoundPool() method in SoundPool
158 if (native_setup(new WeakReference<SoundPool>(this), maxStreams, attributes) != 0) { in SoundPool()
470 public void onLoadComplete(SoundPool soundPool, int sampleId, int status); in onLoadComplete()
526 SoundPool soundPool = ((WeakReference<SoundPool>) ref).get(); in postEventFromNative()
548 mOnLoadCompleteListener.onLoadComplete(SoundPool.this, msg.arg1, msg.arg2); in handleMessage()
606 public SoundPool build() { in build()
611 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java23 import android.media.SoundPool;
128 private SoundPool mSoundPool;
315 mSoundPool = new SoundPool(2, AudioManager.STREAM_SYSTEM, 0); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java34 import android.media.SoundPool;
286 private SoundPool mLockSounds;
598 mLockSounds = new SoundPool(1, AudioManager.STREAM_SYSTEM, 0); in setupLocked()
/frameworks/base/docs/html/about/versions/
Dandroid-2.2.jd149 <li>New APIs in {@link android.media.SoundPool} to detect completion of sound-loading.</li>
150 <li>New APIs in {@link android.media.SoundPool} for auto pause and resume.</li>
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java70 import android.media.SoundPool;
248 private SoundPool mSoundPool;
2426 android.media.SoundPool.OnLoadCompleteListener {
2444 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete()
4122 mSoundPool = new SoundPool.Builder() in onLoadSoundEffects()
/frameworks/base/docs/html/google/play/
Dexpansion-files.jd190 {@link android.media.SoundPool#load(FileDescriptor,long,long,int) SoundPool.load()}) without the
1053 {@link android.media.SoundPool#load(FileDescriptor,long,long,int) SoundPool.load()}). In order for
/frameworks/base/docs/html/sdk/
DRELEASENOTES.jd455 <li>Updated documentation for {@link android.media.SoundPool
456 android.media.SoundPool}</li>
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd37 <li>{@link android.media.SoundPool}</li>
/frameworks/base/docs/html/
Dsitemap.txt2110 http://developer.android.com/reference/android/media/SoundPool.OnLoadCompleteListener.html
2149 http://developer.android.com/reference/android/media/SoundPool.html
4784 http://developer.android.com/sdk/api_diff/3/changes/android.media.SoundPool.html
6675 http://developer.android.com/sdk/api_diff/8/changes/android.media.SoundPool.html
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt109 NO DOC BLOCK: android.media.SoundPool.Builder Class
/frameworks/base/api/
Dcurrent.txt16668 public class SoundPool {
16669 ctor public deprecated SoundPool(int, int, int);
16681 method public void setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener);
16689 public static class SoundPool.Builder {
16690 ctor public SoundPool.Builder();
16691 method public android.media.SoundPool build();
16692 …method public android.media.SoundPool.Builder setAudioAttributes(android.media.AudioAttributes) th…
16693 …method public android.media.SoundPool.Builder setMaxStreams(int) throws java.lang.IllegalArgumentE…
16696 public static abstract interface SoundPool.OnLoadCompleteListener {
16697 method public abstract void onLoadComplete(android.media.SoundPool, int, int);
Dsystem-current.txt17936 public class SoundPool {
17937 ctor public deprecated SoundPool(int, int, int);
17949 method public void setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener);
17957 public static class SoundPool.Builder {
17958 ctor public SoundPool.Builder();
17959 method public android.media.SoundPool build();
17960 …method public android.media.SoundPool.Builder setAudioAttributes(android.media.AudioAttributes) th…
17961 …method public android.media.SoundPool.Builder setMaxStreams(int) throws java.lang.IllegalArgumentE…
17964 public static abstract interface SoundPool.OnLoadCompleteListener {
17965 method public abstract void onLoadComplete(android.media.SoundPool, int, int);