Home
last modified time | relevance | path

Searched refs:SoundPool (Results 1 – 15 of 15) 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
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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile4181 …/android/server/audio/AudioService$SoundPoolCallback;->onLoadComplete(Landroid/media/SoundPool;II)V