FuseMountManager

public class FuseMountManager
extends Object

java.lang.Object
   ↳ com.android.tradefed.build.FuseMountManager


Summary

Public constructors

FuseMountManager(IFuseDriverProfile driverProfile)

Creates a new FuseMountManager with the given driver profile.

FuseMountManager(IFuseDriverProfile driverProfile, IRunUtil runUtil)

Creates a new FuseMountManager with the given driver profile and run util.

Public methods

void mount(Path sourceDataPath, Path mountPoint)

Mounts the given source data path at the given mount point.

void unmount(Path mountPoint)

Unmounts the given mount point.

void unmountAll()

Unmounts all tracked filesystems.

Public constructors

FuseMountManager

public FuseMountManager (IFuseDriverProfile driverProfile)

Creates a new FuseMountManager with the given driver profile.

Parameters
driverProfile IFuseDriverProfile: The driver profile to use.

FuseMountManager

public FuseMountManager (IFuseDriverProfile driverProfile, 
                IRunUtil runUtil)

Creates a new FuseMountManager with the given driver profile and run util.

Parameters
driverProfile IFuseDriverProfile: The driver profile to use.

runUtil IRunUtil: The run util to use.

Public methods

mount

public void mount (Path sourceDataPath, 
                Path mountPoint)

Mounts the given source data path at the given mount point.

Parameters
sourceDataPath Path: The source data path to mount.

mountPoint Path: The mount point to mount the source data path at.

Throws
If the mount process fails to start.

unmount

public void unmount (Path mountPoint)

Unmounts the given mount point.

Parameters
mountPoint Path: The mount point to unmount.

unmountAll

public void unmountAll ()

Unmounts all tracked filesystems.