shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java
public List<Playback> getResourcePlaybacks(int resId) {
    ImmutableList.Builder<Playback> playbacks = ImmutableList.builder();
    for (Playback playback : playedSounds) {
      if (idIsForResource(playback.soundId, resId)) {
        playbacks.add(playback);
      }
    }
    return playbacks.build();
  }
public List<Playback> getResourcePlaybacks(int resId) {
    ImmutableList.Builder<Playback> playbacks = ImmutableList.builder();
    for (Playback playback : playedSounds) {
      if (idIsForResource(playback.soundId, resId)) {
        playbacks.add(playback);
      }
    }
    return playbacks.build();
  }
public List < Playback > getResourcePlaybacks ( int resId ) { ImmutableList . Builder < Playback > playbacks = ImmutableList . builder ( ) ; for ( Playback playback : playedSounds ) { if ( idIsForResource ( playback . soundId , resId ) ) { playbacks . add ( playback ) ; } } return playbacks . build ( ) ; }
Return a list of calls to {@code play} made for the given resource.
Return a list of calls to {