Searched refs:mSoundPool (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 69 private SoundPool mSoundPool = null; field in SoundPoolTest.TestThread 83 synchronized(mSoundPool) { in onLoadComplete() 89 mSoundPool.notify(); in onLoadComplete() 96 int id = mSoundPool.load(getApplicationContext(), resId, priority); in loadSound() 105 if (mSoundPool != null) { in initSoundPool() 107 mSoundPool.release(); in initSoundPool() 108 mSoundPool = null; in initSoundPool() 114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0); in initSoundPool() 115 mSoundPool.setOnLoadCompleteListener(new LoadCompleteCallback()); in initSoundPool() 120 synchronized(mSoundPool) { in initSoundPool() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaActionSound.java | 47 private SoundPool mSoundPool; field in MediaActionSound 124 mSoundPool = new SoundPool.Builder() in MediaActionSound() 132 mSoundPool.setOnLoadCompleteListener(mLoadCompleteListener); in MediaActionSound() 142 int id = mSoundPool.load(soundDir + soundFileName, 1); in loadSound() 233 mSoundPool.play(sound.id, 1.0f, 1.0f, 0, 0, 1.0f); in play() 287 if (mSoundPool != null) { in release() 294 mSoundPool.release(); in release() 295 mSoundPool = null; in release()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPoolThread.cpp | 62 mSoundPool(soundPool) in SoundPoolThread() 106 sp <Sample> sample = mSoundPool->findSample(sampleID); in doLoadSample() 111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status)); in doLoadSample()
|
D | SoundPoolThread.h | 60 SoundPool* mSoundPool; variable
|
D | SoundPool.cpp | 718 mSoundPool = soundPool; in init() 750 AudioSystem::attributesToStreamType(*mSoundPool->attributes()); in play() 804 NULL /*offloadInfo*/, -1 /*uid*/, -1 /*pid*/, mSoundPool->attributes()); in play() 810 NULL /*offloadInfo*/, -1 /*uid*/, -1 /*pid*/, mSoundPool->attributes()); in play() 954 mSoundPool->addToStopList(this); in process() 991 mSoundPool->done_l(this); in stop_l() 1005 mSoundPool->done_l(this); in stop()
|
D | SoundPool.h | 149 SoundPool* mSoundPool; variable
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 296 private SoundPool mSoundPool; field in AudioService 3546 if (mSoundPool != null) { in run() 3548 mSoundPool.setOnLoadCompleteListener(mSoundPoolCallBack); in run() 5128 if (mSoundPool != null) { in onLoadSoundEffects() 5134 mSoundPool = new SoundPool.Builder() in onLoadSoundEffects() 5161 mSoundPool.release(); in onLoadSoundEffects() 5162 mSoundPool = null; in onLoadSoundEffects() 5189 int sampleId = mSoundPool.load(filePath, 0); in onLoadSoundEffects() 5234 mSoundPool.release(); in onLoadSoundEffects() 5235 mSoundPool = null; in onLoadSoundEffects() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 39478 Landroid/media/MediaActionSound;->mSoundPool:Landroid/media/SoundPool;
|