shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java
@Implementation(maxSdk = LOLLIPOP_MR1)
  protected int play(
      int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) {
    playedSounds.add(new Playback(soundID, leftVolume, rightVolume, priority, loop, rate));
    return 1;
  }
@Implementation(maxSdk = LOLLIPOP_MR1)
  protected int play(
      int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) {
    playedSounds.add(new Playback(soundID, leftVolume, rightVolume, priority, loop, rate));
    return 1;
  }
@ Implementation ( maxSdk = LOLLIPOP_MR1 ) protected int play ( int soundID , float leftVolume , float rightVolume , int priority , int loop , float rate ) { playedSounds . add ( new Playback ( soundID , leftVolume , rightVolume , priority , loop , rate ) ) ; return 1 ; }
native method.
native method .