shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaMetadataRetriever.java
public static void addFrame(FileDescriptor fd, long offset, long length,
                              long time, Bitmap bitmap) {
    addFrame(toDataSource(fd, offset, length), time, bitmap);
  }
public static void addFrame(FileDescriptor fd, long offset, long length,
                              long time, Bitmap bitmap) {
    addFrame(toDataSource(fd, offset, length), time, bitmap);
  }
public static void addFrame ( FileDescriptor fd , long offset , long length , long time , Bitmap bitmap ) { addFrame ( toDataSource ( fd , offset , length ) , time , bitmap ) ; }
Adds the given bitmap at the given time for the given data source.
Uses <tt>path</tt> to call {@link org.robolectric.shadows.util.DataSource#toDataSource(FileDescriptor, long, long)} and
then calls {@link #addFrame(DataSource, long, Bitmap)}. This
method is retained mostly for backwards compatibility;
you can call {@link #addFrame(DataSource, long, Bitmap)} directly.

@param fd file descriptor of the data source.
@param offset the byte offset within the specified file from which to start reading the data.
@param length the number of bytes to read from the file.
@param time the playback time at which the specified bitmap
should be retrieved.
@param bitmap the bitmap to retrieve.
Adds the given bitmap at the given time for the given data source . Uses <tt > path< / tt > to call { @link org . robolectric . shadows . util . DataSource#toDataSource ( FileDescriptor long long ) } and then calls { @link #addFrame ( DataSource long Bitmap ) } . This method is retained mostly for backwards compatibility ; you can call { @link #addFrame ( DataSource long Bitmap ) } directly .