FuseMountManager

public class FuseMountManager
extends Object

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


摘要

公共构造函数

FuseMountManager(IFuseDriverProfile driverProfile)

使用给定的驱动程序配置文件创建新的 FuseMountManager。

FuseMountManager(IFuseDriverProfile driverProfile, IRunUtil runUtil)

使用给定的驱动程序配置文件和运行实用程序创建新的 FuseMountManager。

公共方法

void mount(Path sourceDataPath, Path mountPoint)

在指定装载点装载指定源数据路径。

void unmount(Path mountPoint)

卸载给定的装载点。

void unmountAll()

卸载所有跟踪的文件系统。

公共构造函数

FuseMountManager

public FuseMountManager (IFuseDriverProfile driverProfile)

使用给定的驱动程序配置文件创建新的 FuseMountManager。

参数
driverProfile IFuseDriverProfile:要使用的驱动程序配置文件。

FuseMountManager

public FuseMountManager (IFuseDriverProfile driverProfile, 
                IRunUtil runUtil)

使用给定的驱动程序配置文件和运行实用程序创建新的 FuseMountManager。

参数
driverProfile IFuseDriverProfile:要使用的驱动程序配置文件。

runUtil IRunUtil:要使用的运行实用程序。

公共方法

安装

public void mount (Path sourceDataPath, 
                Path mountPoint)

在指定装载点装载指定源数据路径。

参数
sourceDataPath Path:要装载的源数据路径。

mountPoint Path:用于装载源数据路径的装载点。

抛出
如果挂载进程无法启动。

卸载

public void unmount (Path mountPoint)

卸载给定的装载点。

参数
mountPoint Path:要卸载的装载点。

unmountAll

public void unmountAll ()

卸载所有跟踪的文件系统。