Searched refs:mSoundPool (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | SoundPoolTest.java | 44 private SoundPool mSoundPool; field in SoundPoolTest 84 if (mSoundPool != null) { in tearDown() 85 mSoundPool.release(); in tearDown() 86 mSoundPool = null; in tearDown() 93 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality); in testLoad() 94 int sampleId1 = mSoundPool.load(mContext, getSoundA(), PRIORITY); in testLoad() 97 mSoundPool.unload(sampleId1); in testLoad() 101 sampleId2 = mSoundPool.load(afd, PRIORITY); in testLoad() 103 mSoundPool.unload(sampleId2); in testLoad() 109 sampleId3 = mSoundPool.load(fd, offset, length, PRIORITY); in testLoad() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 63 private SoundPool mSoundPool; field in RVCVRecordActivity 230 mSoundPool = new SoundPool(MAX_STREAM, AudioManager.STREAM_MUSIC, 0); in initSoundPool() 234 mSoundPoolLookup[i++] = mSoundPool.load(this, R.raw.next_axis, 1); in initSoundPool() 235 mSoundPoolLookup[i++] = mSoundPool.load(this, R.raw.next_axis, 1); in initSoundPool() 236 mSoundPoolLookup[i++] = mSoundPool.load(this, R.raw.next_axis, 1); in initSoundPool() 240 mSoundPool.release(); in endSoundPool() 248 mSoundPool.play(mSoundPoolLookup[id], 1, 1, 0, 0, 1); in playNotifySound()
|