code: public void invokeInfoListener(int what, int extra) {
      if (infoListener != null) {
        infoListener.onInfo(player, what, extra);
      }
    }
docs: Allows test cases to directly simulate invocation of the OnInfo event.
  
  @param what
  parameter to pass in to {@code what} in
  {@link MediaPlayer.OnInfoListener#onInfo(MediaPlayer, int, int)}.
  @param extra
  parameter to pass in to {@code extra} in
  {@link MediaPlayer.OnInfoListener#onInfo(MediaPlayer, int, int)}.