Home | History | Annotate | Download | only in cts

Lines Matching refs:soundPool

23 import android.media.SoundPool;
45 private SoundPool mSp;
299 // query how many active players before starting the SoundPool
313 mSp = new SoundPool.Builder()
318 final SoundPool zepool = mSp;
320 mSp.setOnLoadCompleteListener(new SoundPool.OnLoadCompleteListener() {
322 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) {
323 assertEquals("Receiving load completion for wrong SoundPool", zepool, mSp);
336 // FIXME SoundPool activity is not reported yet, but exercise creation/release with
338 assertTrue("Error playing sound through SoundPool", res > 0);
351 assertEquals("Number of active players changed after pausing SoundPool",