Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp87 SoundPool::SoundPool( in SoundPool() function in android::SoundPool
96 SoundPool::~SoundPool() in ~SoundPool()
109 bool SoundPool::unload(int32_t soundID) in unload()
143 void SoundPool::autoPause() in autoPause()
150 void SoundPool::autoResume() in autoResume()
157 void SoundPool::mute(bool muting) in mute()
164 void SoundPool::pause(int32_t streamID) in pause()
173 void SoundPool::resume(int32_t streamID) in resume()
182 void SoundPool::stop(int32_t streamID) in stop()
222 void SoundPool::setRate(int32_t streamID, float rate) in setRate()
[all …]
H A Dandroid_media_SoundPool.cpp56 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_load_FD()
65 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_unload()
76 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_play()
85 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_pause()
94 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_resume()
103 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_autoPause()
112 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_autoResume()
121 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_stop()
131 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_setVolume()
140 SoundPool *ap = MusterSoundPool(env, thiz); in android_media_SoundPool_mute()
[all …]
H A DSoundManager.h28 class SoundPool; variable
42 typedef void SoundPoolCallback(SoundPoolEvent event, SoundPool* soundPool, void* user);
57 void setCallback(SoundPool* soundPool, SoundPoolCallback* callback, void* user);
73 void setCallback(SoundPool *soundPool, SoundPoolCallback* callback, void* userData) in setCallback()
97 SoundPool* mSoundPool = nullptr; // GUARDED_BY(mCallbackLock)
H A DSoundPool.h32 class SoundPool {
34 SoundPool(int32_t maxStreams, const audio_attributes_t* attributes,
36 ~SoundPool();
H A DSoundManager.cpp89 void SoundManager::setCallback(SoundPool *soundPool, SoundPoolCallback* callback, void* user) in setCallback()
H A DAndroid.bp118 "SoundPool.cpp",
/aosp12/frameworks/base/media/java/android/media/
H A DSoundPool.java115 public class SoundPool extends PlayerBase { class
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), in SoundPool()
489 public void onLoadComplete(SoundPool soundPool, int sampleId, int status); in onLoadComplete()
526 SoundPool soundPool = ((WeakReference<SoundPool>) ref).get(); in postEventFromNative()
556 mOnLoadCompleteListener.onLoadComplete(SoundPool.this, msg.arg1, msg.arg2); in handleMessage()
607 public SoundPool build() { in build()
612 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
H A 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,
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DSystemSoundsPlayer.java23 import android.media.SoundPool;
74 private SoundPool mSoundPool;
118 mSoundPool = new SoundPool.Builder() in prepareSoundPool()
171 SoundPool soundPool = (SoundPool) msg.obj; in handleMessage()
194 SoundPool.OnLoadCompleteListener {
197 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete()
/aosp12/frameworks/base/media/jni/soundpool/tests/
H A Dsoundpool_stress.cpp73 void setSoundPool(SoundPool* soundPool) { in setSoundPool()
78 void callback(SoundPoolEvent event, const SoundPool *soundPool) { in callback()
106 SoundPool *mSoundPool = nullptr;
111 void StaticCallbackManager(SoundPoolEvent event, SoundPool* soundPool, void* user) { in StaticCallbackManager()
115 void testStreams(SoundPool *soundPool, const std::vector<const char *> &filenames, in testStreams()
277 auto soundPool = std::make_unique<SoundPool>(maxStreams, &aa); in main()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DSoundPlayer.java22 import android.media.SoundPool;
33 private final SoundPool mSoundPool;
43 mSoundPool = new SoundPool.Builder() in SoundPlayer()
/aosp12/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DSoundEffectsHelper.java28 import android.media.SoundPool;
108 private SoundPool mSoundPool;
183 mSoundPool = new SoundPool.Builder() in onLoadSoundEffects()
493 android.media.SoundPool.OnLoadCompleteListener {
514 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete()
/aosp12/frameworks/base/config/
H A Dpreloaded-classes-extra8 android.media.SoundPool
/aosp12/system/sepolicy/prebuilts/api/26.0/private/
H A Dnfc.te15 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/30.0/private/
H A Dnfc.te15 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/27.0/private/
H A Dnfc.te15 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/28.0/private/
H A Dnfc.te15 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/29.0/private/
H A Dnfc.te15 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dnfc.te17 # SoundPool loading and playback
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dnfc.te17 # SoundPool loading and playback
/aosp12/system/sepolicy/private/
H A Dnfc.te17 # SoundPool loading and playback
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java52 import android.media.SoundPool;
372 private SoundPool mLockSounds;
930 mLockSounds = new SoundPool.Builder() in setupLocked()
/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java40 import android.media.SoundPool;
316 SoundPool mSoundPool; // playback synchronized on this
632 mSoundPool = new SoundPool.Builder() in initSoundPool()
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes4688 android.media.SoundPool$Builder
4689 android.media.SoundPool$EventHandler
4690 android.media.SoundPool$OnLoadCompleteListener
4691 android.media.SoundPool

12