HomeSort by relevance Sort by last modified time
    Searched defs:mSoundPool (Results 1 - 6 of 6) sorted by null

  /frameworks/base/media/tests/SoundPoolTest/src/com/android/
SoundPoolTest.java 70 private SoundPool mSoundPool = null;
84 synchronized(mSoundPool) {
90 mSoundPool.notify();
97 int id = mSoundPool.load(getApplicationContext(), resId, priority);
106 if (mSoundPool != null) {
108 mSoundPool.release();
109 mSoundPool = null;
115 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0);
116 mSoundPool.setOnLoadCompleteListener(new LoadCompleteCallback());
121 synchronized(mSoundPool) {
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
SoundPoolTest.java 56 private SoundPool mSoundPool;
70 if (mSoundPool != null) {
71 mSoundPool.release();
72 mSoundPool = null;
112 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality);
113 int sampleId1 = mSoundPool.load(mContext, SOUND_A, PRIORITY);
116 mSoundPool.unload(sampleId1);
120 sampleId2 = mSoundPool.load(afd, PRIORITY);
122 mSoundPool.unload(sampleId2);
128 sampleId3 = mSoundPool.load(fd, offset, length, PRIORITY)
    [all...]
  /frameworks/base/media/jni/soundpool/
SoundPoolThread.h 62 SoundPool* mSoundPool;
SoundPool.h 148 SoundPool* mSoundPool;
  /frameworks/base/media/java/android/media/
SoundPool.java 436 private SoundPool mSoundPool;
440 mSoundPool = soundPool;
450 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
AudioService.java 124 private SoundPool mSoundPool;
789 if (mSoundPool != null) {
792 mSoundPool = new SoundPool(NUM_SOUNDPOOL_CHANNELS, AudioSystem.STREAM_SYSTEM, 0);
793 if (mSoundPool == null) {
    [all...]

Completed in 251 milliseconds