/frameworks/base/media/jni/soundpool/ |
android_media_SoundPool.cpp | 20 #define LOG_TAG "SoundPool-JNI" 26 #include "SoundPool.h" 36 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { 37 return (SoundPool*)env->GetIntField(thiz, fields.mNativeContext); 45 SoundPool *ap = MusterSoundPool(env, thiz); 61 SoundPool *ap = MusterSoundPool(env, thiz); 70 SoundPool *ap = MusterSoundPool(env, thiz); 81 SoundPool *ap = MusterSoundPool(env, thiz); 90 SoundPool *ap = MusterSoundPool(env, thiz); 99 SoundPool *ap = MusterSoundPool(env, thiz) [all...] |
SoundPoolThread.h | 24 #include "SoundPool.h" 39 * This class handles background requests from the SoundPool 43 SoundPoolThread(SoundPool* SoundPool); 60 SoundPool* mSoundPool;
|
Android.mk | 6 SoundPool.cpp \
|
SoundPool.cpp | 18 #define LOG_TAG "SoundPool" 31 #include "SoundPool.h" 42 SoundPool::SoundPool(int maxChannels, int streamType, int srcQuality) 44 LOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d", 78 SoundPool::~SoundPool() 80 LOGV("SoundPool destructor"); 97 void SoundPool::addToRestartList(SoundChannel* channel) 106 void SoundPool::addToStopList(SoundChannel* channel [all...] |
SoundPool.h | 33 class SoundPool; 47 typedef void SoundPoolCallback(SoundPoolEvent event, SoundPool* soundPool, void* user); 122 void init(SoundPool* soundPool); 148 SoundPool* mSoundPool; 161 class SoundPool { 165 SoundPool(int maxChannels, int streamType, int srcQuality); 166 ~SoundPool(); 195 SoundPool() {} // no default constructo [all...] |
SoundPoolThread.cpp | 61 SoundPoolThread::SoundPoolThread(SoundPool* soundPool) : 62 mSoundPool(soundPool)
|
/frameworks/base/media/java/android/media/ |
SoundPool.java | 34 * The SoundPool class manages and plays audio resources for applications. 36 * <p>A SoundPool is a collection of samples that can be loaded into memory 38 * SoundPool library uses the MediaPlayer service to decode the audio 43 * <p>In addition to low-latency playback, SoundPool can also manage the number 44 * of audio streams being rendered at once. When the SoundPool object is 46 * that can be played at a time from this single SoundPool. SoundPool tracks 48 * SoundPool will automatically stop a previously playing stream based first 69 * the SoundPool was created. In this case, the stream allocator will stop 78 * by that level. In this case, the game logic should create a new SoundPool [all...] |
AudioService.java | 147 private SoundPool mSoundPool; 164 * uses soundpool (second column) */ 308 // listener for SoundPool sample load completion indication 310 // thread for SoundPool listener 312 // message looper for SoundPool listener [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
P2pEventManager.java | 23 import android.media.SoundPool; 43 final SoundPool mSoundPool; // playback synchronized on this 56 mSoundPool = new SoundPool(1, AudioManager.STREAM_NOTIFICATION, 0);
|
NfcService.java | 40 import android.media.SoundPool; 185 SoundPool mSoundPool; // playback synchronized on this 289 mSoundPool = new SoundPool(1, AudioManager.STREAM_NOTIFICATION, 0); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 30 import android.media.SoundPool; 38 @TestTargetClass(SoundPool.class) 56 private SoundPool mSoundPool; 112 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality); 202 method = "SoundPool", 213 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality); 267 method = "SoundPool", 278 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality); 314 method = "SoundPool", 319 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, 0) [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 29 import android.media.SoundPool; 30 import android.media.SoundPool.OnLoadCompleteListener; 69 private SoundPool mSoundPool = null; 77 super("SoundPool.TestThread"); 81 android.media.SoundPool.OnLoadCompleteListener { 82 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { 114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewMediator.java | 34 import android.media.SoundPool; 262 private SoundPool mLockSounds; 314 mLockSounds = new SoundPool(1, AudioManager.STREAM_SYSTEM, 0); [all...] |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |